Professional Documents
Culture Documents
A. lifo
B. lilo
C. filo
D. fifo
o m
.c
Answer: D
te
a
M
27. The statement print f ("%d", 10 ? 0 ? 5 : 1 : 12); will print?
q
A. 10 c
B. 0
M
C. 12
D. 1
Answer: D
A. priority
B. tree
C. dqueue
Answer: B
A. strings
C. lists
Answer: D
A. prints 100
B. print garbage
o m
C. prints ascii equivalent of 100
.c
te
D. none of the above
a
Answer: C
q M
c
M
31. The _______ memory allocation function modifies the previous
allocated space.
A. calloc
B. free
C. malloc
D. realloc
Answer: D
A. 30
B. 36
C. 108
D. 42
Answer: D
C. regular language
Answer: A
34. The worst case time complexity of AVL tree is better in comparison to
binary search tree for
o m
A. search and insert operations
.c
B. search and delete operations
te
a
C. insert and delete operations
q M
c
D. search, insert and delete operations
Answer: D
M
35. In which tree, for every node the height of its left subtree and right
subtree differ almost by one?
B. avl tree
Answer: B
A. low level
B. high level
C. assembly level
D. machine level
Answer: A
A. call by value
B. call by reference
C. call by address
D. call by name
Answer: A
q
C. elements can be added from rear
c
D. none of the above
M
Answer: B
B. circular list
Answer: C
D. a and c both
Answer: D
B. .
Answer: A
q M
C. and floats
c
D. ints and chars
M
Answer: D
D. a & b both
Answer: D
A. changed.
C. hanged.
Answer: C
A. of a program
B. . constants have unknown values that may be change during the execution
C. of a program
Answer: A
o m
46. A. int constant var =10;
.c
te
A. b. int
a
B. onst var = 10;
q M
C. const int var = 10;
c
D. b & c both M
Answer: D
47. A. Constant
A. b.
B. ariable
C. special symbol
Answer: A
A. b. restart execution
B. f program
Answer: C
For Discussion / Reporting / Correction of any MCQ please visit discussion page by clicking on
'answer' of respective MCQ.
PlayStore
o m
.c
te
a
q M
c
M