1-
|
Which one of the following is correct?
|
|
A -
|
All functional dependencies are many-to-many relationships.
|
|
B -
|
All functional dependencies are many-to-one relationships.
|
|
C -
|
All functional dependencies are one-to-one relationships.
|
|
D -
|
None of the above are true.
|
2-
|
Given the functional dependencies (AB -> C, C -> D) for the relation schema R(ABCD), the
dependency A -> D can be inferred by
|
|
A -
|
the reflexive rule
|
|
B -
|
the augmentation rule
|
|
C -
|
the transitve rule
|
|
D -
|
None of the above
|
3-
|
Given the set of functional dependencies, (AB -> CDE and A -> E), for relation scheme R =
(A,B,C,D,E) we can infer the following:
|
|
A -
|
A is a key for R
|
|
B -
|
BE is a key for R
|
|
C -
|
AB is a key for R
|
|
D -
|
None of the above
|
4-
|
If AB -> CD is one of the functional dependencies, which hold for relation schema R(A,B,C,D), then
|
|
A -
|
AB is a key for R
|
|
B -
|
no two tuples in R can have the same values for A and B
|
|
C -
|
AB is a primary key for R
|
|
D -
|
All of the above
|
5-
|
The functional dependency A -> B for relation schema R(A,B,C,D) implies that
|
|
A -
|
no two tuples in R can have the same value for attribute B
|
|
B -
|
no two tuples in R can have the same value for attribute A
|
|
C -
|
any two tuples in R that have the same value for B must have the same value for A
|
|
D -
|
any two tuples in R that have the same value for A must have the same value for B
|
6-
|
Given only the relation scheme Books(Title,Author,Year,Publisher), we can infer the following
functional dependency
|
|
A -
|
Author,Publisher -> Publisher
|
|
B -
|
Title -> Author
|
|
C -
|
Year -> Publisher
|
|
D -
|
Author -> Publisher
|
7-
|
A relation schema R is in 3rd normal form if
|
|
A -
|
each nonprime attribute in R is fully dependent on every key
|
|
B -
|
All attributes in R have atomic domains
|
|
C -
|
R satisfies 2nd normal form and no nonprime attribute of R is transitively dependent on the primary key
|
|
D -
|
R contains only 3 keys
|
8-
|
Which of the following is a correct statement with respect to relations and keys?
|
|
A -
|
if a set of attributes is a superkey then it is always a key
|
|
B -
|
if a set of attributes is a superkey then every subset is a key
|
|
C -
|
if a set of attributes is a key then it is also a superkey
|
|
D -
|
All of the above
|
9-
|
Consider a relation R(A,B,C,D,E) with the following functional dependencies: ABC -> DE and D ->
AB.
The number of superkeys of R is:
|
|
A -
|
10
|
|
B -
|
11
|
|
C -
|
12
|
|
D -
|
6
|
10-
|
If field A is functionally dependent on field B, then which of the following is true?
|
|
A -
|
For every value of field B there can be many possible value of field B.
|
|
B -
|
For every value of field B there can be only one possible value of field A.
|
|
C -
|
For every value of field A there can be only one possible value of field B.
|
|
D -
|
None of the others.
|