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? (GATE CS 2010)
(A) 1
(B) 2
(C) 3
(D) 4
Answer: (B)
Explanation: Since the maximum number of keys is 5, maximum number of children a node can have is 6. Bydefinition of B Tree, minimum children that a node can have would be 6/2 = 3. Therefore, minimum number of keys that a node can have becomes 2 (3-1).
Quiz of this Question
Recommended Posts:
- Data Structures | B and B+ Trees | Question 3
- Data Structures | B and B+ Trees | Question 4
- Data Structures | B and B+ Trees | Question 2
- Data Structures | Binary Trees | Question 15
- Data Structures | Binary Trees | Question 15
- Data Structures | Binary Trees | Question 15
- Data Structures | Binary Trees | Question 1
- Data Structures | Binary Trees | Question 12
- Data Structures | Binary Trees | Question 13
- Data Structures | Binary Trees | Question 14
- Data Structures | Binary Trees | Question 3
- Data Structures | Binary Trees | Question 4
- Data Structures | Binary Trees | Question 8
- Data Structures | Binary Trees | Question 9
- Data Structures | Binary Trees | Question 10
- Data Structures | Binary Trees | Question 6
- Data Structures | Binary Trees | Question 11
- Data Structures | Binary Search Trees | Question 7
- Data Structures | Binary Search Trees | Question 5
- Data Structures | Binary Search Trees | Question 4

