Consider a relational table R that is in 3NF, but not in BCNF. Which one of the following statements is TRUE?
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2020 · Q36
Time
Select one answerSingle correct
Solution
Official answer: A) R has a nontrivial functional dependency X → A, where X is not a superkey and A is a prime attribute.
Integrity Constraints and Normal FormsA relation is in 3NF if for every non-trivial functional dependency :
is a superkey, OR
is a prime attribute (i.e., part of some candidate key).
A relation is in BCNF if for every non-trivial functional dependency , is a superkey.
Therefore, for a relation to be in 3NF but not in BCNF, there must exist at least one non-trivial functional dependency where is not a superkey, while is a prime attribute.
(A) is TRUE as it directly describes the condition under which 3NF holds while BCNF is violated.
(B) describes a transitive dependency involving a non-prime attribute, which violates 3NF.
(C) describes a partial dependency, which violates 2NF.
(D) describes non-atomic attributes, which violates 1NF.
Try the question first, then check your work.
Examiner trap
Recall the definitions of 3NF and BCNF: in 3NF, a dependency is allowed even if is not a superkey, provided is a prime attribute.
This Integrity Constraints and Normal Forms previous year question is Q36 of the GATE CSE 2020 paper. Find more GATE CSE PYQs on Integrity Constraints and Normal Forms in Databases, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Integrity Constraints and Normal Forms PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
Integrity Constraints and Normal Forms has 30 GATE CSE PYQs across 20 papers from 2011 to 2026. 7 of them are 2-mark MCQs like this one, and it is the only one in GATE CSE 2020.
How GATE tests Integrity Constraints and Normal FormsIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.