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 31–35 of 35
Consider the following functional dependencies in a database:
The relation (Roll_number,Name,Date_of_Birth,Age) is
The relation (Roll_number,Name,Date_of_Birth,Age) is
Answer: (D)
Only three of the given FDs hold for this relation:
- Date_of_Birth Age
- Name Roll_number
- Roll_number Name
The candidate keys are (Date_of_Birth, Name) and (Date_of_Birth, Roll_number).
Here we see a partial dependency (Date_of_Birth Age), and Age is not a prime attribute. So the relation is only in 1NF.
The answer is option (D).
Relation R is decomposed using a set of functional dependencies, F ,and relation S is decomposed using another set of functional dependencies, G. One decomposition is definitely BCNF , the other is definitely. 3NF , but it is not known which is which. To make a guaranteed identification, which one of the following tests should be used on the decompositions ? (Assume that the closures of F and G are available).
Answer: (C)
Every BCNF relation is also in 3NF, so we need a test that only the BCNF decomposition can pass.
(A) Dependency preservation does not tell them apart. A BCNF decomposition may or may not preserve the dependencies, and so may a 3NF decomposition.
(B) Lossless join does not tell them apart. Either kind of decomposition can be lossless or lossy; the normal form does not decide it.
(C) The BCNF definition does. Using the closures, check that the left side of every non-trivial FD in each relation is a super key. The BCNF decomposition passes. The 3NF decomposition is the one that fails.
(D) The 3NF definition does not tell them apart. A BCNF relation is also in 3NF, so both decompositions pass.
Answer: (C)
(A) Dependency preservation does not tell them apart. A BCNF decomposition may or may not preserve the dependencies, and so may a 3NF decomposition.
(B) Lossless join does not tell them apart. Either kind of decomposition can be lossless or lossy; the normal form does not decide it.
(C) The BCNF definition does. Using the closures, check that the left side of every non-trivial FD in each relation is a super key. The BCNF decomposition passes. The 3NF decomposition is the one that fails.
(D) The 3NF definition does not tell them apart. A BCNF relation is also in 3NF, so both decompositions pass.
Answer: (C)
Relation R with an associated set of functional dependencies, F , is decomposed into BCNF. The redundancy (arising out of functional dependencies) in the resulting set of relations is.
Answer: (A)
A relation is in BCNF when, for every non-trivial FD that holds, is a super key.
Redundancy caused by an FD needs two tuples with the same value, so that the value is stored twice. If is a super key, no two tuples share an value, so this cannot happen. So a BCNF decomposition has no redundancy that comes from functional dependencies. Other kinds of redundancy, such as those from multivalued dependencies, can still remain, but the question asks only about FD redundancy.
(B) is wrong because the redundancy is zero, and a 3NF decomposition cannot have less than zero. (C) and (D) are wrong because the redundancy is exactly zero, whatever the size of .
Answer: (A)
Redundancy caused by an FD needs two tuples with the same value, so that the value is stored twice. If is a super key, no two tuples share an value, so this cannot happen. So a BCNF decomposition has no redundancy that comes from functional dependencies. Other kinds of redundancy, such as those from multivalued dependencies, can still remain, but the question asks only about FD redundancy.
(B) is wrong because the redundancy is zero, and a 3NF decomposition cannot have less than zero. (C) and (D) are wrong because the redundancy is exactly zero, whatever the size of .
Answer: (A)
R,(A,B,C,D) is a relation. Which of the following does not have a lossless join, dependency preserving BCNF decomposition ?
Answer: (C)
For each option, find the keys, split the relation so that every part is in BCNF, and check that the join is lossless and every FD is kept.
(A) . The key is . Split into and . In the key is ; in it is , and each FD has the key of its relation on the left, so both are in BCNF. The common attribute is a key of , so the join is lossless. Each FD sits inside one relation, so both are preserved.
(B) . The key is . Split into , and . The left side of each FD is the key of its relation, so all three are in BCNF. Joining and on (a key of ), then joining on (a key of ), is lossless. All three FDs are preserved.
(D) . is a key of , so is already in BCNF. It can be kept as it is, or split into , , ; each has key , the join on is lossless, and every FD is preserved.
(C) . The keys are and . Since is not a super key, breaks BCNF in , so must be split. To preserve , the attributes must stay together in one relation. That relation is either or . In , holds and is not a super key. In , violates BCNF. So no dependency-preserving decomposition is in BCNF.
The question asks for the set that does not have such a decomposition.
Answer: (C)
(A) . The key is . Split into and . In the key is ; in it is , and each FD has the key of its relation on the left, so both are in BCNF. The common attribute is a key of , so the join is lossless. Each FD sits inside one relation, so both are preserved.
(B) . The key is . Split into , and . The left side of each FD is the key of its relation, so all three are in BCNF. Joining and on (a key of ), then joining on (a key of ), is lossless. All three FDs are preserved.
(D) . is a key of , so is already in BCNF. It can be kept as it is, or split into , , ; each has key , the join on is lossless, and every FD is preserved.
(C) . The keys are and . Since is not a super key, breaks BCNF in , so must be split. To preserve , the attributes must stay together in one relation. That relation is either or . In , holds and is not a super key. In , violates BCNF. So no dependency-preserving decomposition is in BCNF.
The question asks for the set that does not have such a decomposition.
Answer: (C)
Given the following relation instance.
Which of the following functional dependencies are satisfied by the instance?
Which of the following functional dependencies are satisfied by the instance?
Answer: (B)
An FD holds when rows with the same value always have the same value. If all values are different, it holds automatically.
All values (4, 5, 6, 2) are different, so any FD with or on the left holds. So and both hold, which is option (B).
The other options each have a violated FD:
(A) fails: appears with and .
(C) fails: appears with and .
(D) fails: appears with and .
Answer: (B)
All values (4, 5, 6, 2) are different, so any FD with or on the left holds. So and both hold, which is option (B).
The other options each have a violated FD:
(A) fails: appears with and .
(C) fails: appears with and .
(D) fails: appears with and .
Answer: (B)
Keep practising