Skip to content
Official PYQ · 1994

GATE CS 1994 Q3.6 — Normal Forms

Explain with AI
State True or False with reason

There is always a decomposition into Boyce-Codd normal form (BCNF) that is lossless and dependency preserving.
View worked solution

Answer: 0

The statement is False (represented by 0).

While it is always possible to find a decomposition into 3NF that is both lossless and dependency-preserving, the same does not hold for BCNF. We can always find a lossless BCNF decomposition, but it is not always possible to preserve all functional dependencies.

Counterexample:

Consider a relation R(A,B,C)R(A, B, C) with the following functional dependencies (FDs):

  • AB→CAB \rightarrow C
  • C→AC \rightarrow A

The candidate keys for RR are ABAB and BCBC.

The dependency C→AC \rightarrow A violates BCNF because CC is not a superkey. To decompose RR into BCNF losslessly, we must decompose it based on the violating FD C→AC \rightarrow A:

  • R1(A,C)R_1(A, C) with FD C→AC \rightarrow A (which is in BCNF)
  • R2(B,C)R_2(B, C) with no non-trivial FDs (which is in BCNF)

This decomposition is lossless because R1∩R2={C}R_1 \cap R_2 = \{C\}, which is a key for R1R_1. However, the functional dependency AB→CAB \rightarrow C is lost because the attributes AA and BB do not appear together in any of the decomposed relations. Thus, a lossless and dependency-preserving BCNF decomposition is not possible for this relation.

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

Published
Report a correction
Keep exploringMore Normal Forms questions