Total No. of Questions : 8] SEAT No.
8
23
PA-1248 [Total No. of Pages : 3
ic-
[5925]-271
tat
9s
S.E. (Information Technology)
2:5
02 91
DATABASE MANAGEMENT SYSTEM
3:4
0
(2019 Pattern) (Semester - IV) (214452)
31
9/0 13
0
1/2
Time : 2½ Hours] [Max. Marks : 70
.23 GP
Instructions to the candidates:
E
1) Answer Q1 or Q2, Q3 or Q4, Q5 or Q6, Q7 or Q8.
80
8
C
23
2) Neat diagrams must be drawn wherever necessary.
ic-
3) Figures to the right indicates full marks.
16
tat
8.2
4) Assume suitable data, if necessary.
9s
5) Use of scientific calculator is permitted.
.24
2:5
91
49
3:4
30
31
Q1) a) What are different types of joins in SQL? Explain with suitable example.
01
02
[6]
1/2
GP
b) Consider the following Relations. It defines the schema of the database
9/0
application for a bank. It manages the branches and customers of the
CE
bank. Customers take loans (borrow money) or open accounts (deposit
80
8
23
money) at one or more branches. [8]
.23
Branch (B_No, B_name, B_city, asset), Customer (C_No,C_Name, ic-
16
tat
C_citystreet)
8.2
9s
.24
Loan(Loan_no, B_name, amount), Account (Acc_No, B_name,
2:5
91
Balance)
49
3:4
30
Borrower (C_No, Loan_No), Depositor (C_No, Acc_No)
31
01
Answer the following queries in SQL :
02
1/2
1) Find the names and address of customers who have a loan.
GP
9/0
2) Find the total amount of balance of all the accounts
CE
80
3) List all the customers who are borrowers
.23
4) Find all the accounts of “shivaji nagar” branch of Pune city.
16
c) What is trigger? State and explain two categories of Triggers. [4]
8.2
OR
.24
49
P.T.O.
Q2) a) Explain with suitable example SQL aggregate functions. [6]
8
23
b) Consider the following database. [6]
ic-
Doctor (Doctor_no, Doctor_name, Address, City).
tat
Hospital (Hospital_no. Name. Street, City).
9s
2:5
Doc_Hosp (Doctor_no, Hospital_no, Date).
02 91
3:4
Construct the following Queries in SQL.
0
31
1) 9/0 13
Find out all Doctors who have visited to Hospital in same city in
which they live.
0
1/2
.23 GP
2) Find to which Hospital “Dr. Joshi” has visited.
3) Count no. of Doctors visited to “Shree Clinic” on 1st March 2014.
E
80
8
C
23
c) What is Cursor? State and explain two categories of Cursors and their
ic-
syntax. [6]
16
tat
8.2
9s
Q3) a) Define Database normalization. Explain any two normal form with
.24
the suitable example.
2:5 [8]
91
49
3:4
b) Why is query optimization important for databases? [5]
30
31
c) Explain role of “Selection” operation in query processing. [4]
01
02
OR
1/2
GP
9/0
Q4) a) State & Explain Armstrong’s axioms& its properties. [6]
CE
80
b) Define Boyce Codd normal form. How does it differ from 3NF? Why
8
23
is considered a stronger form of 3NF. [6]
.23
ic-
16
c) What is query processing? Explain query processing steps with neat
tat
8.2
sketch. [5]
9s
.24
2:5
91
Q5) a) What is transaction? Explain ACID properties of transaction. [6]
49
3:4
30
b) What is deadlock? Explain how deadlock detection and prevention is
31
done. [8]
01
02
c) What is the need of two phase locking protocol? Explain. [4]
1/2
GP
9/0
OR
CE
80
Q6) a) What is Serializable schedule? Explain with suitable example the types
of serializable schedules. [6]
.23
16
b) What is concurrency control? Explain time stamp based concurrency
8.2
control. [8]
.24
c) Write short note on : Shadow paging. [4]
49
[5925]-271 2
Q7) a) Differentiate between centralized and client server architecture. [6]
8
23
b) State and explain key elements of parallel database. [6]
ic-
c) Explain Distributed database architecture with neat sketch. [5]
tat
OR
9s
2:5
Q8) a) Explain the concept of speed up and scale up in case of parallel
02 91
databases. [8]
3:4
0
31
b) Explain cloud database in detail. Also expalin architecture along with
9/0 13
components. [9]
0
1/2
.23 GP
E
80
8
C
23
ic-
16
tat
8.2
9s
.24
2:5
91
49
3:4
30
31
01
02
1/2
GP
9/0
CE
80
8
23
.23
ic-
16
tat
8.2
9s
.24
2:5
91
49
3:4
30
31
01
02
1/2
GP
9/0
CE
80
.23
16
8.2
.24
49
[5925]-271 3