GATE / CS ARCHIVE

GATE CSE 2020 / QUESTION 36

GATE CSE 2020 Q36

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

GATE 2020, Q36 2 marks · MCQ
Report issue

Normalization & Decomposition

Question 36, GATE 2020: R is in 3NF but not BCNF. Which must hold? A a nontrivial FD X→A has nonsuperkey X and prime A; B such an FD has nonprime A and X not a proper subset of any key; C such an FD has nonprime A and X a proper subset of some key; D some cell is a set rather than atomic.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

Worked explanation

For each nontrivial dependency X→A, BCNF requires X to be a superkey. 3NF allows an exception when A is prime, meaning A belongs to at least one candidate key. Because R is not BCNF, at least one dependency violates its determinant requirement. Because R still is 3NF, that violating dependency must meet the prime-attribute exception. This proves A directly. Whether X is or is not a proper subset of a key cannot make a nonprime right-hand side acceptable to 3NF when X is not a superkey. Option D contradicts the ordinary atomic-relation setting.

Derivation and answer

Failure of BCNF guarantees a nontrivial FD X→A with X not a superkey. Since3NF still holds, its permitted exception forces A to be prime, belonging to some candidate key. Thus A. The nonprime alternatives violate 3NF, and set-valued cells violate the assumed first normal form.

Original paper, page 12 · Answer key