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?
- A. 97,500
- B. 96,040
- C. 125,000
- 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
- TS(T1) = 15, TS(T2) = 30, TS(T3) = 25; all read/write timestamps start at 0. Under basic timestamp ordering with Thomas's write rule…
- R(A, B, C, D, E) with functional dependencies B → AD, AC → B, A → B is decomposed into R1(A, B), R2(B, D), R3(B, C, E). Which statement is…
- R(A, B, C, D, E, F) has functional dependencies A → CD, CF → A, E → B, D → A. Which of these attribute sets is NOT a superkey of R?
- Table Product(pid, cat, price) rows: (1, 'X', 10), (2, 'X', 20), (3, 'Y', 20), (4, NULL, 30), (5, 'Y', NULL), (6, 'Z', 5). What does this…
- Consider the schedule R3(A), R2(A), R3(B), W3(B), R2(B), W1(B), W1(A), R1(A). Which statement is correct?
- T1: R1(A), R1(B) and T2: W2(A), W2(B). Of all 6 interleavings that keep each transaction's own order, how many are conflict serializable?