Skip to content
Official PYQ · 2014

GATE CS 2014 Set 1 Q30 — Normal Forms

Explain with AI

Given the following two statements: 

S1: Every table with two single-valued attributes is in 1NF, 2NF, 3NF\text{1NF, 2NF, 3NF} and BCNF.\text{BCNF}. 

S2: AB→C,D→E,E→CAB \to C, D \to E, E \to C is a minimal cover for the set of functional dependencies AB→C,D→E,AB→E,E→CAB \to C, D \to E, AB \to E, E \to C.

Which one of the following is CORRECT?

Choose one option
View worked solution

Answer: A

Statement S1 is TRUE:

Consider a relation R(A,B)R(A, B) with two single-valued attributes. Since the attributes are single-valued, it is in 1NF. For any non-trivial functional dependency (FD) X→YX \to Y to exist, the only possibilities are:

  • A→BA \to B: Here, AA is the candidate key, making the left-hand side (LHS) a superkey.
  • B→AB \to A: Here, BB is the candidate key, making the LHS a superkey.
  • Both A→BA \to B and B→AB \to A: Both AA and BB are candidate keys, so the LHS of both FDs are superkeys.
  • No non-trivial FDs exist: BCNF is vacuously satisfied.

In all cases, for every non-trivial FD X→YX \to Y, XX is a superkey. Thus, RR is always in BCNF, which implies it is also in 3NF, 2NF, and 1NF.

Statement S2 is FALSE:

For a set of FDs GG to be a minimal cover of FF, they must be equivalent (F+=G+F^+ = G^+). Let's test the proposed cover G={AB→C,D→E,E→C}G = \{AB \to C, D \to E, E \to C\} against the original set F={AB→C,D→E,AB→E,E→C}F = \{AB \to C, D \to E, AB \to E, E \to C\}:

  • Under GG, the attribute closure of ABAB is: (AB)G+={A,B,C}(AB)^+_G = \{A, B, C\}.
  • Under FF, the attribute closure of ABAB is: (AB)F+={A,B,C,E}(AB)^+_F = \{A, B, C, E\}.

Since AB→EAB \to E cannot be derived from GG, the sets are not equivalent. Thus, GG is not a minimal cover.

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

Published
Report a correction
Keep exploringMore Normal Forms questions