UNIT-IV-Question Bank
UNIT-IV-Question Bank
UNIT-IV-TREES
9. Construct binary tree from the given traversal: 8 4 PSO1, PO1, 3 [5]
PSO2 PO2
a)
Preorder: * + a - b c / - d e - + f g h
Inorder: a + b - c * d - e / f + g - h
b)
Inorder: H D I B E A J F K C G
Postorder: H I D E B J K F G C A
10. Draw the BST for the following given nodes. 8 4 PSO1, PO1, 3 [5]
45, 7, 21, 76, 1, 54, 22, 4, 86 PSO2 PO2,
PO3
11. Write C++ function for implementation of In- 8 4 PSO1 PO1, 3
order traversal of in-order threaded binary PO2
tree.
24. Write sudo code for non-recursive inorder tree 6 4 PSO1 PO1, 3
PO2
traversal of binary tree.
25. For the following binary tree, show (draw) 6 4 PSO1, PO1, 3
PSO2 PO2,
threaded binary tree (inorder).
PO3
Blooms
level no Blooms Taxonomy
terms
2
1
Note:
1. Example demonstrates the method for filling the data.
2. Blooms Taxonomy is provided for Ready Reference.