UGC-NET Nov 2017 · Normal Forms (1NF, 2NF, 3NF, BCNF)

MCQ · 2 marks · Problem DBMS-NORM-0028

Consider a relation $R (A, B, C, D, E, F, G, H)$ where each attribute is atomic, and following functional dependencies exist.$ CH \rightarrow G$ $A \rightarrow BC$ $B \rightarrow CFH$ $E \rightarrow A$ $F \rightarrow EG$ The relation $R$ is
  1. A
    In $1NF$ but not in $2NF$
  2. B
    In $2NF$ but not in $3NF$
  3. C
    In $3NF$ but not in $BCNF$
  4. D
    In $BCNF$

Solve it on GATE DA practice →More Relational Model & SQL problems

Show the worked solution\(D\) is on no right side, so it is in every key.\[A^+=A\,BC\,FH\,EG=ABCEFGH,\]so \(AD\) is a key. Likewise \(BD, ED, FD\) are keys, since \(B\to F\to E\to A\). The prime attributes are \(A,B,D,E,F\); the non-prime ones are \(C,G,H\). \(A\to C\): the non-prime \(C\) depends on \(A\), a proper part of the key \(AD\). This is a partial dependency, so \(R\) is not in 2NF. The attributes are atomic, so \(R\) is in 1NF.This question first appeared in GATE CS 2013.Answer: A

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com