A B-tree of order 4 and of height 3 will have a maximum of _______ keys.

Quốc Ân

New member
A B-tree of order 4 and of height 3 will have a maximum of _______ keys.
A. 255
B. 63
C. 127
D. 188
 
Answer: a
Explanation: A B-tree of order m of height h will have the maximum number of keys when all nodes are completely filled. So, the B-tree will have n = (m$^{h+1}$ – 1) keys in this situation. So, required number of maximum keys = 4$^{3+1}$ – 1 = 256 – 1 = 255.
 

Tìm kiếm

Back
Top