C C CC C C CCCCCCC
C C CC C C CCCCCCC
a. underflow
b. overflow
c. housefull
d. saturated
a. FAEKCDBHG
b. FAEKCDHGB
c. EAFKHDCBG
d. FEAKDCHBG
6. The Worst case occur in linear search algorithm when
a. Item is somewhere in the middle of the array
b. Item is not in the array at all
c. Item is the last element in the array
d. Item is the last element in the array or is not there at all
12. The indirect change of the values of a variable in one module by another module is
called
a. internal change
b. inter-module change
c. side effect
d. side-module update
14. Each array declaration need not give, implicitly or explicitly, the information about
a. the name of array
b. the data type of array
c. the first data from the set to be stored
d. the index set of the array
15. A binary tree whose every node has either zero or two children is called
a. Complete binary tree
b. Binary search tree
c. Extended binary tree
d. None of above
19. The in order traversal of tree will yield a sorted listing of elements of tree in
a. Binary trees
b. Binary search trees
c. Heaps
d. None of above
Answers
1. Which of the following statement is false?
c. pointers store the next data element of a list
2. Binary search algorithm can not be applied to
a. sorted linked list
3. The situation when in a linked list START=NULL is
a. underflow
4. Which of the following is two way list?
d. none of above
5. When inorder traversing a tree resulted E A C K F H D B G; the preorder traversal
would return
b. FAEKCDHGB
6. The Worst case occur in linear search algorithm when
d. Item is the last element in the array or is not there at all
7. The Average case occur in linear search algorithm
a. When Item is somewhere in the middle of the array
8. The complexity of the average case of an algorithm is
a. Much more complicated to analyze than that of worst case
9. The complexity of Binary search algorithm is
b. O(log n)
10. The complexity of Bubble sort algorithm is
c. O(n2)
11. The complexity of merge sort algorithm is
d. O(n log n)
12. The indirect change of the values of a variable in one module by another module is
called
c. side effect
13. Arrays are best data structures
a. for relatively permanent collections of data
14. Each array declaration need not give, implicitly or explicitly, the information about
c. the first data from the set to be stored
15. A binary tree whose every node has either zero or two children is called
19. The in order traversal of tree will yield a sorted listing of elements of tree in
b. Binary search trees