0% found this document useful (0 votes)
9 views1 page

DB Practical 2

Uploaded by

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

DB Practical 2

Uploaded by

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

UNIVERSITY OF THE PUNJAB Roll No…..

Database Systems Exam BSCS 5th Semester


(PRACTICAL)
Subject: Database Systems Time: 3 Hrs. Marks: 100

Group II
Note: All parts are compulsory.

Make E-R Diagrams, tables with relationships an also write the SQL queries/ statements for
each.

Question no 1: [30 Marks]

A patient will have unique Patient ID. Full description about the patient about personal detail and
phone number, and then Disease and what treatment is going on. The doctor will handle patients, one
doctor can Treat more than 1 patient. Also, each doctor will have unique ID. Doctor and Patients will be
related. Patients can be admitted to hospital. So different room numbers will be there, also rooms for
Operation Theaters and ICU. There are some nurses, and ward boys for the maintenance of hospital and
for patient take care. Based upon the number of days and treatment bill will be generated.

Question no 2:

Viva Voce [20 Marks]

Question no 3: [30 Marks]

A student and faculty can issue books. Different limits for the number of books a student and teacher
can issue. Also, the number of days will be distinct in the case of students and teachers for issue any
book. Each book will have different ID. Also, each book of the same name and same author (but the
number of copies) will have different ID. Entry of all the book will be done, who issue that book and
when and also duration. Detail of Fine (when the book is not returned at a time) is also stored.

Question no 4:

Viva Voce [20 Marks]

You might also like