GATE CS 2021, set 1 · Question 43 · Databases · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer

Consider the relation R(P,Q,S,T,X,Y,Z,W) with the following functional dependencies.
PQ → X; P → YX; Q → Y; Y → ZW
Consider the decomposition of the relation R into the constituent relations according to the following two decomposition schemes.
D₁ : R = [(P,Q,S,T); (P,T,X); (Q,Y); (Y,Z,W)] ; D₂ : R = [(P,Q,S); (T,X); (Q,Y); (Y,Z,W)]
Which one of the following options is correct?

  1. (A) D₁ is a lossless decomposition, but D₂ is a lossy decomposition.
  2. (B) D₁ is a lossy decomposition, but D₂ is a lossless decomposition.
  3. (C) Both D₁ and D₂ are lossless decompositions.
  4. (D) Both D₁ and D₂ are lossy decompositions.
Answer

Answer (A)

Answer from the official GATE CS 2021 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes