GATE / CS ARCHIVE

GATE CSE 2008 / QUESTION 69

Normal forms of Book and Collection

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

GATE 2008, Q69 2 marks · MCQ
Report issue

Normalization & Decomposition

Question 69, GATE 2008: Book(Title,Author,Catalog_no,Publisher,Year,Price) and Collection(Title,Author,Catalog_no) have key {Author,Title}. Dependencies: Title Author→Catalog_no; Catalog_no→Title Author Publisher Year; Publisher Title Year→Price. Which statement is true?

(A) Both are in BCNF
(B) Both are in 3NF only
(C) Book is in 2NF and Collection is in 3NF
(D) Both are in 2NF only
Tap to enlarge
Your answer
Answer & solution

Answer: C (no official key was published)

Step through it (2 parts)

1. In Book, both {Title,Author} and {Catalog_no} are candidate keys. No given dependency makes a nonprime attribute depend on a proper subset of a candidate key, so Book is in 2NF.
2. Publisher,Title,Year→Price violates 3NF because its determinant is not a superkey and Price is nonprime. Collection has only Title, Author and Catalog_no; its nontrivial determinants are candidate keys, so it is BCNF and hence also 3NF.
3. Therefore C is true. The wording of C does not say Collection is only in 3NF.

Original paper, page 14