CS FundamentalsVery hardGATE CS · DBMS

R(A, B, C, D, E, F) has functional dependencies BD → E, D → AF, E → AB, BC → D. Which of the following is the complete set of candidate keys of R?

  1. A. {BC, CE}
  2. B. {BC, BCE}
  3. C. {BC, BE, CE}
  4. D. {BC}

Correct answer: A. {BC, CE}

Attributes never on a right side (C) must be in every key; extending them and testing closures gives exactly the minimal superkeys {BC, CE}. Each closure covers all of R and no proper subset does, so these are all the candidate keys.

More DBMS and SQL questions

Exams that ask this topic