CS FundamentalsHardProduct-company MCQ pattern

R(A, B, C) with A → B and B → C. Which decomposition is lossless?

  1. A. R1(A), R2(B, C)
  2. B. R1(A, B), R2(B, C)
  3. C. R1(A, B), R2(C)
  4. D. R1(A, C), R2(B, C)

Correct answer: B. R1(A, B), R2(B, C)

A binary decomposition is lossless if the common attributes functionally determine one side. (AB) ∩ (BC) = B and B → C, so B is a key of R2. In (AC, BC) the common attribute C determines nothing. Decompositions with no common attribute are lossy.

More DBMS and SQL questions

Exams that ask this topic