DBMS Q1
DBMS Q1
DBMS Q1
1. For a database relation R (a,b,c,d) where the domains of a,b,c and d only include atomic
values, only the following functional dependency and those that can be inferred from them
hold:a c , b d
Next consider the following set of decompositions for the relation schema R:
D 1= {R1,R2,R3 ,R4}: R1={M,N,O,P}, R2={M,P,Q}, R3= {N,R}, R4={R,S,T}
D 2= {R1,R2,R3 ,R4}: R1={M,N,O}, R2= {P,Q}, R3= {N,R}, R4= {R,S,T}
Which of the above decomposition (1) has/ have lossless join property?
1
A. Only D1 B. Only D2 C.Both D1 and D2 D. Neither D1 nor D2
7. Consider the following set of functional dependency on the scheme (A, B,C)
ABC, BC, A B, ABC
9. The following functional dependency hold for relations R(A,B,C) and S(B,D,E):
B A, A C
The relation R contains 200 tuples and the relation contains 100 tuples. What is the maximum
number of tuples possible in natural join R S?
10. Which normal form is considered adequate for relational database design?
A. 2NF B. 3NF C. 4NF D. BCNF
12. If every non-key attribute is functionally dependent on the primary key then the relation will
be in:
A. 1NF B. 2NF C. 3NF D. 4NF
2
The decomposition is:
A. Not in 2NF
B. In 2NF but not in 3NF
C. In 3NF but not in 2NF
D. In both 2NF and 3 NF
A. Dependency preservation
B. BCNF definition
C. Both (A) and (B)
D. 3NF definition
16. The relation schema: student_performance (name, course_number, roll_number, grade) has
the following functional dependencies:
name, course_number grade
roll_number, course_number grade
nameroll_number
roll_number name
17. Relation R has attributes A, B, C, D, E, F, G, H, I and J and satisfies the following functional
dependencies:
ABD E
CJ
B G
CI I
B F
G HI
3
18. Consider the 2 relation schema: R1= (A, B, C, D, E) and R2= (A, B, C, D, E).
Statement 1 is the FD of R 1 and statement 2 is the FD of R2 .
1. A B, AB C, D AC, D E
2. A BC, D AE
20. A relation empdtl is defined with attribute empcode(unique), name, street, city, state and
pincode. For any pincode, there is only one city and state. Also for any given street, city and
state there is just one pincode. In normalization, empdtl is a relation in:
A. 1NF
B. 2NF and hence also in 1NF
C. 3NF and hence also in 2NF and 1NF
D. BCNF and hence also in 3NF, 2NF and 1NF