DBMS Ca3
DBMS Ca3
DBMS (PCC-CS601)
Question Bank for CA3 Exam
Group-A [ True/False, Fill in the Bank, MCQ]
1. Mark each of the following statements as true or false.
(a) A derived attribute is an attribute whose values are computed from other attribute T
(b) Composite attributes cannot be divided into smaller subparts F
(c) Complex attribute is formed by nesting composite attributes and multivalued attributes in an
arbitrary way T
(d) Physical data independence and logical data independence are the same? F
(e) Outer-join is an extension of the join operation to deal with missing information. T
(f) It is always possible to obtain a third normal form design without sacrificing a lossless join or
dependency preservation. T
(g) Foreign key values can be NULL. T
(h) A table cannot be joined to itself. F
(i) In SQL relation, duplicate may present T
is applied first.
(i) _____________
External Schema defines the view(s) of the database for a particular user(s).
3. Each question below has multiple choices of answers. Choose the most appropriate one.
(a) In the context of an E-R diagram which one of the following statements is correct?
(i) Ellipses are used to represent entity sets. (ii) Ellipses are used to represent relationship sets
(ii) Dashed Ellipses are used to represent derived attributes (iv) Diamonds are used to represent
attributes
(b) Which of the following operations is used if we are interested in only certain columns of a table ?
(i) PROJECTION (ii) SELECTION (iii) UNION (iv) JOIN
(c.) Transitive dependency is removed in
(i) 1 NF (ii) 2 NF (iii) 3 NF (iv) 4 NF
(d) Relational Algebra is
(i) procedural (ii) non-procedural (iii) object oriented (iv) none of these
4. (a)Explain the difference between physical and logical data independence.
(b) Write the role of a DBA 3+2 = 5
16.Relation R with eight attributes R(A, B, C, D, E, F, G, H) contains only atomic values and the FDs of
R is as below
F = { CH → G, A → BC , B → CFH , E → A , F → EG }
Find all candidate keys of the relation R. 5
17.Consider the following relation schema: 2+2+1
Student (ssn, name, address, major)
Course (code, title)
Registered (ssn, code)
(a) Write Relational Algebra expression SSNs of students who are registered for both ‘Database
Systems’ and ‘Analysis of Algorithms’.
(b)Write SQL to display SSNs of students who are registered for both ‘Database Systems’ and ‘Analysis
of Algorithms’.
(c) Write Relational Algebra expression to rename Course relation into Subject.
18.Let R= (A, B, C, D, E, I) and F={AB →E, BE →I, E →C,CI →D}. Show F|= AB →CD 5
19. Given a relation schemaR(A, B, C, D) and fd set F= {AB→C,ABD→C, ABC→D,AC→D} Is the relation
R is in 2NF? 5
20.Identify the highest normal form given a relation schema R(A, B, C, D, E) and set of fd set F= {A→B,
B→C, C→D, D→A } 5