0% found this document useful (0 votes)
48 views4 pages

May Jun 2023

Uploaded by

shethayush234
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views4 pages

May Jun 2023

Uploaded by

shethayush234
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Total No. of Questions : 8] SEAT No.

8
23
P-1542 [Total No. of Pages : 4

ic-
[6002]-171

tat
2s
S.E. (Information Technology)

7:3
02 91
DATABASE MANAGEMENT SYSTEM

0:3
0
(2019 Pattern) (Semester - IV) (214452)

31
7/0 13
0
Time : 2½ Hours] [Max. Marks : 70
6/2
.23 GP

Instructions to the candidates:


E

1) Answer Q.1 or Q.2, Q.3 or Q.4, Q.5 or Q.6, Q.7 or Q.8.


82

8
C

23
2) Neat diagrams must be drawn wherever necessary.

ic-
3) Figures to the right side indicate full marks.
16

tat
8.2

4) Assume suitable data, if necessary.

2s
.24

7:3
91
49

Q1) a) Describe Circumstances under which you would choose to use


0:3
30

Embedded SQL than normal SQL or only a general purpose


31

programming Language. [4]


01
02
6/2

b) Differentiate between : [6]


GP
7/0

i) Trigger & stored procedure


CE
82

8
23
.23

ii) Embedded SQL and Dynamic SQL


ic-
16

tat
c) Consider the following relations : [8]
8.2

2s
.24

7:3

Departments(Department_id, Department_name, manager_id,


91

Location_id) Employees(Employee_id, Employee_name,


49

0:3

mphone_number, Hire_Date, Job_Id, Salary, commission_PCT,


30
31

manager_Id, Department_Id)
01
02
6/2

Write SQL queries for the following :


GP
7/0

i) Show the name, job, salary and commission of those employee


CE
82

who earn commission. Sort the data by the salary in descending


.23

order.
16

ii) Show the department names, locations, names, job titles and
8.2

salaries of employees who work in location 1800.


.24
49

P.T.O.
iii) How many employees have a name that ends with an “n”?

8
23
iv) Show the names and locations for all departments and the number

ic-
of employee working in each department. Make sure that

tat
departments without employees are included as well.

2s
OR

7:3
02 91
Q2) a) Consider the relational database [8]

0:3
0
31
supplier(sid, sname, address)
7/0 13
parts(pid, pname, color)
0
6/2
.23 GP

catlog(sid, pid, cost)


E

Write SQL queries for the following :


82

8
C

23
i) Find the name of supplier who supply some red parts.

ic-
16

tat
ii) Find the name of all part whose cost is more than Rs. 250.
8.2

2s
iii) Find the name of all part whose color is green.
.24

7:3
91
iv) Find the name of all part supplied by each supplier.
49

0:3
30

b) Explain need for following : [4]


31
01
02

i) View
6/2
GP

ii) Null values


7/0

c) Write note on : [6]


CE
82

8
23
i) Set operations in SQL
.23

ic-
16

ii) Aggregate Functions in SQL


tat
8.2

2s
.24

7:3
91

Q3) a) What are the measure of query cost? [4]


49

0:3
30

b) Explain 1st, 2nd, 3rd normal form with example. [6]


31
01

c) What do you mean by normalization? Explain different anomalies.[7]


02
6/2
GP

OR
7/0

Q4) a) Compare BCNF and 3NF. [4]


CE
82

b) Which are different ways of evaluation of expression? Explain any


.23

one with example. [6]


16

c) Define functional dependency. List various types of functional


8.2

dependency. Explain any one type of functional dependency. [7]


.24
49

[6002]-171 2
Q5) a) Give test for conflict serializability. Check whether following schedule

8
is conflict serializable. [8]

23
ic-
T1 T2

tat
Read(A)

2s
7:3
Write(A)

02 91
0:3
Read(A)

0
31
7/0 13 Write(A)
0
6/2
Read(B)
.23 GP

Write(B)
E
82

8
Read(B)
C

23
ic-
Write(B)
16

tat
8.2

b) What is concurrency control? Explain time stamping method. [4]

2s
.24

7:3
c) When do deadlock happens? How to prevent them? [6]
91
49

0:3
OR
30
31

Q6) a) Check whether given schedule is view serializable. [6]


01
02
6/2

T1 T2 T3
GP
7/0

Read(Q)
CE
82

8
Write(Q)

23
.23

Write(Q) ic-
16

tat
8.2

Write(Q)
2s
.24

7:3

b) Explain the concept of Transaction. Describe ACID properties of


91
49

0:3

transaction. [8]
30
31

c) Explain Deferred database modification. [4]


01
02
6/2
GP

Q7) a) State which database system architecture you will prefer for following
7/0

application- support your answer with brief explanation : [6]


CE
82

i) Railway Reservation System.


.23
16

ii) Search Engine


8.2

iii) College admission system


.24
49

[6002]-171 3
b) List and Explain any one Architecture of Parallel databases with neat

8
diagram. [6]

23
ic-
c) What are the benefits of NOSQL databases. [5]

tat
2s
OR

7:3
02 91
Q8) a) Write a note on SQL Lite database. [6]

0:3
0
31
b) Explain Architecture of Distributed database system. [6]
7/0 13
c) Explain two-tier and three-tier architecture. [5]
0
6/2
.23 GP
E
82

8

C

23
ic-
16

tat
8.2

2s
.24

7:3
91
49

0:3
30
31
01
02
6/2
GP
7/0
CE
82

8
23
.23

ic-
16

tat
8.2

2s
.24

7:3
91
49

0:3
30
31
01
02
6/2
GP
7/0
CE
82
.23
16
8.2
.24
49

[6002]-171 4

You might also like