CS FundamentalsVery hardHCLTech · Infosys placement pattern

A B+ tree internal node is built on a key of 16 bytes. A disk block is 4096 bytes and a block pointer is 10 bytes. What is the maximum order p (number of child pointers) of an internal node?

  1. A. 157
  2. B. 409
  3. C. 158
  4. D. 159

Correct answer: C. 158

An internal node holds p pointers and p − 1 keys, so 10p + 16(p − 1) ≤ 4096, giving p ≤ 158.15, so the maximum integer order is p = 158.

More DBMS and SQL questions

Exams that ask this topic