- GATE CS
- 2026–27 pattern practice
- Databases
- Normal forms
- Medium
Relation has functional dependencies , and . What is the highest normal form satisfies?
Normalization
Pick an option to check your answer.
Answer: D. Solution
Candidate keys: , (via , ) and (via , ), and none of their proper subsets is a key. So the keys are , and , and every attribute is prime.
3NF: an FD is allowed when is a superkey or is prime. Here every right-hand side (, , ) is prime, so is in 3NF.
BCNF: every determinant must be a superkey. and violate this ( and ), so is not in BCNF.
Why not the others
- BCNF fails because of and .
- 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.