Explore topic-wise MCQs in Testing Subject.

This section includes 657 Mcqs, each offering curated multiple-choice questions to sharpen your Testing Subject knowledge and support exam preparation. Choose a topic below to get started.

1.

Which one of the following has open land border with India?

A. Nepal
B. Pakistan
C. Sri Lanka
D. Bangladesh
Answer» B. Pakistan
2.

Who is the author of the book 'Prepare or Perish'?

A. Gen. K.V. Krishna Rao
B. Air Comdr. Jasjit Singh
C. Gen. V.P. Malik
D. Gen.Shankar Raichaudhry
Answer» B. Air Comdr. Jasjit Singh
3.

In the 21st century security discourse, which one of the following is not considered as existential threats?

A. Nuclear weapons
B. International terrorism
C. Climate change
D. Riots
Answer» E.
4.

Who among the following is the author of 'Armament and History'?

A. Liddell Hart
B. Hitler
C. J.F.C. Fuller
D. Jomini
Answer» D. Jomini
5.

National Investigating Agency (NIA) has been set up with the aim of

A. Launching counter-insurgency
B. Court cases against communal forces
C. Prevention of Natural Disasters
D. Investigating Terrorist Acts
Answer» E.
6.

Which one of the following is not part of the Human Security discourse?

A. Freedom from fear
B. Freedom from want
C. Resource scarcity
D. Defence expenditure
Answer» E.
7.

Which one group of the following three states of the erstwhile Soviet Union had given up claims on nuclear weapons after the disintegration of the Soviet Union?

A. Estonia, Latvia, Lithuania
B. Belarus, Ukraine, Moldova
C. Latvia, Belarus, Kazakhstan
D. Belarus, Kazakhstan, Ukraine
Answer» E.
8.

Who expressed the view that 'I see God in the smiles of poor'?

A. Martin Luther King
B. M.K. Gandhi
C. Amartya Sen
D. Nelson Mandela
Answer» C. Amartya Sen
9.

Who expressed the view that 'there is another kind of violence in its way as destructive as the bullet or the bomb. This is the violence of institutions'?

A. Robert F. Kennedy
B. J. L. Nehru
C. M. K. Gandhi
D. Indira Gandhi
Answer» B. J. L. Nehru
10.

Who is the author of 'People, States and Fear'?

A. Raymond Aron
B. Barry Buzan
C. Arnold Wolfers
D. H. Morgenthau
Answer» C. Arnold Wolfers
11.

Canberra Commission is related to

A. Elimination of nuclear weapons.
B. Mutual and Balanced Force Reduction in Europe.
C. Climate change.
D. Security and Cooperation in Europe.
Answer» B. Mutual and Balanced Force Reduction in Europe.
12.

Who among the following proposed the idea of 'Atom for Peace'?

A. Clinton
B. Obama
C. Eisenhower
D. George W. Bush
Answer» D. George W. Bush
13.

On a disk with 1000 cylinders (0 to 999) find the number of tracks, the disk arm must move to satisfy all the requests in the disk queue. Assume the last request service was at track 345 and the head is moving toward track 0. The queue in FIFO order contains requests for the following tracks: 123, 874, 692, 475, 105, 376(Assume SCAN algorithm)

A. 2013
B. 1219
C. 1967
D. 1507
Answer» C. 1967
14.

In which file the compiler manage the various objects, which are used in windows programming?

A. Control File
B. Binary File
C. Text File
D. Obj File
Answer» D. Obj File
15.

What is the meaning of 'Hibernate' in Windows XP/Windows 7?

A. Restart the computers in safe mode.
B. Restart the computers in normal mode.
C. Shutdown the computer terminating all the running applications.
D. Shutdown the computer without closing the running applications.
Answer» E.
16.

HTML is defined using SGML - an _______ standard, information processing-text and office systems (SGML) for text information processing.

A. ISO - 8878
B. ISO - 8879
C. ISO - 8880
D. ISO - 8881
Answer» C. ISO - 8880
17.

Let a * H and b * H be two cosets of H.(i) Either a * H and b * H are disjoint(ii) a * H and b * H are identicalThen,

A. only (i) is true
B. only (ii) is true
C. (i) or (ii) is true
D. (i) and (ii) is false
Answer» D. (i) and (ii) is false
18.

Consider the methods used by processes P1 and P2 for accessing their critical sections. The initial values of shared Boolean variables S1 and S2 are randomly assigned,P1 While (S1 = = S2); Critical section S1 = S2;P2while (S1 = = S2);critical sectionS1 = S2;Which one of the following statements describes the properties achieved?

A. Mutual exclusion but not progress
B. Progress but not mutual exclusion
C. Neither mutual exclusion nor progress
D. Both mutual exclusion and progress
Answer» B. Progress but not mutual exclusion
19.

Assume that we have constructor functions for both base class and derived class. Now consider the declaration in main ( ). Base * P = New Derived; in what sequence will the constructor be called?

A. Derived class constructor followed by Base class constructor.
B. Base class constructor followed by derived class constructor.
C. Base class constructor will not be called.
D. Derived class constructor will not be called.
Answer» C. Base class constructor will not be called.
20.

Identify the devices given below with their IC numbers:(i) USART (ii) Micro controller (iii) Interrupt controller (iv) DMA controller (a) 8251(b) 8051(c) 8259(d) 8257 (i) (ii) (iii) (iv)

A. (a)(b)(c)(d)
B. (b)(a)(d)(c)
C. (c)(d)(a)(b)
D. (d)(a)(b)(c)
Answer» B. (b)(a)(d)(c)
21.

A user level process in Unix traps the signal sent on a Ctrl + C input and has a signal handling routine that saves appropriate files before terminating the process. When a Ctrl + C input is given to this process, what is the mode in which the signal handling routine executes?

A. User mode
B. Kernel mode
C. Superuser mode
D. Privileged mode
Answer» C. Superuser mode
22.

Match the following with link quality measurement and handoff initiation:(a) Networked- Controlled Handoff (NCHO) (b) Mobile- Assisted Handoff (MAHO) (c) Forward Handoff (d) Hard Handoff (i) MS connect to BS(ii) Process via channel the target BS(iii) First Generation Analog Cellular System(iv) Second Generation Digital Cellular System (a) (b) (c) (d)

A. (iii)(iv)(ii)(i)
B. (ii)(iii)(i)(iv)
C. (ii)(i)(iv)(iii)
D. (iv)(iii)(i)(ii)
Answer» B. (ii)(iii)(i)(iv)
23.

If a and b are the end points of a line, then which one of the following is true?

A. If both end points are left, right, above or below the window, the line is invisible.
B. If both end points are left, right, above or below the window, the line is completely visible.
C. If both end points are left, right, above or below the window, the line is trivially visible.
D. If both end points are left, right, above or below the window, the line is trivially invisible.
Answer» E.
24.

The optimal solution of the following assignment problem using Hungarian method isI II III IVA 8 26 17 11B 13 28 4 26C 38 19 18 15D 19 26 24 10

A. (I) (II) (III) (IV)
B. (I) (III) (II) (IV)
C. (I) (III) (IV) (II)
D. (I) (IV) (II) (III)
Answer» C. (I) (III) (IV) (II)
25.

A CPU generally handles an interrupt by executing an interrupt service routine

A. As soon as an interrupt is raised
B. By checking the interrupt register at the end of fetch cycle
C. By checking the interrupt register after finishing the executing the current instruction
D. By checking the interrupt register at fixed time intervals
Answer» D. By checking the interrupt register at fixed time intervals
26.

______ is sometimes said to be object oriented, because the only way to manipulate kernel objects is by invoking methods on their handles.

A. Windows NT
B. Windows XP
C. Windows VISTA
D. Windows 95/98
Answer» B. Windows XP
27.

What is the size (in terms of bits) of Header length field in IPV4 header?

A. 2
B. 4
C. 8
D. 16
Answer» C. 8
28.

The colour of an object is largely determined by its diffuse reflection coefficient. If Kd = (0.8, 0.4, 0), then what shall be the colour of the object, if the light used is blue and magenta?

A. White and Red
B. Red and Blue
C. Black and White
D. Black and Red
Answer» E.
29.

Match the following with respect to java.util.* class methods:(a) Bit Set (i) Time zone getTimezone( )(b) Calendar (ii) int hashcode( )(c) Time zone (iii) int nextInt( )(d) Random (iv) Void setID(String tzName) (a) (b) (c) (d)

A. (ii)(i)(iv)(iii)
B. (iii)(iv)(i)(ii)
C. (iv)(iii)(ii)(i)
D. (ii)(i)(iii)(iv)
Answer» B. (iii)(iv)(i)(ii)
30.

Match the following:(i) Regular Grammar (ii) Context free Grammar (iii) Unrestricted Grammar (iv) Context Sensitive Grammar (a) Pushdown automaton(b) Linear bounded automaton(c) Deterministic finite automaton(d) Turing machine (i) (ii) (iii) (iv)

A. (c)(a)(b)(d)
B. (c)(a)(d)(b)
C. (c)(b)(a)(d)
D. (c)(b)(d)(a)
Answer» C. (c)(b)(a)(d)
31.

The strategy used to reduce the number of tree branches and the number of static evaluations applied in case of a game tree is

A. Minmax strategy
B. Alpha-beta pruning strategy
C. Constraint satisfaction strategy
D. Static max strategy
Answer» C. Constraint satisfaction strategy
32.

If an instruction takes 'i' microseconds and a page fault takes an additional 'j' microseconds. The effective instruction time, if on the average a page fault occurs every k instructions, is

A. i + j/k
B. i + j * k
C. (i + j)/k
D. (i + j) * k
Answer» B. i + j * k
33.

A computer system supports 32 bit virtual address as well as 32 bit physical addresses. Since the virtual address space is of same size as that of physical address space, if we want to get rid of virtual memory, which one of the following is true?

A. Efficient implementation of multiuser support is no longer possible.
B. The processor cache can be made more efficient.
C. Hardware support for memory management is not needed.
D. CPU scheduling can be made more efficient.
Answer» D. CPU scheduling can be made more efficient.
34.

Consider the following pseudo-code:If (A u003e B) and (C u003e D) thenA = A + 1B = B + 1Endif the cyclomatic complexity of the pseudo-code is

A. 2
B. 3
C. 4
D. 5
Answer» C. 4
35.

The following CFGS -u003e aB | bA, A -u003e a | as | bAA,B -u003e b | bs | aBBGenerates strings of terminals that have

A. Odd number of a's and odd number of b's
B. Even number of a's and even number of b's
C. Equal number of a's and b's
D. Not equal number of a's and b's
Answer» D. Not equal number of a's and b's
36.

The following postfix expression is evaluated using a stack 823^/23* + 51* -The top two elements of the stack after first * is evaluated

A. 6, 1
B. 5, 7
C. 3, 2
D. 1, 5
Answer» B. 5, 7
37.

The feasible region represented by the constraintsx1 - x2 u003c 1, x1 + x2 u003e 3, x1 u003e 0, x2 u003e 0 of the objective function Max Z = 3x1 + 2x2 is

A. A polygon
B. Unbounded feasible region
C. A point
D. None of these
Answer» C. A point
38.

Which diagram provides a formal graphic notation for modelling objects, classes and their relationships to one another?

A. Object diagram
B. Class diagram
C. Instance diagram
D. Analysis diagram
Answer» B. Class diagram
39.

Are we building the right product? This statement refers to

A. Verification
B. Validation
C. Testing
D. Software quality assurance
Answer» C. Testing
40.

Consider the regular expression (a + b) (a + b) … (a + b) (n-times). The minimum number of states in finite automaton that recognizes the language represented by this regular expression contains

A. n states
B. n + 1 states
C. n + 2 states
D. 2n states
Answer» C. n + 2 states
41.

Number of binary trees formed with 5 nodes is

A. 32
B. 36
C. 120
D. 42
Answer» E.
42.

Consider a weighted undirected graph with positive edge weights and let (u, v) be an edge in the graph. It is known that the shortest path from source vertex s to u has weight 53 and shortest path from s to v has weight 65. Which statement is always true?

A. Weight (u, v) u003c 12
B. Weight (u, v) = 12
C. Weight (u, v) u003e 12
D. Weight (u, v) u003e 12
Answer» E.
43.

The upper bound of computing time of m coloring decision problem is

A. O(nm)
B. O(nm)
C. O(nmn)
D. O(nmmn)
Answer» D. O(nmmn)
44.

Identify the addressing modes of below instructions and match them:(a) ADI (1) Immediate addressing(b) STA (2) Direct addressing(c) CMA (3) Implied addressing(d) SUB (4) Register addressing

A. a - 1, b - 2, c - 3, d - 4
B. a - 2, b - 1, c - 4, d - 3
C. a - 3, b - 2, c - 1, d - 4
D. a - 4, b - 3, c - 2, d - 1
Answer» B. a - 2, b - 1, c - 4, d - 3
45.

The mechanism that binds code and data together and keeps them secure from outside world is known as

A. Abstraction
B. Inheritance
C. Encapsulation
D. Polymorphism
Answer» D. Polymorphism
46.

Which is not the correct statement(s)?(i) Every context sensitive language is recursive.(ii) There is a recursive language that is not context sensitive.

A. (i) is true, (ii) is false.
B. (i) is true and (ii) is true.
C. (i) is false, (ii) is false.
D. (i) is false and (ii) is true.
Answer» C. (i) is false, (ii) is false.
47.

Which of the following IP address class is a multicast address?

A. Class A
B. Class B
C. Class C
D. Class D
Answer» E.
48.

Which one of the following is not a Greibach Normal form grammar?(i) S -u003e a | bA | aA | bBA -u003e aB -u003e b(ii) S -u003e a | aA | ABA -u003e aB -u003e b(iii) S -u003e a | A | aAA -u003e a

A. (i) and (ii)
B. (i) and (iii)
C. (ii) and (iii)
D. (i), (ii) and (iii)
Answer» D. (i), (ii) and (iii)
49.

The transform which possesses the highest 'energy compaction' property is

A. Slant transform
B. Cosine transforms
C. Fourier transforms
D. Karhunen-Loeve transforms
Answer» E.
50.

A* algorithm uses f ' = g + h' to estimate the cost of getting from the initial state to the goal state, where g is a measure of the cost of getting from initial state to the current node and the function h' is an estimate of the cost of getting from the current node to the goal state. To find a path involving the fewest number of steps, we should set

A. g = 1
B. g = 0
C. h' = 0
D. h' = 1
Answer» B. g = 0