CS FundamentalsHardTCS NQT · Infosys pattern

R(A, B, C) is in 1NF with functional dependencies AB → C, C → B (candidate key(s): AB, AC). What is the highest normal form R satisfies?

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

Correct answer: D. 3NF

The candidate key(s) are AB, AC. Some FD has a determinant that is not a superkey, so BCNF fails — but in every such case the dependent attribute is prime (part of some candidate key), so 3NF still holds.

More DBMS and SQL questions

Exams that ask this topic