GATE 2017 CS (CS2) – Question 59
A B+ tree has eight-byte search keys, 512-byte blocks and two-byte block pointers. Find its maximum order.
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: 52.0 to 52.0
Explanation
For order p, an internal node stores p child pointers and p−1 keys. Thus $2p+8(p-1)\le512$, giving 10p≤520 and p≤52. Therefore maximum order is 52, under the conventional order definition as maximum children.
More File Organization and Indexing (B and B+ Trees) questions
- GATE 2013 CS (CS1) Q25
- GATE 2011 CS (CS1) Q49
- GATE 2010 CS (CS1) Q28
- GATE 2015 CS (CS2) Q32
- GATE 2015 CS (CS3) Q39
- GATE 2021 CS (CS2) Q31
All File Organization and Indexing (B and B+ Trees) questions →