Skip to content
Mad4Study

Engineering & Science

GATE Computer Science

  • GATE CS
  • 2026–27 pattern practice
  • Databases
  • Functional dependencies
  • Easy

Relation R(A, B, C, D) has functional dependencies A → B, B → C and C → D. What is its candidate key?

Normalization

Pick an option to check your answer.

The closure A+={A,B,C,D}A^+ = \{A, B, C, D\} covers every attribute, so AA is a superkey. A single attribute is minimal, so it is a candidate key. No other attribute determines AA, so every key must contain AA.

Why not the others

  • AB is a superkey but not minimal (BB is redundant).
  • D has D+={D}D^+ = \{D\}.
  • BC has (BC)+={B,C,D}(BC)^+ = \{B, C, D\}, missing AA.

Report an error

GATE CS · Databases · Normalization