My Report

Data Structure I Mock Test 6


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. What is the maximum number of keys that a B+ -tree of order 3 and of height 3 have?

Question 1 of 10

Question 2 of 10

2. Is tango tree represented as a tree of trees.

Question 2 of 10

Question 3 of 10

3. Why Red-black trees are preferred over hash tables though hash tables have constant time complexity?

Question 3 of 10

Question 4 of 10

4. Which is the simplest of all binary search trees?

Question 4 of 10

Question 5 of 10

5. Which of the following is an application of Red-black trees and why?

Question 5 of 10

Question 6 of 10

6. Consider a weight balanced tree such that, the number of nodes in the left sub tree is at least half and at most twice the number of nodes in the right sub tree. The maximum possible height (number of nodes on the path from the root to the farthest leaf) of such a tree on k nodes can be described as

Question 6 of 10

Question 7 of 10

7. AVL trees provide better insertion the 2-3 trees.

Question 7 of 10

Question 8 of 10

8. Which property makes top tree a binary tree?

Question 8 of 10

Question 9 of 10

9. Statement 1: When a node is split during insertion, the middle key is promoted to the parent as well as retained in right half-node.
Statement 2: When a key is deleted from the leaf, it is also deleted from the non-leaf nodes of the tree.

Question 9 of 10

Question 10 of 10

10. Which of the following is true?

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.