CS FundamentalsVery hardCapgemini · Cognizant GenC

The set F = {A -> BC, B -> C, A -> B, AB -> C} on R(A, B, C) is given. How many functional dependencies are there in a minimal (canonical) cover of F?

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

Correct answer: D. 2

Splitting gives A -> B, A -> C, B -> C, A -> B, AB -> C. A -> C follows from A -> B and B -> C, and AB -> C reduces to B -> C. The cover is {A -> B, B -> C}: 2 FDs.

More DBMS and SQL questions

Exams that ask this topic