DBMS DPP 2
DBMS DPP 2
DBMS DPP 2
16. The following table has two 18. Consider a relation scheme R = (A,
attributes A and C where A is the B, C, D, E, H) on which the
primary key and C is the foreign following functional dependencies
key referencing A with on-delete hold : {A B, BC D, E C, D A}.
cascade. What are the candidate keys of R?
A C (a) AE, BE (b) AE, BE, DE
------------ (c) AEH, BEH, BCH
2 4 (d) AEH, BEH, DEH
3 4 19. Let R = (A, B, C, D, E, F) be a
4 3 relation scheme with the following
5 2 dependencies: C F, E A, EC D,
7 2 A B. Which of the following is a
9 5 key of R?
6 4 (a) CD (b) EC
The set of all tuples that the must (c) AE (d) AC
be additionally deleted to preserve 20. Consider a scgema R(A,B,C,D) and
refefential integrity when the tuple functional dependencies A B and
(2, 4) is deleted is: C D. Then the decomposition of
(a) (3, 4) and (6, 4) R into R1(AB) and R2(CD) is
(b) (5, 2) and (7, 2) (a) Dependency preserving and
(c) (5, 2), (7, 2) and (9, 5) lossless join
(d) (3, 4), (4, 3) and (6, 4) (b) Lossless join but not dependency
17. Form the following instance of a preserving
relation scheme R(A, B, C), we can (c) Dependency preserving but not
conclude that: lossless join
(d) Not dependency preserving and
not lossless join