CS FundamentalsModerateGATE CS · Product placement

Assertion (A): Every relation schema with exactly two attributes is in BCNF. Reason (R): For R(X, Y), any non-trivial FD has a single attribute on its left side, and that attribute then determines the whole relation.

  1. A. Both A and R are true, and R is the correct explanation of A
  2. B. A is false, but R is true
  3. C. Both A and R are true, but R is not the correct explanation of A
  4. D. A is true, but R is false

Correct answer: A. Both A and R are true, and R is the correct explanation of A

With two attributes the only non-trivial FDs are X → Y and Y → X; whichever holds makes its LHS a superkey of R(X, Y), so BCNF can never be violated. R gives exactly that reason.

More DBMS and SQL questions

Exams that ask this topic