Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Total No. of Questions : 10] SEAT No.

P3382 [Total No. of Pages : 3


[5353] - 582

2
0:2
T.E. (Computer Engineering)

4:0
DATABASE MANAGEMENT SYSTEM

81
5/2 1
9
01
(2015 Pattern)
8 0 30
.23 01
Time : 2½ Hours] [Max. Marks : 70
4/0
Instructions to the candidates:
8.2 G
P

1) Answer Q.1 or Q.2, Q.3 or Q.4, Q.5 or Q.6, Q.7 or Q8, Q.9 or Q.10.
.24 CE

2) Neat diagrams must be drawn wherever necessary.


16

3) Figures to the right indicate full marks.

2
4) Assume suitable data, if necessary.

0:2
49

4:0
Q1) a) Explain the concepts of Referential Integrity Constraint and Entity Integrity
81
91
Constraint with example. [5]
01
30

b) Write the PL/SQL block of code to calculate the factorial value of a


5/2
01

number. [5]
4/0
GP

OR
80
.23
CE
16

Q2) a) Draw the ER diagram for the College ERP system. [5]
8.2

b) Write a trigger for overdraft withdrawal from account: 2[5]


.24

0:2
Instead of allowing negative account balances, the bank deals with
49

4:0

overdrafts by creating a loan in the amount of the overdraft giving this


loan a loan number identical to the account number of the overdrawn
81
91

account setting the account balance to zero. The condition for executing
01
30

the trigger is an update to the account relation that results in a negative


5/2

balance value.
01
4/0
GP
80

Q3) a) Schema definition for supplier-and-parts database. Keys are underlined.[5]


.23
CE

Supplier = (supplier_number , supplier_name, status, city)


16
8.2

Parts = ( part_number, part_name, color, weight, city)


.24

Shipments=(supplier_number, part_number, quantity)


49

write SQL query for following requirements (any 2):


P.T.O.
i) Find shipment information (supplier_number, supplier_name,
part_number, part_name, quantity) for those having quantity less
than150.

2
0:2
ii) List supplier_number, supplier_name, part_number, part_name for
those suppliers who made shipment of parts whose quantity is larger

4:0
than the average quantity.

81
5/2 1
9
iii) Find aggregate quantity of part_number ‘A692’ of color ‘GREEN’

01
8 0 30
for which shipment made by supplier_number who reside in
‘MUMBAI’
.23 01
b)
4/0
Explain 3NF and BCNF. Also enlist their differences. [5]
8.2 G
P
.24 CE

OR
16

Q4) a) Draw and explain overall structure of Database System. [5]

2
0:2
b) What is the impact of insert, update & delete anomaly on overall design
49

4:0
of database? How normalization is used to remove these anomalies?[5]
81
91
01
30
5/2

Q5) a) Explain the Concept of Conflict Serializability. Decide whether following


01
4/0

schedule is conflict serializable or not. Justify your answer. [9]


GP
80

T1 T2
.23
CE

read (A)
16

write (A)
8.2

read (A) 2
.24

write (A)
0:2

read (B)
49

4:0

write (B)
81
91

read (B)
01

write (B)
30
5/2
01
4/0

b) Explain the Two Phase lock Protocol for concurrency control. Also
GP

explain its two versions: strict two phase lock protocol and rigorous two
80

phase lock protocol. [8]


.23
CE
16

OR
8.2
.24
49

[5353]-582 2
Q6) a) State and explain in brief the ACID Properties. During execution of
transaction, a transaction passes through several states, until it finally
commits or aborts. List all possible sequences of states through which a

2
transaction may pass. Explain why each state transition occurs. [9]

0:2
b) To ensure atomicity despite failures we uses Recovery Methods. Explain

4:0
in detail Log-Based Recovery method. [8]

81
5/2 1
9
01
8 0 30
Q7) a) Explain in details two important issues Speedup and Scaleup in Parallel
Databases. Also explain which factors work against efficient parallel
.23 01
4/0
operation and can diminish both speedup and scaleup. [9]
P

b) Explain Data Replication and Data Fragmentation in Distributed Data


8.2 G

Storage. [8]
.24 CE

OR
16

2
Q8) a) Describe Two phase Commit (2PC) Protocol. Explain how 2PC protocol

0:2
responds in different ways to various types of failures. [9]
49

4:0
b) What are the different Parallel Database Architectures? Explain with their
81
91
advantages and disadvantages. [8]
01
30
5/2
01

Q9) a) Explain the difference SQL Vs NoSQL. [4]


4/0

b) Enlist and explain any three NoSQL Database types. [6]


GP
80

c) Explain the HDFS and MapReduce in HADOOP. [6]


.23
CE

OR
16

Q10)a) Explain the concept of NoSQL Database and state its advantages over
8.2

RDBMS. [4] 2
.24

0:2
b) State and Explain: [6]
49

4:0

i) CAP Theorem
81
91

ii) BASE properties


01

c) Analyze the use of NoSQL databases in current social networking


30
5/2

environment also explain need of NoSQL databases in social networking


01
4/0

environment over RDBMS. [6]


GP
80
.23
CE
16

ddd
8.2
.24
49

[5353]-582 3

You might also like