My Report

Data Structure I Mock Test 5


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement
 10%

Question 1 of 10

1. The size value of various nodes in a weight balanced tree are
leaf - zero
internal node - size of it's two children
is this true?

Question 1 of 10

Question 2 of 10

2. Cartesian trees are most suitable for?

Question 2 of 10

Question 3 of 10

3. Consider the following data. The pre order traversal of a binary tree is A, B, E, C, D. The in order traversal of the same binary tree is B, E, A, D, C. The level order sequence for the binary tree is _________

Question 3 of 10

Question 4 of 10

4. Associative arrays can be implemented using __________

Question 4 of 10

Question 5 of 10

5. Which of the following trees is similar to that of an AA-Tree?

Question 5 of 10

Question 6 of 10

6. Who is the inventor of AA-Tree?

Question 6 of 10

Question 7 of 10

7. The steps for finding post-order traversal are traverse the right subtree, traverse the left subtree or visit the current node.

Question 7 of 10

Question 8 of 10

8. Find the postorder traversal of the binary tree shown below.
postorder-traversal-questions-answers-q11

Question 8 of 10

Question 9 of 10

9. What is a weight balanced tree?

Question 9 of 10

Question 10 of 10

10. Which of the following data structures can be efficiently implemented using height balanced binary search tree?

Question 10 of 10


 

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.