CS FundamentalsEasyGATE CS (PYQ pattern)

R(A, B, C, D, E, F) has the functional dependencies D → E, AD → B, D → E, DA → F, EC → D, ED → C. How many of the listed FDs violate BCNF (their left side is not a superkey and the dependency is non-trivial)?

  1. A. 1
  2. B. 2
  3. C. 3
  4. D. 4

Correct answer: D. 4

Candidate keys ['AD', 'ACE']; compute the closure of each left side and count those that do not cover R.

More DBMS and SQL questions

Exams that ask this topic