GATE / CS ARCHIVE

GATE CSE 2022 / QUESTION 14

GATE CSE 2022 Q14

Database Management Systems · Normalization & Decomposition · Full GATE CSE 2022 paper

GATE 2022, Q14 1 mark · MCQ
Report issue

Normalization & Decomposition

Question 14, GATE 2022: Which relational-model statement is true under the intended textbook interpretation? A every two-attribute relation is BCNF; B all attributes prime implies BCNF; C every relation has a nonprime attribute; D BCNF decompositions preserve functional dependencies. Discuss any needed qualification.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

Our answer: A under the nonempty-determinant convention

With two attributes A, B and nonempty determinants, the only potentially nontrivial dependencies are A→B and B→A; either determinant is a key. Thus the relation is BCNF, intended A. All-prime attributes do not suffice: R(A, B, C) with AB→C and C→B has keys AB and AC but violates BCNF. BCNF decomposition need not preserve all dependencies. Literal qualification: empty determinants are legal in general FD theory. If ∅→A holds in R(A, B) while B varies, ∅ is not a superkey, so this binary relation is not BCNF. Official A therefore needs the usual exclusion of constant-column dependencies, which the prompt does not state.

BCNF requires every determinant of a nontrivial functional dependency to be a superkey. For the three-attribute counterexample, AB and AC each determine all attributes, so all attributes are prime, but C alone determines B without determining A. This also illustrates why “prime” is weaker than the BCNF determinant condition. Keep the empty-determinant exception separate from the intended exam convention.

Original paper, page 12 · Answer key