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 6–10 of 35
Suppose the following functional dependencies hold on a relation U with attributes :
Which of the following functional dependencies can be inferred from the above functional dependencies?
Which of the following functional dependencies can be inferred from the above functional dependencies?
One or more options are correct.
Answer: (A), (C), (D)
Let us test each statement one by one:
- by decomposition. This is True.
- by augmentation, and then . This is True.
- . This is True.
- : here , so it cannot be implied. This is False.
Answer:
- by decomposition. This is True.
- by augmentation, and then . This is True.
- . This is True.
- : here , so it cannot be implied. This is False.
Answer:
Consider a relational table R that is in 3NF, but not in BCNF. Which one of the following statements is TRUE?
Answer: (A)
A relation in 3NF can have where X is not a superkey, but only if A is a prime attribute. BCNF does not allow this.
So a relation that is in 3NF but not in BCNF must have such an FD, with A prime. The other options talk about 3NF/2NF violations or a 1NF violation.
Answer: X A where X is not a superkey and A is a prime attribute
So a relation that is in 3NF but not in BCNF must have such an FD, with A prime. The other options talk about 3NF/2NF violations or a 1NF violation.
Answer: X A where X is not a superkey and A is a prime attribute
Let the set of functional dependencies hold on a relation schema X = (PQRS). X is not in BCNF. Suppose X is decomposed into two schemas Y and Z where Y = (PR) and Z = (QRS).
Consider the two statements given below:
I. Both Y and Z are in BCNF
II. Decomposition of X into Y and Z is dependency preserving and lossless.
Which of the above statements is/are correct?
Consider the two statements given below:
I. Both Y and Z are in BCNF
II. Decomposition of X into Y and Z is dependency preserving and lossless.
Which of the above statements is/are correct?
Answer: (C)
Keys of X: R is on no right side, and . and (since ), so the keys are and .
Statement I:
- Y(P, R): the dependency is , and is the key, so Y is in BCNF.
- Z(Q, R, S): the dependencies are and . In , is not a superkey of Z, so Z is not in BCNF. So I is false.
Statement II:
- Dependency preserving: sits in Y. and sit in Z. All three are kept.
- Lossless: the common attribute is , and makes a key of Y. So the join is lossless. II is true.
Answer: (C)
Statement I:
- Y(P, R): the dependency is , and is the key, so Y is in BCNF.
- Z(Q, R, S): the dependencies are and . In , is not a superkey of Z, so Z is not in BCNF. So I is false.
Statement II:
- Dependency preserving: sits in Y. and sit in Z. All three are kept.
- Lossless: the common attribute is , and makes a key of Y. So the join is lossless. II is true.
Answer: (C)
Consider the following four relational schemas. For each schema, all non-trivial functional dependencies are listed. The underlined attributes are the respective primary keys.
Schema I: Registration (rollno, courses)
Field 'courses' is a set-valued attribute containing the set of courses a student has registered for.
Non-trivial functional dependency:
rollno → courses
Schema II: Registration (rollno, courseid, email)
Non-trivial functional dependencies:
rollno, courseid → email
email → rollno
Schema III: Registration (rollno, courseid, marks, grade)
Non-trivial functional dependencies:
rollno, courseid → marks, grade
marks → grade
Schema IV: Registration (rollno, courseid, credit)
Non-trivial functional dependencies:
rollno, courseid → credit
courseid → credit
Which one of the relational schemas above is in 3NF but not in BCNF?
Schema I: Registration (rollno, courses)
Field 'courses' is a set-valued attribute containing the set of courses a student has registered for.
Non-trivial functional dependency:
rollno → courses
Schema II: Registration (rollno, courseid, email)
Non-trivial functional dependencies:
rollno, courseid → email
email → rollno
Schema III: Registration (rollno, courseid, marks, grade)
Non-trivial functional dependencies:
rollno, courseid → marks, grade
marks → grade
Schema IV: Registration (rollno, courseid, credit)
Non-trivial functional dependencies:
rollno, courseid → credit
courseid → credit
Which one of the relational schemas above is in 3NF but not in BCNF?
Answer: (B)
Let us check each schema one by one:
- I: A set-valued attribute breaks 1NF.
- II: The keys are (rollno, courseid) and (email, courseid). In email rollno, email is not a superkey. But rollno is a prime attribute so this is allowed in 3NF but not in BCNF. True
- III: marks grade is a transitive dependency and grade is a non-prime attribute so it is not in 3NF.
- IV: courseid credit is a partial dependency so it is not in 2NF.
Answer: Schema II
- I: A set-valued attribute breaks 1NF.
- II: The keys are (rollno, courseid) and (email, courseid). In email rollno, email is not a superkey. But rollno is a prime attribute so this is allowed in 3NF but not in BCNF. True
- III: marks grade is a transitive dependency and grade is a non-prime attribute so it is not in 3NF.
- IV: courseid credit is a partial dependency so it is not in 2NF.
Answer: Schema II
The following functional dependencies hold true for the relational schema R{V,W,X,Y,Z}:
V W
VW X
Y VX
Y Z
Which of the following is irreducible equivalent for this set of functional dependencies ?
V W
VW X
Y VX
Y Z
Which of the following is irreducible equivalent for this set of functional dependencies ?
Answer: (A)
Find the minimal (irreducible) cover.
1. Split right sides: .
2. In , is extra, since . So it becomes .
3. is redundant, since and .
4. The rest are needed: , and cannot be derived from the others.
Minimal cover: .
Options (C) and (D) keep the redundant . Option (B) has , which does not follow from the given set because .
Answer: (A)
1. Split right sides: .
2. In , is extra, since . So it becomes .
3. is redundant, since and .
4. The rest are needed: , and cannot be derived from the others.
Minimal cover: .
Options (C) and (D) keep the redundant . Option (B) has , which does not follow from the given set because .
Answer: (A)
Keep practising