CS FundamentalsVery hardAmazon · Microsoft MCQ pattern

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

  1. A. 186
  2. B. 187
  3. C. 185
  4. D. 512

Correct answer: A. 186

An internal node holds p pointers and p − 1 keys, so 8p + 14(p − 1) ≤ 4096, giving p ≤ 186.82, so the maximum integer order is p = 186.

More DBMS and SQL questions

Exams that ask this topic