B Plus Trees questions

Q21

GATE CS 2025 CS-1Storage and IndexingMSQ1 mark
Consider the following B+B^+ tree with 5 nodes, in which a node can store at most 3 key values. The value 23 is now inserted in the B+B^+ tree. Which of the following options(s) is/are CORRECT?
Question figure
More than one option can be correct.
Show answer without attempting

Answer: B, D

Q57

GATE CS 2025 CS-2Storage and IndexingNAT2 marks
In a B+B^+- tree where each node can hold at most four key values, a root to leaf path consists of the following nodes:

A = (49, 77, 83, -), B = (7, 19, 33, 44), C = (20∗,22∗,25∗,26∗20^*, 22^*, 25^*, 26^*)

The *-marked keys signify that these are data entries in a leaf.

Assume that a pointer between keys k1k_1 and k2k_2 points to a subtree containing keys in [k1,k2)[k_1, k_2), and that when a leaf is created, the smallest key in it is copied up into its parent.

A record with key value 23 is inserted into the B+B^+- tree.

The smallest key value in the parent of the leaf that contains 25∗25^* is __________ . (Answer in integer)
Show answer without attempting

Answer: 33

0/20 correct0 marks

Related topics in Storage and Indexing