CS FundamentalsHardProduct-company MCQ pattern

R(A, B, C, D, E) has FDs A → B, B → C, C → A, D → E. How many candidate keys does R have, and what is its highest normal form?

  1. A. 3 keys; 1NF
  2. B. 4 keys; 2NF
  3. C. 1 key (AD); 2NF
  4. D. 3 keys; 3NF

Correct answer: A. 3 keys; 1NF

A, B and C determine each other in a cycle and D determines E, so the keys are AD, BD and CD. D → E is a partial dependency (D is part of every key and E is non-prime), so R is not even in 2NF.

More DBMS and SQL questions

Exams that ask this topic