Dbms 2017
Discussion
Ask a question about this paper, or help someone else with theirs. Answers are emailed to whoever asked.
No questions yet — be the first to ask.
Need a paper or stuck on a question? Ask here — students reply and you get an email.
Ask about a paper-
BS Islamic Studies, 5th semester, ISL-511 Translation of Holy Quran (3) — Government College University Faisalabad (GCU…
0 replies Reply → -
Civics course code GCCE101
1 reply Reply → -
BS 4the semester2025 civics and community engagement past paper According UOs
0 replies Reply → -
Bs public administration 1st semester mid term past papers
0 replies Reply → -
BS English from uni of Sargodha Functional English, history of old English literature, literary devices and genres,
0 replies Reply →
Paper text
3. Different courses are offered at the start of the semester. In each semester, multiple courses can
be offered and each course must be different with other offered course.
4. Students enroll themselves for these courses at the start of semesters. Semesters are uniquely
identify by their name (semName), either they are Fall-2025 or Spring-2025.
5. Enrolled courses by students and offered courses must not be same. The difference is due to the
individual situation of every student, because if one student has not pass a certain course 'A' in
the previous semester he will not be able to register for a course 'B' offered in this semester as
the course 'A' is the prerequisite for course 'B'.
6. After valid registration classes start.
7. A Course offered in a program, is assigned to a teacher also. A teacher may teach multiple courses
but a course having same crs-code must be teach by same teacher.
8. There can be any midterm exams and in this system we have only one midterm. And there will
be a final term exam.
9. All the students are given assignments and quizzes and are awarded grades against their
performance in assignment, quizzes, mid and final term exam for each course. SGPA (semester
grade point average) for each student is evaluated by using his/her grades and CGPA (cumulative
GPA) is evaluated by using SGPA and total credit hours for each semester.
10-Marks
Question 3:
(a) Following is the table that is used in a Hospital Database. Normalize the table into 3NF. Draw
all those relations that are created in 1NF, 2NF and 3NF.
Patient
ID
P-1
P-2
Patient
Name
Sarfraz
Ahmad
Shahid
Address
13-B
Shadman
Colony Gujrat
7-A Marghzar
Colony Gujrat
Appointmen
t Date
10-12-2017
12-08-2017
05-04-2017
01-02-2017
10-12-2017
09-10-2017
02-08-2017
Doctor
Dr.
Imran
Dr.
Nasir
Dr.
Imran
Dr.
Shahid
Dr.
Nasir
Dr.
Imran
Dr.
Shahid
Dieses
Blood
Pressure
Fever
Anxiety
Blood
Pressure
Fever
Anxiety
Blood
Pressure
Fee
100
0
850
Fre
e
100
0
850
Fre
e
100
0
Roo
m
110
115
110
120
115
110
120
Test
Blood Sugar
ERCCI
ABL
Mutation
Blood Sugar
Blood Sugar
ERCCI
ABL
Mutation
(b) Write SQL statements to Create tables of 3NF for Question No-2. Carefully create
relationships between tables where required.
5-Marks
Question 4: What is meant by data abstraction in DBMS and how is it an advantage, How is productivity
increased? How is data independence an advantage? Justify your answer.
5-Marks