CS FundamentalsVery hardGATE CS (PYQ pattern)

R(A, B, C, D, E) has the functional dependencies D → A, EA → C, D → C, D → E, BC → A. How many attributes appear in the left sides of a canonical cover, counting every occurrence (that is, the total number of left-side attributes over all FDs of the cover, after splitting right sides)?

  1. A. 6
  2. B. 7
  3. C. 5
  4. D. 2

Correct answer: A. 6

A canonical cover is D→A, EA→C, D→E, BC→A; summing the left-side sizes gives the answer.

More DBMS and SQL questions

Exams that ask this topic