In a B+ tree, if the search-key value is 8 bytes long, the block size is 512 bytes and the block pointer size is 2 bytes, then the maximum order of the B+ tree is …
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2017 Set 2 · Q49
Time
Your answerNumerical answer
Solution
Official answer: 52 (±0)
File Organization and IndexingThe order of a B+ tree is defined as the maximum number of child (block) pointers an internal node can hold.
An internal node of order contains at most block pointers and search keys. Therefore, the node size constraint is:
Given:
Block pointer size bytes
Search-key size bytes
Block size bytes
Substitute the given values:
Thus, the maximum order of the B+ tree is 52.
Try the question first, then check your work.
Examiner trap
An internal node of order in a B+ tree contains at most block pointers and search-key values.
This File Organization and Indexing previous year question is Q49 of the GATE CSE 2017 Set 2 paper. Find more GATE CSE PYQs on File Organization and Indexing in Databases, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related File Organization and Indexing PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
File Organization and Indexing has 17 GATE CSE PYQs across 17 papers from 2011 to 2026. 5 of them are 2-mark NAT questions like this one, and it is the only one in GATE CSE 2017 Set 2.
How GATE tests File Organization and IndexingIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.