CS FundamentalsHardGATE CS · Product placement
In a B+ tree every internal node can have at most 101 children and every leaf can hold at most 80 keys. With exactly 3 levels (root at level 1, leaves at level 3), what is the maximum number of keys the tree can index?
- A. 805,879
- B. 816,080
- C. 1,030,301
- D. 800,000
Correct answer: B. 816,080
Fully packed: 2 internal levels give 101^2 = 10,201 leaves, each with 80 keys, so 816,080 keys.
More DBMS and SQL questions
- R(A, B) = {(3, 2), (5, 2), (8, 1), (11, 1), (14, 2)}. What does πA(R) − π{R1.A}(σ{R1.A > R2.A}(ρ{R1}(R) × ρ{R2}(R))) return?
- Table Score(name, pts) rows: ('a', 90), ('b', 85), ('c', 90), ('d', 70), ('e', 85), ('f', 60). What does this query return? sql SELECT…
- The system crashes after the last record of this log (immediate database modification; <Ti, X> denotes an update with old and new values…
- Classify the schedule R3(A), W2(A), W3(B), R2(B), W3(A), W1(A), R1(B), W1(B).
- A multilevel index is built over a first level of 40,000 index entries; every index block holds 34 entries (fan-out 34), and levels are…
- Why does a B+ tree usually have a smaller height than a B-tree built on the same key with the same block size?