Professional Documents
Culture Documents
DATABASE MANAGEMENT SYSTEMS (18CS1T02) - End Term Exam - 2020-2021
DATABASE MANAGEMENT SYSTEMS (18CS1T02) - End Term Exam - 2020-2021
1 Answer All
a Differentiate database schema and database state.
1
b P
1
A B
a1 b1
a2 b1
a3 b1
a4 b2
a1 b2
a5 b1
a5 b2
Q
B
b1
b2
Find P ÷ Q ?
c Define 4NF.
1
d What is a query graph?
1
e What do you understand by compatibility mode of locking?
1
f What is a distributed database system? What are its limitations?
1
2 Answer All
a With suiatble example explain the differnce among relational model, network model and
3
hierarchical model.
b Given: R: A B C S: D C F 3
x 1 2 x 3 4
y 2 3 z 2 3
z 3 4
Evaluate the following relational algebra operators :
a) R U S b) R - S c) R X S d) R |X| S
c Given
3
R = {A, B, C, D, E, F, G, H, I, J}
F = { (A,B) → C, A → (D,E), B → F, F → (G,H), D → (I,J)}.
Determine if the following decomposition satisfies the lossless join property.
D= {R1, R2, R3, R4, R5} ; R1 = {A,B,C} R2 = {A,D,E}, R3 = {B,F} R4 =
{F,G,H} R5 = {D,I,J}
d What is the advantage of multi-level indexing? Explain with a suitable example.
3
e What is a transaction? Draw the state transition diagram of a transaction and explain each state
3
briefly.
f Differentiate between horizontal fragmentation and vertical fragmentation with suitable
3
examples.
3 Answer any One
a Draw the architecture of database system. Discuss each component of database system in
6
details.
b Convert the following ER-diagram into Relational model.
6
1. S1:r1(X);r3(Y);r3(X);r2(Y);r2(Z);w3(Y);w2(Z);r1(Z);w1(X);w1(Z)
2. S2: r1(X); r3(Y); r2(Y); r3(X); r1(Z);r2(Z); w3(Y); w1(X); w2(Z); w1(Z).
b Test whether the following schedules are conflict serializable or not. If they are, then obtain
6
their equivalent serial schedules :
i) S1 : r1(x) ; r1(y) ; r2(x) ; r2(y) ; w2(y) ; w1(x) ;
ii) S2 : r1(x) ; r2(x) ; r2(y) ; w2(y) ; r1(y) ; w1(x) ;