Skip to content
GATEiit

GATE CSE 2017 Session 2 Q59: Maximum order of a B+ tree node

Syllabus topic: File organization and indexing (e.g. B and B+ trees)

Question

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 ________.

Try it: numerical answer: type the value

Numerical answer. No negative marking.
Show answer and explanation

Answer: 52 (official GATE 2017 final answer key)

Concept used: An internal B+ tree node of order p holds p block pointers and p−1 keys, all of which must fit in one block.

Concept notes

Loading notes…

First step: Solve 2p+8(p−1)≤512 for the largest integer p.

Full step-by-step solution

Loading…

Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.

More questions on File organization and indexing (e.g. B and B+ trees)

Every PYQ on this topic →

Share this question

WhatsAppDownload image

Source: official GATE 2017 Session 2 CS question paper and final answer key, organised by IIT Roorkee. Question paper · Answer key