CS FundamentalsHardGATE

A relation R(A, B, C) has the single functional dependency A → B (C is independent, with no FD at all involving it, and no candidate key other than AC). Is R in BCNF?

  1. A. It cannot be determined without knowing C's values
  2. B. Yes, because B is a single attribute
  3. C. No; A → B violates BCNF because A is not a superkey
  4. D. Yes; A → B is a trivial dependency so it does not count against BCNF

Correct answer: C. No; A → B violates BCNF because A is not a superkey

The only candidate key is AC, since A alone does not determine C and there is no other dependency. A → B has A as its determinant, which is NOT a superkey (it is missing C), so this FD directly violates BCNF — R should be decomposed into R1(A, B) and R2(A, C) to reach BCNF.

More DBMS and SQL questions

Exams that ask this topic