Skip to content
Mad4Study

Engineering & Science

GATE Computer Science

  • GATE CS
  • 2026–27 pattern practice
  • Databases
  • Normal forms
  • Medium

Relation R(A,B,C,D)R(A, B, C, D) has functional dependencies AB→CAB \to C, C→DC \to D and D→AD \to A. What is the highest normal form RR satisfies?

Normalization

Pick an option to check your answer.

Candidate keys: AB+=ABCDAB^+ = ABCD, BC+=ABCDBC^+ = ABCD (via C→DC \to D, D→AD \to A) and BD+=ABCDBD^+ = ABCD (via D→AD \to A, AB→CAB \to C), and none of their proper subsets is a key. So the keys are ABAB, BCBC and BDBD, and every attribute is prime.

3NF: an FD X→YX \to Y is allowed when XX is a superkey or YY is prime. Here every right-hand side (CC, DD, AA) is prime, so RR is in 3NF.

BCNF: every determinant must be a superkey. C→DC \to D and D→AD \to A violate this (C+=ACDC^+ = ACD and D+=ADD^+ = AD), so RR is not in BCNF.

Why not the others

  • BCNF fails because of C→DC \to D and D→AD \to A.
  • 2NF holds, but it is not the highest: with every attribute prime there are no partial dependencies on a non-prime attribute, and 3NF also holds.
  • 1NF only ignores that 2NF and 3NF both hold.

Report an error

GATE CS · Databases · Normalization