...
GATE 2010
March 13, 2025
GATE 2010
March 13, 2025
GATE 2010
March 13, 2025
GATE 2010
March 13, 2025

GATE 2010

Question 18

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?

A
1
B
2
C
3
D
4
Question 18 Explanation: 
― In B+ tree, the root contains minimum two block pointers and maximum ‘p’ block pointers.
― Here,
p = order
key = order – 1 = p – 1
― In the non-root node, the minimum no. of keys = ⌈p/2⌉-1
― So, key = 5
order = 6
― So, minimum no. of keys in root node =⌈6/2⌉ – 1 = 2

Correct Answer: B
Question 18 Explanation: 
― In B+ tree, the root contains minimum two block pointers and maximum ‘p’ block pointers.
― Here,
p = order
key = order – 1 = p – 1
― In the non-root node, the minimum no. of keys = ⌈p/2⌉-1
― So, key = 5
order = 6
― So, minimum no. of keys in root node =⌈6/2⌉ – 1 = 2

Leave a Reply

Your email address will not be published. Required fields are marked *