Question
B+ Trees are considered BALANCED because
Official answer and solution
- Official answer
- A
- From
- Official GATE 2016 answer key
Solution
Recall the structural invariant that defines the balance of a B+ tree.
A B+ tree is a self-balancing search tree data structure widely used in databases and file systems.
In a B+ tree:
- All data records (or pointers to data records) are stored in the leaf nodes.
- Internal nodes store only index keys and child pointers to direct searches.
- Every leaf node appears at the exact same depth from the root.
Consequently, the length of the path from the root to every leaf node is identical. This uniform height ensures predictable search, insert, and delete operations and forms the formal definition of balance in B and B+ trees.
Therefore, option (A) is correct.
A
Confusing the B+ tree definition of balance (all leaves at the same depth) with AVL tree height-balance (heights of left and right subtrees differ by at most 1).
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2016 Computer Science and Information Technology (CS) Session 2
- Question
- 31 of 65, printed as CS Q.21
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.