Question

B+ Trees are considered BALANCED because

Choose one option
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:

  1. All data records (or pointers to data records) are stored in the leaf nodes.
  2. Internal nodes store only index keys and child pointers to direct searches.
  3. 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 O(log⁡n)O(\log n) search, insert, and delete operations and forms the formal definition of balance in B and B+ trees.

Therefore, option (A) is correct.

Final answer

A

Common trap

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.