You are on page 1of 3

Total No.

of Questions : 6]

6
SEAT No. :

R3
P5088 [Total No. of Pages : 3

VE
TE/Insem.-637

ER
T.E. (Computer Engineering) (Semester-I)

9S
DATABASE MANAGEMENT SYSTEMS

1:5
91
(2015 Pattern)

1:2
30
71
Time : 1 Hour] [Maximum Marks : 30
1
01
8 0 P0

Instructions to the candidates:


8/2
1) Answer Q.1 or Q.2, Q.3 or Q.4, Q.5 or Q.6.
G
9/0

2) Neat diagrams must be drawn wherever necessary.


CE

6
R3
3) Figures to the right indicate full marks.

VE
.23

4) Assume suitable data, if necessary.

ER
16
8.2

9S
Q1) A university registrar’s office maintains data about the following entities: 10]
.24

1:5
91
x courses, including number, title, credits, syllabus, and prerequisites;
49

1:2
30
71

x course offerings, including course number, year, semester, section number,


01

instructor(s), timings, and classroom;


01
GP
8/2

x Students, including student-id, name, and program; and


9/0
CE

36
x instructors, including identification number, name, department and title.
80

ER
.23

Further, the enrollment of students in courses and grades awarded to students V


ER
16

in each course the are enrolled for must be appropriately modeled.


8.2

9S

i) Construct an E-R diagram for the registrar’s office. Document all


.24

1:5
71 1

assumptions that you make about the mapping constraints.


9
49

1:2
8/2 30

ii) Construct appropriate tables for E-R diagram designed with above
requirements.
1
01
P0

OR
G

Q2) a) A weak entity set can always be made into strong entity set by adding to
9/0
CE

its attributes; the primary key attributes of its identifying entity set. Outline
80

what sort of redundancy will result if we do so while converting into


.23

tables. [5]
16
8.2
.24

P.T.O
49
6
R3
b) Explain with example what is physical data independence. Also explain

VE
its importance. [5]

ER
9S
Q3) a) Consider the following database schema: [5]

1:5
91
Physician (reg_no,name,tel_ no, city)

1:2
30
71
Patient(p_name,street,city)
1
01
8 0 P0
8/2
visit(p_name,reg_no,date_of_visit, fee)
G
9/0
CE

6
Write SQL queries for following requirements (any 2)

R3
VE
.23

i) Find the name and city of patients who visited a physician on 13

ER
July 2017.
16
8.2

9S
ii) Get the name of the physician and the total no. of patients visited
.24

1:5
91
him
49

1:2
30

iii) Get the details of date wise fees collected at clinic.


71
01
01

b) Write short note on Embedded SQL along with its applications. [5]
GP
8/2
9/0
CE

36
80

ER
OR
.23

V
ER
16

Q4) a) What is index created on table column? How performance of SELECT


8.2

9S

query is improved if index is created on table? [5]


.24

1:5
71 1

b) Write P1/SQL block of code which accepts the roll no. from user, the
9
49

1:2

attendance of roll no entered by user will be checked in stud_att (Roll_no,


8/2 30

Att) table. Attendance of Roll no entered is displayed on screen. [5]


1
01
G P0
9/0

Q5) a) Explain what is normalization? Explain with example requirements of


CE
80

Third Normal Form. [5]


.23
16
8.2
.24

TE/Insem. -637 -2-


49
6
R3
b) Explain with example the concept of referential integrity constraint (e.g.

VE
Foreign key in SQL). Also discuss the situations when referential integrity

ER
constraint is getting violated by Insert, Update and delete operations on
table. [5]

9S
1:5
91
OR

1:2
Q6) a)
30
Explain different features of good relational database design. [5]

71
1
b) 01
One of the rule designed by codd’s for good relational database
8 0 P0
8/2
management system is integrity independence, which states that all integrity
G

constraints can be independently modified without the need of any change


9/0
CE

6
in the application. Justify the significance of rule in relational database

R3
management system. [5]

VE
.23

ER
16
8.2

9S
555
.24

1:5
91
49

1:2
30
71
01
01
GP
8/2
9/0
CE

36
80

ER
.23

V
ER
16
8.2

9S
.24

1:5
71 1
9
49

1:2
8/2 30
1
01
G P0
9/0
CE
80
.23
16
8.2

-3-
.24

TE/Insem. -637
49

You might also like