B plus Tree: GATE CS Previous Year Questions

B plus Tree · Data Structures

9 questions · asked in 7 of 27 years (2000–2026)

MCQ 6 · MSQ 1 · NAT 21-mark 7 · 2-mark 2

2000Questions per year2026

Questions 6–9 of 9

Q6GATE 20101 markMCQ−0.33 if wrong
Consider a B+-tree in which the maximum number of keys in a node is 5. What is the minimum number of keys in any non-root node?

Q7GATE 20092 marksMCQ−0.67 if wrong
The following key values are inserted into a B+ tree in which order of the internal nodes is 3, and that of the leaf nodes is 2, in the sequence given below. The order of internal nodes is the maximum number of tree pointers in each node, and the order of leaf nodes is the maximum number of data items that can be stored in it. The B+ - tree is initially empty.

10, 3, 6, 8, 4, 2, 1

The maximum number of times leaf nodes would get split up as a result of these insertions is

Q8GATE 20071 markMCQ−0.33 if wrong
Consider the B+B^{+} tree in the adjoining figure, where each node has at most two keys and three links.
K40 K30 K50 K10 K20 K30 K40 K50
Keys K15 and then K25 are inserted into this tree in that order. Now the key K50 is deleted from the B+B^{+} tree resulting after the two insertions made earlier. Consider the following statements about the B+B^{+} tree resulting after this deletion.
i. The height of the tree remains the same.
ii. The node
K20
(disregarding the links) is present in the tree.
iii. The root node remains unchanged (disregarding the links).
Which one of the following options is true ?

Q9GATE 20071 markMCQ−0.33 if wrong
Consider the B+B^+ tree in the adjoining figure, where each node has at most two keys and three links.

K40 K30 K50 K10 K20 K30 K40 K50
Keys K15 and then K25 are inserted into this tree in that order. Exactly how many of the following nodes (disregarding the links) will be present in the tree after the two insertions?
K30 K50 K25 K30 K20 K25 K15 K20

Keep practising

Topics in Data Structures

All CS topics ›