CS FundamentalsModerateGATE CS · Amazon/Microsoft placement

R(A, B, C, D, E) has functional dependencies B → ACD, BC → AD, C → A. What is the closure {B}⁺?

  1. A. {BCD}
  2. B. {ABCDE}
  3. C. {ABC}
  4. D. {ABCD}

Correct answer: D. {ABCD}

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 {ABCD}.

More DBMS and SQL questions

Exams that ask this topic