CS FundamentalsHardGATE CS · Product placement
R(A, B, C, D, E, F) has functional dependencies BF → A, D → E, AC → F, BD → A, A → B. Which of these attribute sets is NOT a superkey of R?
- A. BCD
- B. ACDF
- C. BDF
- D. ABCD
Correct answer: C. BDF
{BDF}⁺ = {ABDEF}, which misses C, so it is not a superkey. Each other option's closure is all of R (each contains one of the candidate keys ACD, BCD).
More DBMS and SQL questions
- R(A, B, C, D, E) has functional dependencies A → BCE, C → AD, B → DE. What is the closure {B}⁺?
- R(A, B) = {(a1, b1), (a1, b2), (a2, b2), (a2, b3), (a3, b1), (a3, b2), (a4, b1), (a4, b2), (a4, b3)} and S(B) = {b1, b3}. What is R ÷ S?
- What is the maximum possible number of candidate keys a relation with 6 attributes can have (over all FD sets)?
- R(A, B, C, D, E) with functional dependencies BC → A, D → B, A → D is decomposed into R1(A, C, E), R2(A, B, D). Which statement is correct?
- Relations R (400 blocks) and S (100 blocks) are joined with block nested-loop join using M = 12 buffer blocks (M − 2 for the outer…
- Table Stu(sid, sname) rows: (1, 'Om'), (2, 'Pia'), (3, 'Raj'), (4, 'Sia'). Table Takes(sid, cid, marks) rows: (1, 'C1', 80), (1, 'C2'…