82: In Figure 1 above, when the root node 8 is deleted, the new root node will be either:
A. 9 or 3
B. 4 or 10 C. 3 or 12
D. 9 or 5
83: In Figure 1 above, what is the height of the tree?
A. 1
B. 6
C.3
D.4
84: In Figure 1 above, the successor of Node 12 is
A. 3
B. 4
C. 11
D. 9
BS: In Figure 1 above, is the tree a balanced BST?
Yes or No
86: If node 9 is deleted, will the BSTin Figure 1 be an AVL Tree? Yes or No
87: If node 3 and 5 are deleted, will the BSTin Figure 1 above be an AVL Tree? Yes or No
88. Figure 1 is a valid 2-3 Tree?
Yes or No
89. The height of Node 10 in Figure 1 is A. 2
B. 0
C. 1
D. -1
810. The sibling of 9 in Figure 1 is
A. 10
B5
C. 12
D. 11
811. Postorder of the Tree in Figure 1 gives:
A. 8,4,3,5,10,9,12,11 _B. 3,5,4,9,11,12,10,8 C. 3,4,5,8,9,10,11,12 D. 8,4,10,3,5,9,12,11
812. The implementation of Algorithm a, gives:
A. Binary Search Tree B. Binary Tree
C. AVL Tree
D. Namty Tree
813. The AVL deletion in Algorithm b, handles:
A. RIGHT-LEFTRotation B. LEFT-Rotation RIGHT-Rotation D. None
814: If at anytime a BSTis not balanced, to restore the properties of 2-3 B Trees, re-balancing is
done using
A. Rotation
B. Rotation and/or Exchange of colour red/black
C. Upward Promotion and/or Splitting D. None
815: If at any time a BSTis not balanced, to restore the properties of AVL Trees, re-balancing is
done using
A. Rotation
B. Rotation and/or Exchange of colour red/black
C. Upward Promotion and/or Splitting D. None
816: If at anytime a BSTis not balanced, to restore the properties of Red-Black Trees, re-balancing is
done using
A. Rotation
B. Rotation and/or Exchange of colour red/black
C. Upward Promotion and/or Splitting D. None
817: A function is called recursion
A. If it accepts a variable in high-level language
B. If it calls itself
C. If it translates assembly language into machine language D. None of the mentioned
818: The property that "The root and leaves (nil) are black" applies to
A. BST
B. Binary tree
C. AVL
D. red-black trees
819: In a 2-3 tree, what is the maximum number of keys/elements a node can have?
A. 2
B. 1
C.3
D.4
820: One of the following is the result of factorial (n) or n ! where n = 3
A. 2
B. 24
C. 6
D. 120
3