CS FundamentalsVery hardGATE CS · PSU (ISRO/BARC)
A B+ tree has at most 7 children per internal node and at most 6 keys per leaf. A non-root internal node must have at least ⌈7/2⌉ children, a leaf at least ⌈6/2⌉ keys, and the root (if internal) at least 2 children. What is the MINIMUM number of keys in such a tree with exactly 4 levels?
- A. 96
- B. 384
- C. 95
- D. 192
Correct answer: A. 96
Minimum: root has 2 children, each lower internal level multiplies by 4, so there are 2·4^2 = 32 leaves, each with 3 keys: 96. Forgetting that the root needs only 2 children gives 192.
More DBMS and SQL questions
- Consider the schedule W2(A), W2(B), R3(A), R3(B), W1(A), R1(B). Which statement is correct?
- R(A, B, C, D) has functional dependencies AC → D, A → D, CD → A, C → A, AB → CD. What is the highest normal form R satisfies?
- Extendible hashing uses the LOWEST-order bits of a key's binary value, bucket capacity 2, and starts with global depth 0 and one empty…
- Table Staff(id, name, dept, pay, boss) rows: (1, 'Anu', 'Ops', 40, NULL), (2, 'Bala', 'Ops', 55, 1), (3, 'Chitra', 'Tech', 70, 1), (4…
- R(A, B, C, D, E) with functional dependencies AB → C, BD → CE, A → B is decomposed into R1(C, D), R2(A, B, E). Which statement is correct?
- A fuzzy checkpoint differs from a simple (quiescent) checkpoint because it: