You are on page 1of 3

Total No. of Questions : 8] SEAT No.

8
23
P984 [Total No. of Pages : 3

ic-
[5869]-288

tat
S.E. (Information Technology)

3s
DATABASE MANAGEMENT SYSTEM

5:1
02 91
(2019 Pattern) (Semester - IV)

8:5
0
20
Time : 2½ Hours] [Max. Marks : 70
7/0 13
Instructions to the candidates:
0
6/2
1) Answer Q.1 or Q.2, Q.3 or Q.4, Q.5 or Q.6, Q.7 or Q.8.
.23 GP

2) Neat diagrams must be drawn wherever necessary.


3) Figures to the right side indicate full marks.
E
82

8
4) Assume Suitable data if necessary.
C

23
5) Use of Scientific calculator is permitted.

ic-
16

tat
8.2

3s
Q1) a) Consider following database: [6]
.24

5:1
Student (Roll_no, Name, Address)
91
49

8:5
Subject (Sub_code, Sub_name)
30
20

Marks (Roll_no, Sub_code, marks)


01
02

Write following queries in SQL:


6/2
GP
7/0

i) Find average marks of each student, along with the Roll_no of


CE

student of subject code ‘CE2412’.


82

8
23
.23

ii) Find how many students have failed in the subject “DBMS”.
ic-
16

tat
iii) Construct suitable view on above schema.
8.2

3s

b) Explain on delete cascade command with suitable example. [5]


.24

5:1
91

c) What are different types of jois in SQL? Explain with suitable example.[7]
49

8:5
30

OR
20
01

Q2) a) Explain with suitable example SQL aggretage functions. [6]


02
6/2
GP

b) Write the syntax for following SQL commands: [6]


7/0

i) create table ii) alter table


CE
82

iii) drop table iv) insert


.23

v) delete vi) update


16
8.2

c) Write and explain SQL function and procedures with sample example.[6]
.24

P.T.O.
49

[5869]-288 1
8
23
Q3) a) Explain with example Materialized evaluation and pipelining [6]

ic-
b) Consider following relational table. Find nontrivial and trivail functional

tat
dependency. [5]

3s
5:1
A B C

02 91
8:5
a1 b1 c1

0
20
a1 7/0 13
b1 c2
0
a2 b1 c1
6/2
.23 GP

a2 b1 c3
E
82

8
c) List the desirable properties of decompostion. Explain loss less join
C

23
with example. [6]

ic-
16

OR

tat
8.2

3s
Q4) a) Consider the following Book Relation. [5]
.24

5:1
91
Book (Book_id, Title, Author, Publisher, Year, Price)
49

8:5
30

Write relational algebra expression for the following.


20
01

i) Display all book title with authors and price.


02
6/2

ii) Display the titles of book having price greater than 300.
GP
7/0

iii) Display books publish in year 2000.


CE
82

8
23
iv) Display all books published by ‘PHP’ with price greater then 300.
.23

b) What are the measure of query cost? ic-


[7]
16

tat
8.2

c) Define query processing. What are the steps involved in query


3s

processing? [5]
.24

5:1
91
49

8:5
30
20

Q5) a) What is a deadlock? Explain deadlock recovery techniques. [6]


01
02

b) If we are to ensure atomicity, all the sites in which a transaction T executed


6/2

must agree on the final outcome of the execution T must either commit at
GP
7/0

all sites, or it must abort at all sites. Describe the Two Phase Commit
CE

Protocol used to ensure this property in detail. [8]


82

c) How does the granularity of data items affect the performance of


.23

concurrency control? What factors affect the selection of granularity


16

size of data items? [4]


8.2
.24

OR
49

[5869]-288 2
8
23
Q6) a) Explain deadlock prevention and Recovery. [8]

ic-
tat
b) Illustrate difference between conflict serializable schedule and view

3s
serializable schedual by an appropriate example. [6]

5:1
c) What are the types of errors that may cause a tansaction to fail? [4]

02 91
8:5
0
20
Q7) a) 7/0 13
Explain 2-tier and 3-tier architecture with diagram for online Banking
0
Database system.
6/2 [6]
.23 GP

b) Explain any two parallel Database System Architecture in detail. [6]


E
82

8
c) Enlist the Advantages & Disadvantages of Replication [5]
C

23
ic-
OR
16

tat
8.2

Q8) a) What are different data fragmentation techniques in distributed databases?

3s
[6]
.24

5:1
91
49

8:5
b) Write a short note on Centralized and Distributed Database Systems.[6]
30
20

c) Explain need of partitioning techniques used in I/O parallelism. Explain


01
02

techniques in detail. [5]


6/2
GP
7/0
CE
82

8

23
.23

ic-
16

tat
8.2

3s
.24

5:1
91
49

8:5
30
20
01
02
6/2
GP
7/0
CE
82
.23
16
8.2
.24
49

[5869]-288 3

You might also like