Professional Documents
Culture Documents
3
[5253]-538
4:3
9:5
T.E. (Computer Engineering)
70
1/2 1
DATABASE MANAGEMENT SYSTEM
9
01
8 2 30
.23 01(2015 Pattern) (End Sem.)
Time : 2½ Hours] [Max. Marks : 70
9/1
P
Instructions to the candidates:
8.2 G
1) Answer Q.1 or Q.2, Q.3 or Q.4, Q.5 or Q.6, Q.7 or Q.8, Q.9 or Q.10.
.24 CE
16
3
4:3
4) Assume suitable data, if necessary.
49
9:5
70
91
Q1) a) Consider a database used to record the marks that students get in different
exams of different course offerings.
01
30
1/2
The need of efficiency has led designers to use complex data structures
CE
4:3
OR
49
9:5
Q.1(a) that uses only a binary relationship between students and course-
01
30
offerings. Make sure that only one relationship exists between a particular
1/2
student and course-offering pair, yet you can represent the marks that a
01
9/1
Action: after deletion of values from stud table, values should be inserted
into cancel_admission( roll_no, name) table.
.24
49
P.T.O.
Q3) a) Consider insurance database with following schema : [5]
person(driver-id, name, address)
3
car(license, model, year)
4:3
9:5
accident (report - no, date, location)
70
1/2 1
owns(driver-id,license)
9
01
8 2 30
participated(driver-id,car,report-no,damage-amount)
.23 01
Write a query in SQL for following requirements (any 2) :
9/1
P
i) Find the total no. of people who owned cars that were involved in
8.2 G
accidents in 2016.
.24 CE
16
3
4:3
b) Any database system to be good relational database system, codds have
49
9:5
proposed 12 rules, explain any 2 rules proposed by codd with example.[5]
70
91
OR
01
30
1/2
10% of existing salary, whose existing salary is less than Rs. 10000/-
.23
3
.24
4:3
49
9:5
Q5) a) Consider the Transaction (T3), Transaction (T4) and Transaction (T6)
70
explaining the execution of T3, T4 and T6 are given below. Decide whether
01
30
T3 T4 T6
.23
CE
read (Q)
16
Write (Q)
8.2
Write (Q)
.24
Write (Q)
49
[5253]-538 2
b) Transaction during its execution should be in one of the different states at
any point of time, explain the different states of transactions during its execution.
[8]
3
4:3
OR
9:5
70
1/2 1
Q6) a) Suppose a transaction Ti issues a read command on data item Q. How
9
time-stamp based protocol decides whether to allow the operation to be
01
8 2 30
executed or not using time-stamp based protocol of concurrency control.
.23 01
[9]
9/1
P
as Shared (S) lock on the same item. What is this problem? How it is
16
3
4:3
49
9:5
Q7) a) 70
Explain speed-up and scale-up parameters of parallel systems. What are
91
the different factors limiting the speed-up and scae-up parameters. [8]
01
30
1/2
architecture resources are not shared, then how shared nothing parallel
GP
82
systems are different than distributed systems? Also explain in brief other
.23
OR
8.2
3
.24
4:3
Q8) a) How two phase commit protocol to ensure the atomicity in distributed
49
9:5
[5253]-538 3
Q9) a) BASE Transactions ensures the properties like Basically Available, Soft
State, Eventual Consistency. What is soft state of any system, how it is
depend on Eventual consistency property? [8]
3
4:3
b) List the different NOSQL data Models. Explain document store NOSQL
9:5
data model with example. [8]
70
1/2 1
OR
9
01
8 2 30
Q10)a) Explain how NOSQL databases are different than relational databases?
.23 01
[8]
9/1
P
b) Write short note on Hadoop: HDFS, MapReduce. [8]
8.2 G
.24 CE
16
HHH
3
4:3
49
9:5
70
91
01
30
1/2
01
9/1
GP
82
.23
CE
16
8.2
3
.24
4:3
49
9:5
70
91
01
30
1/2
01
9/1
GP
82
.23
CE
16
8.2
.24
49
[5253]-538 4