GATE / CS ARCHIVE

GATE CSE 2016 SET 1 / QUESTION 23

GATE CSE 2016 Set 1 Q23

Database Management Systems · Normalization & Decomposition · Full GATE CSE 2016 Set 1 paper

GATE 2016 Set 1, Q23 1 mark · MCQ
Report issue

Normalization & Decomposition

Question 23, GATE 2016: An article relation has attributes Volume,Number,StartPage,EndPage,Title,Year,Price. Its primary key K is (Volume,Number,StartPage,EndPage), with FDs K→Title, (Volume,Number)→Year, K→Price. It is decomposed into (Volume,Number,StartPage,EndPage,Title,Price) and (Volume,Number,Year). What is the weakest normal form the new database satisfies but the old one does not? A:1NF. B:2NF. C:3NF. D:BCNF.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Step through it (3 parts)

The old relation has a partial dependency (Volume, Number)→Year from a proper subset of the composite key to a nonprime attribute, violating 2NF. Splitting off(Volume, Number, Year) removes it; under the supplied FDs both resulting determinants are keys. The weakest newly satisfied form is 2NF, B, although the new schemas also satisfy higher forms under these dependencies.

Second normal form forbids a nonprime attribute from depending on only part of a candidate key. Year violates precisely this condition because Volume and Number are a proper subset of K. In the new Year relation, that pair is the whole key, so its dependency is no longer partial. In the other relation, Title and Price depend on its full key. The word weakest is decisive: even if BCNF also holds under the stated FDs,2NF is the first level crossed.

Original paper, page 11 · Answer key