Professional Documents
Culture Documents
A. TRUE
B. FALSE
ANSWER:A
The minimum number of digits for the result of multiplying a 5 digit number with
an 8 digit number will be _______.
A. 9
B. 12
C. 13
D. 14
ANSWER:B
A system with 24 bits per pixel and a screen resolution of 1024 by 1024 requires
_______ of storage for the frame buffer.
A. 8MB
B. 3MB
C. 4MB
D. 6MB
ANSWER: B
The number of tokens in the following C statement -- printf("A = %d, &A = %x",
a, &a); is
A. 3
B. 26
C. 10
D. 21
ANSWER: C
argv is
A. pointer to an array of character pointers
B. array of strings
C. array of character pointers
D. pointer to an array of charaters
ANSWER: C
The ___________ operation, allows us to find tuples that are in one relation but are
not in another.
A. Union
B. Set Difference
C. Difference
D. Intersection
ANSWER:B
How many maxterms are present in the following boolean function? F(A,B,C,D) =
1
A. 0
B. 1
C. 16
D. None of these
ANSWER: A
Out of all the 2-digit integers between 1 and 100, a 2-digit number has to be
selected at random. What is the probability that the selected number is not
divisible by 7?
A. 13/90
B. 12/90
C. 78/90
D. 77/90
ANSWER: D
A speaks truth in 75% of cases and B in 80% of cases. In what percent of cases
are they likely to contradict each other in narrating the same event?
A. 35%
B. 5%
C. 45%
D. 22.5%
ANSWER: A
When four fair dice are rolled simultaneously, in how many outcomes will at least
one of the dice show 3?
A. 155
B. 620
C. 671
D. 625
ANSWER: C
Find the total number of distinct vehicle numbers that can be formed using two
letters followed by two numbers. Letters need to be distinct.
A. 65000
B. 70000
C. 30000
D. 10000
ANSWER: A
A. 2^ [n(n+1)/2]
B. 2^ [n(n-1)/2]
C. 2^n
ANSWER: A
For any connected planner graph, which of the following is true? Herev,e and r
are the number of vertices, edges and regions of the graph.
A. v-e+r=2
B. v-e+r=1
C. e=v+r
ANSWER: A
A. 35
B. 81
C. 32
ANSWER: A
_______________ enables you to hide, inside the object, both the data fields and
the methods that act on that data
A. Encapsulation
B. Polymorphism
C. Inheritance
D. Overloading
ANSWER: A
Which data structure is best suited for performing undo and redo operation?
A. Queue
B. Stack
C. Tree
D. Array
ANSWER:B
A. dot
B. ampersand
C. star
D. arrow
Answer: D
What would be the equivalent pointer expression for referring the array element
a[i][j][k][l]
A. ((((a+i)+j)+k)+l)
B. *(*(*(*(a+i)+j)+k)+l)
C. (((a+i)+j)+k+l)
D. ((a+i)+j+k+l)
Answer: B
Answer: B
Answer: B
A. -1
B. 1
C. 0
D. Yes
Answer: C
Which of these keywords is used to refer to member of base class from a sub
class?
A. upper
B. super
C. this
D. None of the mentioned
ANSWER: B
What is the process of defining a method in subclass having same name and
type signature as a method in its superclass?
A. Method overloading
B. Method overriding
C. Method hiding
D. None of the mentioned
ANSWER: B
In a Heap tree
A. Values in a node is greater than every value in left sub tree and smaller than
right sub tree
B. Values in a node is greater than every value in children of it
C. Values in a node is greater than every value in left sub tree and smaller than
right sub tree and Values in a node is greater than every value in children of it
D. None of these
ANSWER: B
How many maxterms are present in the following boolean function? F(A,B,C,D) =
1
A. 0
B. 1
C. 16
D. None of these
ANSWER: A
For the given boolean function, F(w,x,y,z) = wx + yz, what would be the value of
(F+F')?
A. 0
B. 1
C. w(x+y') + w'y'z + wx'z'
D. x(wy+z) + y'(xz+w) + z'(y+x')
ANSWER: B
Reduce the boolean expression ABC + A'B'C + A'BC + ABC' + A'B'C' to five
literals.
A. A'B' + B(A+C)
B. AB + A'(C+C')
C. A'B' + A(B+C)
D. A'B + B'(A+C')
ANSWER: A