GATE CS 2008 · Normal Forms (1NF, 2NF, 3NF, BCNF)

MCQ · 2 marks · Problem DBMS-NORM-0076

Consider the following relational schemes for a library database:Book (Title, Author, Catalog_ no, Publisher, Year, Price)Collection (Title,Author, Catalog_ no)with in the following functional dependencies:I. Title Author \(\rightarrow\) Catalog_noII. Catalog_no \(\rightarrow\) Title Author Publisher YearIII. Publisher Title Year \(\rightarrow\) PriceAssume {Author, Title} is the key for both schemes. Which of the following statements is true?
  1. A
    Both Book and Collection are in BCNF
  2. B
    Both Book and Collection are in 3NF only
  3. C
    Book is in 2NF and Collection is in 3NF
  4. D
    Both Book and Collection are in 2NF only

Solve it on GATE DA practice →More Relational Model & SQL problems

Show the worked solutionBook: from I and II, both \(\{\text{Title, Author}\}\) and \(\{\text{Catalog\_no}\}\) are keys. The non-prime attributes are Publisher, Year and Price. III, \(\text{Publisher, Title, Year}\to\text{Price}\), has a non-key left side, so Price depends on the key transitively and 3NF fails. No non-prime attribute depends on a proper part of a key, so Book is in 2NF. Collection(Title, Author, Catalog\_no): the only FDs are \(\text{TA}\to\text{Catalog\_no}\) and \(\text{Catalog\_no}\to\text{TA}\). Both left sides are keys, so Collection is in BCNF, and hence in 3NF. So Book's highest form is 2NF and Collection is at least 3NF.The same question was asked again in UGC-NET (June 2014).Answer: C

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com