CS FundamentalsVery hardGATE CS · Product placement
R(A, B, C, D, E, F) has functional dependencies B → ACDF, A → B. How many superkeys does R have?
- A. 16
- B. 24
- C. 23
- D. 32
Correct answer: B. 24
Candidate keys are {AE, BE}. Count supersets of each key and apply inclusion–exclusion (a set may contain two keys): the total is 24, not the naive sum 32.
More DBMS and SQL questions
- R(A, B) = {(2, 1), (3, 1), (3, 3), (3, 4), (4, 4)} and S(B, C) = {(1, 5), (2, 5), (2, 7), (3, 7)}. How many tuples are in R ⟕ S (left…
- A relation has 100,000 tuples and a selection σ{city='Pune'} with an estimated selectivity of 2%. Each block holds 50 tuples and the…
- Classify the schedule W1(A), R2(A), R1(B), R1(A), C1, R2(B), W2(A), C2 (Ci = commit of Ti) by the strongest property it satisfies.
- R(A, B, C, D, E, F) has the set of functional dependencies Σ = {CE → B, A → F, BE → D, AF → B}. Which of the following FDs is NOT in Σ⁺…
- For the schedule W4(C), W1(A), R4(B), R2(A), R3(C), W3(A), R2(B), R1(B), how many serial schedules of T1–T4 are conflict-equivalent to it?
- 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…