GATE / CS ARCHIVE

GATE CSE 2019 / QUESTION 14

Internal and leaf nodes of a B+ tree

Database Management Systems · Indexing, Storage & Query Processing · Full GATE CSE 2019 paper

GATE 2019, Q14 1 mark · MCQ
Report issue

Indexing, Storage & Query Processing

Question 14, GATE 2019: Which statement about a B+ tree index is incorrect? A it is height-balanced; B non-leaf nodes have pointers to data records; C each node's keys are sorted; D each leaf has a pointer to the next leaf.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Method: distinguish routing information in internal nodes from data entries at leaves.

1. A B+ tree keeps all leaves at the same depth, giving a balanced search height. Thus A describes the standard structure correctly.
2. An internal node contains separator keys and child-node pointers. Comparing a search key against the separators chooses the child subtree that may contain the record. Those pointers lead to more index nodes, not directly to the table's data records.
3. Data entries or record references occur at the leaves. Therefore B assigns a leaf responsibility to non-leaf nodes and is the incorrect statement.
4. Sorted keys let a node determine the correct child or locate the leaf entry, so C is correct. Linking leaves supports ordered scans and range queries without repeatedly returning to the root, so D is the usual leaf-link property; the last leaf's next pointer is null.

Result: B. This leaf-focused record organization is a key distinction between a B+ tree and a B-tree variant that may keep records in internal nodes.

Original paper, page 6 · Answer key