CS FundamentalsModerateGATE CS · Product placement
R(A, B, C, D, E, F) has functional dependencies AC → BE, D → E, C → A, AB → F. What is the closure {BC}⁺?
- A. {ABCEF}
- B. {ABCE}
- C. {ABCF}
- D. {ABCDEF}
Correct answer: A. {ABCEF}
Keep applying any FD whose left side is already inside the set until nothing changes; one pass in listed order is not enough. The result is {ABCEF}.
More DBMS and SQL questions
- Σ = {B → A, D → B, AD → C, A → D}. Consider the FD AD → C while computing a canonical cover. Which statement about extraneous attributes…
- Table Acct(no, branch, bal) rows: (101, 'Agra', 500), (102, 'Agra', 1500), (103, 'Bhopal', 700), (104, 'Bhopal', 700), (105, 'Cuttack'…
- R(A, B, C, D, E, F) has FDs BF → A, BD → EF, E → CD, CF → B. Each option is a relation schema obtained by projecting R, with the…
- R(A, B, C, D, E, F) has functional dependencies BF → DE, C → E, F → E, DF → B. Which of the following is the complete set of candidate…
- R(A, B, C, D, E) has functional dependencies E → CD, C → A, D → AC. Which decomposition of R is lossless-join?
- Classify the schedule R2(B), W2(B), W1(A), R1(A), W1(B), C1, C2 (Ci = commit of Ti) by the strongest property it satisfies.