CS FundamentalsHardGATE CS · DBMS

In a B+ tree every internal node can have at most 50 children and every leaf can hold at most 40 keys. With exactly 3 levels (root at level 1, leaves at level 3), what is the maximum number of keys the tree can index?

  1. A. 97,500
  2. B. 96,040
  3. C. 125,000
  4. D. 100,000

Correct answer: D. 100,000

Fully packed: 2 internal levels give 50^2 = 2,500 leaves, each with 40 keys, so 100,000 keys.

More DBMS and SQL questions

Exams that ask this topic