Normal Form · Databases
35 questions · asked in 24 of 27 years (2000–2026)
MCQ 31 · MSQ 41-mark 22 · 2-mark 13
2000Questions per year2026
Questions 21–25 of 35
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
Assume {Author, Title} is the key for both schemes. Which of the following statements is true?
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. Which of the following statements is true?
Answer: (C)
The key of both schemes is . The dependencies are:
I.
II.
III.
Collection (Title, Author, Catalog_no): Only I and II apply. In I the left side is a key. By II, covers Title and Author, so is also a key. Every left side is a superkey, so Collection is in BCNF, and BCNF implies 3NF. So "Collection is in 3NF" is true.
Book (Title, Author, Catalog_no, Publisher, Year, Price): The candidate keys are and . The non-prime attributes are Publisher, Year and Price.
- 2NF: Title alone and Author alone are not the left side of any FD, so no part of a key decides a non-prime attribute. There is no partial dependency, so Book is in 2NF.
- 3NF: in III, is not a superkey and Price is non-prime. So Book is not in 3NF (Price depends on the key through Publisher and Year).
So Book is in 2NF and Collection is in 3NF. Option (A) is wrong because Book is not in BCNF. Option (B) is wrong because Book is not in 3NF. Option (D) says "2NF only", which is wrong for Collection, since it is in 3NF.
Answer: (C)
I.
II.
III.
Collection (Title, Author, Catalog_no): Only I and II apply. In I the left side is a key. By II, covers Title and Author, so is also a key. Every left side is a superkey, so Collection is in BCNF, and BCNF implies 3NF. So "Collection is in 3NF" is true.
Book (Title, Author, Catalog_no, Publisher, Year, Price): The candidate keys are and . The non-prime attributes are Publisher, Year and Price.
- 2NF: Title alone and Author alone are not the left side of any FD, so no part of a key decides a non-prime attribute. There is no partial dependency, so Book is in 2NF.
- 3NF: in III, is not a superkey and Price is non-prime. So Book is not in 3NF (Price depends on the key through Publisher and Year).
So Book is in 2NF and Collection is in 3NF. Option (A) is wrong because Book is not in BCNF. Option (B) is wrong because Book is not in 3NF. Option (D) says "2NF only", which is wrong for Collection, since it is in 3NF.
Answer: (C)
Consider the following implications relating to functional and multivalued dependencies given below, which may or may not be correct.
i. if and then
ii. if and then
iii. if and then
iv. if and then
Exactly how many of the above implications are valid?
i. if and then
ii. if and then
iii. if and then
iv. if and then
Exactly how many of the above implications are valid?
Answer: (C)
Useful facts: every FD is also an MVD (replication). If and is all the attributes, the MVD is trivial and holds in every relation.
(i) False. Take with tuples . Both and hold, since the tuples are all combinations of B and C values for the same A. But has two different values of , so fails.
(ii) True. From and , the union rule gives . Every FD is an MVD, so .
(iii) False. Take with tuples . Here is trivial, and holds. But fails, since A has two values of C.
(iv) True. From , the decomposition rule gives . Every FD is an MVD, so .
Exactly two implications, (ii) and (iv), are valid.
Answer: (C)
(i) False. Take with tuples . Both and hold, since the tuples are all combinations of B and C values for the same A. But has two different values of , so fails.
(ii) True. From and , the union rule gives . Every FD is an MVD, so .
(iii) False. Take with tuples . Here is trivial, and holds. But fails, since A has two values of C.
(iv) True. From , the decomposition rule gives . Every FD is an MVD, so .
Exactly two implications, (ii) and (iv), are valid.
Answer: (C)
Which one of the following statements if FALSE?
Answer: (D)
(A) True. Take a relation with attributes . A non-trivial FD makes , so is a superkey. The same holds for . If neither holds, there is no non-trivial FD. So every FD has a superkey on the left, and the relation is in BCNF.
(B) True. A partial dependency needs a proper non-empty subset of a key. A key with one attribute has none, so there is no partial dependency and the relation is in 2NF.
(C) True. 3NF needs, for every non-trivial FD , that is a superkey or every attribute of is prime. So an FD chain key non-key prime attribute is allowed, which is a transitive dependency of a prime attribute, and the relation is still in 3NF.
(D) False. In BCNF the left side of every non-trivial FD must be a superkey. So the chain key non-key prime attribute cannot occur, because the non-key on the left of the second FD would have to be a superkey. A transitive dependency on a prime attribute is not possible.
Answer: (D)
(B) True. A partial dependency needs a proper non-empty subset of a key. A key with one attribute has none, so there is no partial dependency and the relation is in 2NF.
(C) True. 3NF needs, for every non-trivial FD , that is a superkey or every attribute of is prime. So an FD chain key non-key prime attribute is allowed, which is a transitive dependency of a prime attribute, and the relation is still in 3NF.
(D) False. In BCNF the left side of every non-trivial FD must be a superkey. So the chain key non-key prime attribute cannot occur, because the non-key on the left of the second FD would have to be a superkey. A transitive dependency on a prime attribute is not possible.
Answer: (D)
Consider a relation R with five attributes V, W, X, Y, and Z. The following functional dependencies hold:
.
Which of the following is a candidate key for R?
.
Which of the following is a candidate key for R?
Answer: (B)
and never appear on a right side, so they are in every key. , so alone is not a key.
Closures:
- : gives ; then gives . So , and is a key. Its only smaller subset that holds is , which is not a key, so is minimal.
- Similarly and are keys (, , ).
The candidate keys are .
- (A) has no , so it is not a key.
- (C) and (D) are superkeys, but they contain the smaller key , so they are not minimal.
Answer: (B)
Closures:
- : gives ; then gives . So , and is a key. Its only smaller subset that holds is , which is not a key, so is minimal.
- Similarly and are keys (, , ).
The candidate keys are .
- (A) has no , so it is not a key.
- (C) and (D) are superkeys, but they contain the smaller key , so they are not minimal.
Answer: (B)
In a schema with attributes A, B, C, D and E following set of functional dependencies are given
Which of the following functional dependencies is NOT implied by the above set?
Which of the following functional dependencies is NOT implied by the above set?
Answer: (B)
Check each FD by computing the closure of its left side.
- (A) : : gives ; gives ; gives . So , which contains . Implied.
- (B) : : adds nothing new, and no other FD has a left side inside . So , which does not contain . Not implied.
- (C) : : gives ; gives ; gives . So , which contains . Implied.
- (D) : gives , so contains (in fact ). Implied.
Answer: (B)
- (A) : : gives ; gives ; gives . So , which contains . Implied.
- (B) : : adds nothing new, and no other FD has a left side inside . So , which does not contain . Not implied.
- (C) : : gives ; gives ; gives . So , which contains . Implied.
- (D) : gives , so contains (in fact ). Implied.
Answer: (B)
Keep practising