CS FundamentalsVery hardGATE CS (PYQ pattern)

R(A, B, C, D, E) has FDs A → B, BC → D, D → E. How many of these four binary decompositions are lossless-join? (1) (A, B, C) and (C, D, E) (2) (A, B, C, D) and (D, E) (3) (A, B) and (B, C, D, E) (4) (A, B, C) and (B, D, E)

  1. A. 2
  2. B. 0
  3. C. 4
  4. D. 1

Correct answer: D. 1

A binary decomposition is lossless iff the common attributes determine one of the parts. (1): C is not a key of either part, lossy. (2): D → E, so D is a key of (D, E): lossless. (3): B is not a key of either side (A → B only), lossy. (4): B does not determine either part: lossy.

More DBMS and SQL questions

Exams that ask this topic