Skip to content
Mad4Study

Engineering & Science

GATE Computer Science

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

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

Normalization

Pick an option to check your answer.

Find the candidate keys first. (AB)+={A,B,C}(AB)^+ = \{A, B, C\}, so ABAB is a key. (AC)+(AC)^+: C→BC \to B adds BB, giving {A,B,C}\{A, B, C\}, so ACAC is also a key. Every attribute (AA, BB, CC) therefore belongs to some key, so all are prime and 3NF holds automatically. BCNF needs every determinant to be a superkey, but CC alone is not, so the answer is 3NF but not BCNF.

Why not the others

  • BCNF fails because in C→BC \to B the determinant CC is not a superkey (C+={B,C}C^+ = \{B, C\}).
  • 2NF but not 3NF is too low: 3NF only fails when a non-prime attribute depends transitively on a key, and here there are no non-prime attributes.
  • 1NF but not 2NF would need a non-prime attribute depending on part of a key; every attribute here is prime, so 2NF holds.

Report an error

GATE CS · Databases · Normalization