Professional Documents
Culture Documents
/q p:/ htt
Time Allotted : 3 Hours 1. i) a) b) c) d) ii) a) b) c) d) 6102
CS/B.Tech/CSE/New/SEM-6/CS-601/2013
Candidates are required to give their answers in their own words as far as practicable.
( Multiple Choice Type Questions ) Choose the correct alternatives for the following : 10 In the relational modes, cardinality is termed as number of tuples
number of constraints.
pap
GROUP A
wb er.
1 = 10
in a c. ut .
[ Turn over
CS/B.Tech/CSE/New/SEM-6/CS-601/2013 iii) Cartesian product in relational algebra is a) c) a unary operator a ternary operator b) d) a binary operator not defined.
/q p:/ htt
iv) a) b) c) d) definition system. v) a) c) vi) Tuples Tables a) c) not Null 6102
DML is provided for description of logical structure of database addition of new structures in the database system manipulation & processing of database of physical structure of database
pap
2
wb er.
in a c. ut .
any value.
CS/B.Tech/CSE/New/SEM-6/CS-601/2013 vii) In an E-R diagram an entity set is represented by a a) c) rectangle b) d) ellipse circle.
/q p:/ htt
a) c) ix) UNION SQL ? a) c) x) = BETWEEN a) b) c) d) 6102
diamond box
viii) Which of the following operations is used if we are interested in only cetain columns of a table ? PROJECTION b) d) SELECTION JOIN.
Using relational algebra the query that finds customers, who have a balance of over 1000 is
Customer_name( balance > 1000 (Deposit) ) Customer_name( balance > 1000 (Deposit) )
pap
wb er.
b) d) LIKE
All of these.
in a c. ut .
[ Turn over
CS/B.Tech/CSE/New/SEM-6/CS-601/2013 GROUP B ( Short Answer Type Questions ) Answer any three of the following.
/q p:/ htt
2. 3. key. 4. constraint ? 5. 6. system. 7. a) b) c) d) A 6102 BC, CD
5 = 15
Explain in brief 3-schema architecture of DBMS. Explain with example super key, candidate key and primary
What is cardinality ratio ? What is the difference between procedural and non-procedural DML ? What is disjointness
Describe three layer architecture of DBMS. Indicate the advantage of DBMS over conventional file
GROUP C ( Long Answer Type Questions ) Answer any three of the following. What do you mean by integrity constraint ? What is lossless decompostion ? What do you mean by closure ?
R = ( A, B, C, D ) into ( A, B, C ) and ( A, D, E ). Show that this decomposition is lossless decomposition, if the following set F of FDs holds E, B D, E 4 A.
pap
1+2+2
wb er.
15 = 45
in a c. ut .
2+2+2+9
CS/B.Tech/CSE/New/SEM-6/CS-601/2013 8. a) State two-phase commit protocol and discuss the implications of a failure on the part of i) the coordinator a participant, during each of the two phases.
/q p:/ htt
ii) b) c) d) and T3. e) 6102
Describe the wait-die and wound-wait protocols for deadlock prevention. Define three concurrency problems : dirty read, nonrepeatable read, phantoms. Let T1, T2 and T3 be transactions that operate on the same data items A, B and C. Let r1(A) mean that T1 reads A w1(A) means that T1 writes A and so on for T2
S1 : r2(c), r2(B), w2(b), r3(B), r3(C), r1(A), w1(A), w3(B), w3(C), r2(A), r1(B), w1(B), w2(A) Is the schedule serializable ?
What are the roles of Analysis, Redo and Undo phases in the recovery algorithm 'ARIES' ? 5
pap
wb er.
in a c. ut .
4+2+3+3+3 [ Turn over
CS/B.Tech/CSE/New/SEM-6/CS-601/2013 9. a) b) When do we call a relation is in 3NF ? Consider the relation assignment {worker_id,
/q p:/ htt
c) d) Consider the EMPLOYEE, this query. 10. a) b) c) d) transaction ? e) 6102
building_id, startdate, name skilltype} and FDs are {worker_id->name, (worker_id, building_id)->startdate}. Is the relation in 2NF ? If not, then make it in 2NF. Describe Boyce-Codd normal form with example. What is Query Tree ? Why we need query tree ?
What is trnasacton ?
Explain with the help of precedence graph the conflict and non-conflict serializability. 6
pap
query
"SELECT
EMP_NAME PROJECT
FROM WHERE
WORK_ON,
wb er.
in a c. ut .
1+3+4+3+4
/q p:/ htt
a) b) c) Dead lock d) e) B-tree Data Dictionary. 6102
Functional dependency
pap wb er. in a c. ut .
[ Turn over 7