Skip to content
Related Articles

Related Articles

Improve Article

GATE | GATE-CS-2016 (Set 2) | Question 31

  • Last Updated : 28 Jun, 2021

B+ Trees are considered BALANCED because

(A) the lengths of the paths from the root to all leaf nodes are all equal.
(B) the lengths of the paths from the root to all leaf nodes differ from each other by at most 1.
(C) the number of children of any two non-leaf sibling nodes differ by at most 1.
(D) the number of records in any two leaf nodes differ by at most 1.

Answer: (A)

Explanation: In both B Tree and B+ trees, depth (length of root to leaf paths) of all leaf nodes is same. This is made sure by the insertion and deletion operations.

Attention reader! Don’t stop learning now.  Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.

Learn all GATE CS concepts with Free Live Classes on our youtube channel.

In these trees, we do insertions in a way that if we have increase height of tree after insertion, we increase height from root. This is different from BST where height increases from leaf nodes.

Similarly, if we have to decrease height after deletion, we move the root one level down. This is also different from BST which shrinks from bottom.

The above ways of insertion and deletion make sure that depth of every leaf node is same.

You can refer below links for more details.

IIT Delhi Video Lecture
B Tree Introduction
B Tree Insertion
B Tree Deletion

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :