Functional Dependency-II
Functional Dependency-II
(a) 2 NF (b) 5 NF
(c) 4 NF (d) 3 NF
2. Let R = (a, b, c, d, e, f) be a relation scheme with the following dependencies c → f, e → a,
ec → d. a → b. Which of the following is a key for R?
(a) CD (b) EC
(c) AE (d) AC
3. Consider a schema R(A, B, C, D) and functional dependencies A (fd) B and C (fd) D. Then
the decomposition of R into R1 (AB) and R2(CD) is
(a) dependency preserving and lossless join
(b) lossless join but not dependency preserving
(c) dependency preserving but not lossless join
(d) not dependency preserving and not lossless join
4. 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
(a) Zero (b) More than zero but less than that of an
equivalent 3NF decomposition
(c) Proportional to the size of F+ (d) Indeterminate
5. Which one of the following statements about normal forms is FALSE?
(a) BCNF is stricter than 3NF
(b) Lossless, dependency-preserving decomposition into 3NF is always possible
(c) Lossless, dependency-preserving decomposition into BCNF is always possible
(d) Any relation with two attributes is in BCNF
6. A table has fields Fl, F2, F3, F4, F5 with the following functional dependencies F1 → F3
F2→ F4 (F1 . F2) → F5 In terms of Normalization, this table is in
(A) 1 NF (B) 2 NF
(C) 3 NF (D) none
7. Which of the following is TRUE?
(A) Every relation in 3NF is also in BCNF
(B) A relation R is in 3NF if every non-prime attribute of R is fully functionally dependent
on every key of R
(C) Every relation in BCNF is also in 3NF
(D) No relation can be in both BCNF and 3NF
8. The Maximum number of superkeys for the relation schema R(E,F,G,H) with E as the key
is_____
9. Consider the relation scheme R = (E,F,G,H,I,J,K,L,M,N) and the set of functional
dependencies {{E,F} → {G}, {F} → {I, J}, {E, H} → {K, L}, {K} → {M}, {L} → {N}} on R. What is the
key for R ?
A) {E, F}
B) {E, F, H}
C) {E, F, K, L}
D) {E}
10. A Prime Attribute a relation scheme R is an attribute that appears
(A) in all candidate keys of R.
(B) in some candidate key of R.
(C) in a foreign key of R.
(D) only in the primary key of R.
11. State True or False with reason There is always a decomposition into Boyce-Codd normal
form (BCNF) that is lossless and dependency preserving.
12. Consider the relation scheme R(A, B, C) with the following functional dependencies:
A, B → C, C → A
(a) Show that the scheme R is the Third Normal Form (3NF) but not in Boyce- Code
Normal Form (BCNF).
(b) Determine the minimal keys of relation R.
13. For a database relation R(a,b,c,d), where the domains of a, b, c, d include only atomic
values, only the following functional dependencies and those that can be inferred from
them hold: a→c b→d
This relation is:
(a) in first normal form but not in second normal form
(b) in second normal form but not in third normal form
(c) in third normal form
(d) None of the above
14. Let R (a, b, c) and S(d, e, f) be two relations in which d is the foreign key of S that refers
to the primary key of R. Consider the following four operations R and S
(a) Insert into R (b) Insert into S
(c) Delete from R (d) Delete from S
Which of the following is true about the referential integrity constraint above?
(a) None of (a), (b), (c) or (d) can cause its violation
(b) All of (a), (b), (c) and (d) can cause its violation
(c) Both (a) and (d) can cause its violation
(d) Both (b) and (c) can cause its violation
15. Consider the following database relations containing the attributes
Book – id
Subject – Category – of – book
Name – of – Author
Nationality – of – Author
With book – id as the primary key.
(a) What is the highest normal form satisfied by this relation?
(b) Suppose the attributes Book – title and Author – address are added to the relation,
and the primary key is changed to {Name – of – Author, Book – title}, what will be the
highest normal form satisfied by the relation?
16. Consider the schema R = (S T U V) and the dependencies S → T, T → U. U → V and V → S.
Let R = (R1 and R2) be a decomposition such that R1 ∩ R2 = Ø. The decomposition is
(a) not in 2NF
(b) in 2NF but not 3NF
(c) in 3NF but not in 2NF
(d) in both 2NF and 3NF
17. Given the following relation instance