CS FundamentalsVery hardGATE CS · PSU (ISRO/BARC)
R(A, B, C, D, E, F) has functional dependencies F → AB, D → C, C → F, CE → D. How many superkeys does R have?
- A. 24
- B. 16
- C. 32
- D. 23
Correct answer: A. 24
Candidate keys are {CE, DE}. 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, C, D, E) has the set of functional dependencies Σ = {E → AC, C → B, AE → B, A → D}. Which of the following FDs is NOT in Σ⁺ (not…
- Table Sale(id, rep, region, amt) rows: (1, 'Ira', 'N', 100), (2, 'Jai', 'S', 250), (3, 'Ira', 'S', NULL), (4, 'Kim', 'N', 300), (5, 'Jai'…
- Keys 47, 46, 27, 42, 22, 7, 58, 45, 48, 51 are inserted in this order into an empty B+ tree where a node holds at most 3 keys; an…
- Table Sale(id, rep, region, amt) rows: (1, 'Ira', 'N', 100), (2, 'Jai', 'S', 250), (3, 'Ira', 'S', NULL), (4, 'Kim', 'N', 300), (5, 'Jai'…
- R(A, B) = {(5, 2), (8, 1), (8, 2), (11, 1), (14, 2)}. What does πA(R) − π{R1.A}(σ{R1.A < R2.A}(ρ{R1}(R) × ρ{R2}(R))) return?
- Assertion (A): A schedule can be conflict serializable and still not be recoverable. Reason (R): Serializability concerns the order of…