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 11–15 of 35
A database of resear charticles in a journal uses the following schema.
(VOLUME, NUMBER, STARTPAGE, ENDPAGE, TITLE, YEAR, PRICE)
The primary key is (VOLUME, NUMBER, STARTPAGE, ENDPAGE) and the following functional dependencies exist in the schema.
The database is redesigned to use the following schemas.
(VOLUME, NUMBER, STARTPAGE, ENDPAGE, TITLE, PRICE)
(VOLUME, NUMBER, YEAR)
Which is the weakest normal form that the new database satisfies,but the old one does not?
(VOLUME, NUMBER, STARTPAGE, ENDPAGE, TITLE, YEAR, PRICE)
The primary key is (VOLUME, NUMBER, STARTPAGE, ENDPAGE) and the following functional dependencies exist in the schema.
| (VOLUME, NUMBER, STARTPAGE, ENDPAGE) | → | TITLE |
| (VOLUME, NUMBER) | → | YEAR |
| (VOLUME, NUMBER, STARTPAGE, ENDPAGE) | → | PRICE |
(VOLUME, NUMBER, STARTPAGE, ENDPAGE, TITLE, PRICE)
(VOLUME, NUMBER, YEAR)
Which is the weakest normal form that the new database satisfies,but the old one does not?
Answer: (B)
Old schema: the primary key (VOLUME, NUMBER, STARTPAGE, ENDPAGE) decides every other attribute. The dependency (VOLUME, NUMBER) YEAR is a partial dependency, because a part of the key decides a non-key attribute. So the old schema is only in 1NF.
New schemas: YEAR is moved to (VOLUME, NUMBER, YEAR). The partial dependency is gone. In the first schema every non-key attribute depends on the whole key, and the second holds only the dependency on (VOLUME, NUMBER). So both schemas are in BCNF, and so also in 3NF and 2NF.
The new design meets 2NF, 3NF and BCNF, and the old one meets only 1NF. The weakest of these is 2NF.
Answer: (B)
New schemas: YEAR is moved to (VOLUME, NUMBER, YEAR). The partial dependency is gone. In the first schema every non-key attribute depends on the whole key, and the second holds only the dependency on (VOLUME, NUMBER). So both schemas are in BCNF, and so also in 3NF and 2NF.
The new design meets 2NF, 3NF and BCNF, and the old one meets only 1NF. The weakest of these is 2NF.
Answer: (B)
Consider the relation X(P,Q,R,S,T,U) with the following set of functional dependencies
F= {{P,R}{S,T}, {P,S,U}{Q,R} }
Which of the following is the trivial functional dependency in , where is closure of F ?
F= {{P,R}{S,T}, {P,S,U}{Q,R} }
Which of the following is the trivial functional dependency in , where is closure of F ?
Answer: (C)
A dependency is trivial if its right side is a subset of its left side.
- (A) : are not in , so it is not trivial. It is a given FD.
- (B) : is on the left but is not, so it is not trivial.
- (C) : , so it is trivial.
- (D) : is not on the left, so it is not trivial.
Answer: (C)
- (A) : are not in , so it is not trivial. It is a given FD.
- (B) : is on the left but is not, so it is not trivial.
- (C) : , so it is trivial.
- (D) : is not on the left, so it is not trivial.
Answer: (C)
Given the following two statements:
S1: Every table with two single-valued attributes is in 1NF, 2NF, 3NF and BCNF
S2 : ABC, D E, EC is a minimal cover for the set of functional dependencies ABC, DE, AB E,EC.
Which one of the following is CORRECT?
S1: Every table with two single-valued attributes is in 1NF, 2NF, 3NF and BCNF
S2 : ABC, D E, EC is a minimal cover for the set of functional dependencies ABC, DE, AB E,EC.
Which one of the following is CORRECT?
Answer: (A)
S1: Take a table with two attributes . Any non-trivial FD, such as , has a left side that determines both attributes, so it is a superkey. So every FD has a superkey on the left and the table is in BCNF. BCNF implies 3NF, 2NF and 1NF. S1 is TRUE.
S2: In the given set, is redundant, since and . A minimal cover is . The proposed cover leaves out and keeps . Under the proposed set, , which does not contain , so cannot be derived. The two sets are not equivalent, so S2 is FALSE.
Answer: (A)
S2: In the given set, is redundant, since and . A minimal cover is . The proposed cover leaves out and keeps . Under the proposed set, , which does not contain , so cannot be derived. The two sets are not equivalent, so S2 is FALSE.
Answer: (A)
A prime attribute of a relation scheme R is an attribute that appears
Answer: (B)
A prime attribute is an attribute that is part of at least one candidate key.
Answer: in some candidate key of R
Answer: in some candidate key of R
Relation R has eight attributes ABCDEFGH. Fields of R contain only atomic values.
is a set of functional dependencies (FDs) so that is exactly the set of FDs that hold for R.
The relation R is
is a set of functional dependencies (FDs) so that is exactly the set of FDs that hold for R.
The relation R is
Answer: (A)
Find the keys. is on no right side, so every key contains . Closures:
- (via , , ), so .
- , and reach the same set (for example ), so , and are also keys.
Prime attributes: . Non-prime attributes: .
: is only a part of the key , and is non-prime. This is a partial dependency, so R is not in 2NF. Values are atomic, so R is in 1NF.
Answer: (A)
- (via , , ), so .
- , and reach the same set (for example ), so , and are also keys.
Prime attributes: . Non-prime attributes: .
: is only a part of the key , and is non-prime. This is a partial dependency, so R is not in 2NF. Values are atomic, so R is in 1NF.
Answer: (A)
Keep practising