CS FundamentalsHardProduct-company MCQ pattern

A relation R(A, B, C, D) has candidate key ABD (the ONLY candidate key) and FD AB → C (C is non-prime). Which normal form violation does this represent?

  1. A. A 3NF violation only, not 2NF
  2. B. A 4NF violation involving a multivalued dependency
  3. C. No violation; this is perfectly fine for BCNF
  4. D. A 2NF violation — partial dependency, since AB is a proper subset of the key ABD and determines the non-prime C

Correct answer: D. A 2NF violation — partial dependency, since AB is a proper subset of the key ABD and determines the non-prime C

AB is a proper, non-empty subset of the sole candidate key ABD, and AB → C has C as a non-prime attribute — textbook partial dependency, a 2NF violation. Since 3NF and BCNF both require 2NF as a baseline, this relation also fails 3NF and BCNF as an automatic consequence.

More DBMS and SQL questions

Exams that ask this topic