GATE 2010 CS (CS1) – Question 28
A B+ tree allows at most five keys per node. Find the minimum number of keys in any nonroot node.
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (B) 2
Explanation
An internal node has at most six children and must have at least ceil(6/2)=3 children when nonroot. It therefore has at least three minus one = two separator keys. Leaf occupancy rules can impose a different minimum, but the smallest across all nonroot nodes is two, B.
More File Organization and Indexing (B and B+ Trees) questions
- GATE 2015 CS (CS2) Q32
- GATE 2015 CS (CS3) Q39
- GATE 2021 CS (CS2) Q31
- GATE 2026 CS (CS2) Q46
- GATE 2025 CS (CS1) Q21
- GATE 2025 CS (CS2) Q57
All File Organization and Indexing (B and B+ Trees) questions →