All mock tests are FREE till 31 December — register to save your progress
Unit 4 · Database Management Systems Paper 2 CS · November 2021

A B tree indexes a database file with search key 10 bytes, block 1024 bytes, record pointer 9 bytes and block pointer 8 bytes. If K is the order of the internal node and L the order of the leaf node, (K, L) =

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: A. (57, 53)

Explanation

Internal (B+ style): 8K + 10(K − 1) ≤ 1024 gives K = 57. Leaf: 19L + 8 ≤ 1024 gives L = 53.

Note: The values match a B+ tree. For a plain B tree (record pointers in internal nodes) the internal order would be 38.

More Database Management Systems questions