Skip to content
Official PYQ · 2025

GATE CS 2025 Set 1 Q11 — File Organization and Indexing (B and B+ Trees)

Explain with AI

Consider the following B+B^{+}tree with 55 nodes, in which a node can store at most 33 key values The value 2323 is now inserted in the B+B^{+}tree. Which of the following options(s) is/are CORRECT?

B plus tree

Select all correct options
View worked solution

Answer: B;D

A B+B^+ tree with 55 nodes and a maximum capacity of 33 keys per node must have a 22-level structure consisting of:

  • 11 Root node containing 33 keys (fully occupied).
  • 44 Leaf nodes containing the data keys.

When the value 2323 is inserted into its corresponding leaf node:

  1. The target leaf node is already full (containing 33 keys), causing it to split into two nodes.
  2. This split requires pushing/copying a key up to the parent (the root node).
  3. Since the root node is also completely full with 33 keys, it overflows and must also split.
  4. Splitting the root node creates a new root, which increases the height of the tree by 11.

Thus, at least one node splits (Option B) and the height of the tree increases (Option D).

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore File Organization and Indexing (B and B+ Trees) questions