Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Consider the following relational schemes for... Start Learning for Free
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 --> Catalog_no
II. Catalog_no --> Title, Author, Publisher, Year
III. Publisher Title Year --> Price
 
Q. Assume {Author, Title} is the key for both schemes. Which of the following statements is true?
  • a)
    Both Book and Collection are in BCNF
  • b)
    Both Book and Collection are in 3NF only
  • c)
    Book is in 2NF and Collection is in 3NF
  • d)
    Both Book and Collection are in 2NF only
Correct answer is option 'C'. Can you explain this answer?
Verified Answer
Consider the following relational schemes for a library database: Book...
Book (Title, Author, Catalog_no, Publisher, Year, Price)
Collection (Title, Author, Catalog_no)
with in the following functional dependencies:
I. Title, Author --> Catalog_no
II. Catalog_no --> Title, Author, Publisher, Year
III. Publisher, Title, Year --> Price Assume {Author, Title} is the key for both schemes
  • The table "Collection" is in BCNF as there is only one functional dependency “Title Author –> Catalog_no” and {Author, Title} is key for collection.
  • Book is not in BCNF because Catalog_no is not a key and there is a functional dependency “Catalog_no –> Title Author Publisher Year”.
  • Book is not in 3NF because non-prime attributes (Publisher Year) are transitively dependent on key [Title, Author].
  • Book is in 2NF because every non-prime attribute of the table is either dependent on the whole of a candidate key [Title, Author], or on another non prime attribute. In table book, candidate keys are {Title, Author} and {Catalog_no}. In table Book, non-prime attributes (attributes that do not occur in any candidate key) are Publisher, Year and Prince
Please refer Database Normalization | Normal Forms for details of normal forms.
View all questions of this test
Most Upvoted Answer
Consider the following relational schemes for a library database: Book...
Explanation:

BCNF (Boyce-Codd Normal Form) - A relation is in BCNF if and only if every determinant is a candidate key.

3NF (Third Normal Form) - A relation is in 3NF if and only if every non-prime attribute is non-transitively dependent on every candidate key.

2NF (Second Normal Form) - A relation is in 2NF if and only if it is in 1NF and every non-prime attribute is fully functionally dependent on the candidate key.

Given functional dependencies:

I. Title Author -- Catalog_no
II. Catalog_no -- Title, Author, Publisher, Year
III. Publisher Title Year -- Price

Key for both schemes: {Author, Title}

Book Scheme:

The given functional dependencies in the Book scheme are:

Title Author -- Catalog_no
Catalog_no -- Title, Author, Publisher, Year
Publisher Title Year -- Price

1. 1NF (First Normal Form) - The given scheme is already in 1NF as it does not have any repeating groups or multivalued attributes.

2. 2NF (Second Normal Form) - In the given scheme, the non-prime attribute 'Publisher' is dependent only on 'Catalog_no' and not on the entire candidate key {Author, Title}. Therefore, the scheme is not in 2NF.

3. 3NF (Third Normal Form) - In the given scheme, the non-prime attribute 'Year' is dependent only on 'Catalog_no' and not on the entire candidate key {Author, Title}. Therefore, the scheme is not in 3NF.

Collection Scheme:

The given functional dependencies in the Collection scheme are:

Title Author -- Catalog_no

1. 1NF (First Normal Form) - The given scheme is already in 1NF as it does not have any repeating groups or multivalued attributes.

2. 2NF (Second Normal Form) - In the given scheme, there are no non-prime attributes that are not fully functionally dependent on the candidate key {Author, Title}. Therefore, the scheme is in 2NF.

3. 3NF (Third Normal Form) - In the given scheme, there are no non-prime attributes that are non-transitively dependent on the candidate key {Author, Title}. Therefore, the scheme is in 3NF.

Conclusion:

- Book scheme is in 2NF as 'Publisher' is dependent only on 'Catalog_no' and 'Year' is dependent only on 'Catalog_no'.
- Collection scheme is in 3NF as there are no non-transitive dependencies.

Therefore, the correct option is C) Book is in 2NF and Collection is in 3NF.
Explore Courses for Computer Science Engineering (CSE) exam

Similar Computer Science Engineering (CSE) Doubts

Top Courses for Computer Science Engineering (CSE)

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 --> Catalog_noII. Catalog_no --> Title, Author, Publisher, YearIII. Publisher Title Year --> PriceQ. Assume {Author, Title} is the key for both schemes. Which of the following statements is true?a)Both Book and Collection are in BCNFb)Both Book and Collection are in 3NF onlyc)Book is in 2NF and Collection is in 3NFd)Both Book and Collection are in 2NF onlyCorrect answer is option 'C'. Can you explain this answer?
Question Description
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 --> Catalog_noII. Catalog_no --> Title, Author, Publisher, YearIII. Publisher Title Year --> PriceQ. Assume {Author, Title} is the key for both schemes. Which of the following statements is true?a)Both Book and Collection are in BCNFb)Both Book and Collection are in 3NF onlyc)Book is in 2NF and Collection is in 3NFd)Both Book and Collection are in 2NF onlyCorrect answer is option 'C'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about 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 --> Catalog_noII. Catalog_no --> Title, Author, Publisher, YearIII. Publisher Title Year --> PriceQ. Assume {Author, Title} is the key for both schemes. Which of the following statements is true?a)Both Book and Collection are in BCNFb)Both Book and Collection are in 3NF onlyc)Book is in 2NF and Collection is in 3NFd)Both Book and Collection are in 2NF onlyCorrect answer is option 'C'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for 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 --> Catalog_noII. Catalog_no --> Title, Author, Publisher, YearIII. Publisher Title Year --> PriceQ. Assume {Author, Title} is the key for both schemes. Which of the following statements is true?a)Both Book and Collection are in BCNFb)Both Book and Collection are in 3NF onlyc)Book is in 2NF and Collection is in 3NFd)Both Book and Collection are in 2NF onlyCorrect answer is option 'C'. Can you explain this answer?.
Solutions for 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 --> Catalog_noII. Catalog_no --> Title, Author, Publisher, YearIII. Publisher Title Year --> PriceQ. Assume {Author, Title} is the key for both schemes. Which of the following statements is true?a)Both Book and Collection are in BCNFb)Both Book and Collection are in 3NF onlyc)Book is in 2NF and Collection is in 3NFd)Both Book and Collection are in 2NF onlyCorrect answer is option 'C'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of 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 --> Catalog_noII. Catalog_no --> Title, Author, Publisher, YearIII. Publisher Title Year --> PriceQ. Assume {Author, Title} is the key for both schemes. Which of the following statements is true?a)Both Book and Collection are in BCNFb)Both Book and Collection are in 3NF onlyc)Book is in 2NF and Collection is in 3NFd)Both Book and Collection are in 2NF onlyCorrect answer is option 'C'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of 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 --> Catalog_noII. Catalog_no --> Title, Author, Publisher, YearIII. Publisher Title Year --> PriceQ. Assume {Author, Title} is the key for both schemes. Which of the following statements is true?a)Both Book and Collection are in BCNFb)Both Book and Collection are in 3NF onlyc)Book is in 2NF and Collection is in 3NFd)Both Book and Collection are in 2NF onlyCorrect answer is option 'C'. Can you explain this answer?, a detailed solution for 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 --> Catalog_noII. Catalog_no --> Title, Author, Publisher, YearIII. Publisher Title Year --> PriceQ. Assume {Author, Title} is the key for both schemes. Which of the following statements is true?a)Both Book and Collection are in BCNFb)Both Book and Collection are in 3NF onlyc)Book is in 2NF and Collection is in 3NFd)Both Book and Collection are in 2NF onlyCorrect answer is option 'C'. Can you explain this answer? has been provided alongside types of 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 --> Catalog_noII. Catalog_no --> Title, Author, Publisher, YearIII. Publisher Title Year --> PriceQ. Assume {Author, Title} is the key for both schemes. Which of the following statements is true?a)Both Book and Collection are in BCNFb)Both Book and Collection are in 3NF onlyc)Book is in 2NF and Collection is in 3NFd)Both Book and Collection are in 2NF onlyCorrect answer is option 'C'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice 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 --> Catalog_noII. Catalog_no --> Title, Author, Publisher, YearIII. Publisher Title Year --> PriceQ. Assume {Author, Title} is the key for both schemes. Which of the following statements is true?a)Both Book and Collection are in BCNFb)Both Book and Collection are in 3NF onlyc)Book is in 2NF and Collection is in 3NFd)Both Book and Collection are in 2NF onlyCorrect answer is option 'C'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev