Skip to content
Official PYQ · 2001

GATE CS 2001 Q2.23 — Normal Forms

Explain with AI

R(A,B,C,D)R(A,B,C,D) is a relation. Which of the following does not have a lossless join, dependency preserving BCNFBCNF decomposition?

Choose one option
View worked solution

Answer: C

To determine which relation does not have a lossless-join, dependency-preserving BCNF decomposition, we analyze the options:

  • Option A: A→B,B→CDA \rightarrow B, B \rightarrow CD. The candidate key is AA. Decomposing into R1(B,C,D)R_1(B, C, D) and R2(A,B)R_2(A, B) is lossless (common attribute BB is a key of R1R_1) and preserves all dependencies.
  • Option B: A→B,B→C,C→DA \rightarrow B, B \rightarrow C, C \rightarrow D. The candidate key is AA. Decomposing into R1(A,B)R_1(A, B), R2(B,C)R_2(B, C), and R3(C,D)R_3(C, D) is lossless and preserves all dependencies.
  • Option D: A→BCDA \rightarrow BCD. The candidate key is AA. The relation is already in BCNF, so the trivial decomposition is lossless and dependency-preserving.

For Option C (AB→C,C→ADAB \rightarrow C, C \rightarrow AD):

  • The candidate keys are ABAB and BCBC (since (AB)+=ABCD(AB)^+ = ABCD and (BC)+=ABCD(BC)^+ = ABCD).
  • The dependency C→ADC \rightarrow AD violates BCNF because CC is not a superkey.
  • If we decompose to resolve this violation, we must split the attributes of AB→CAB \rightarrow C across different relations (e.g., R1(A,C,D)R_1(A, C, D) and R2(B,C)R_2(B, C)). Any such decomposition loses the dependency AB→CAB \rightarrow C.

Thus, Option C cannot be decomposed into BCNF while being both lossless and dependency-preserving.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Normal Forms questions