Professional Documents
Culture Documents
Name: Mujtaba Aziz Roll No: MITM-F18-063 Class: MIT (2A) Assignment: Dbms
Name: Mujtaba Aziz Roll No: MITM-F18-063 Class: MIT (2A) Assignment: Dbms
MUJTABA AZIZ
ROLL NO:
MITM-F18-063
CLASS:
MIT (2A)
ASSIGNMENT:
DBMS
QUESTION #1
A university registrar’s office maintains data about the following entities: (a) courses,
including number, title, credits, syllabus, and prerequisites; (b) course offerings,
including course number, year, semester, section number, instructor(s), timings, and
classroom; (c) students, including student-id, name, and program; and (d) instructors,
including identification number, name, department, and title. Further, the enrollment
of students in courses and grades awarded to students in each course
SOLUTION
s.id name time secno room id name
syllabus course.no
prerequisite
requires course title
maincourse
credits
EXAMPLE: 2
Employees work for projects. An employee working for a particular project
uses various machinery.
ER-DIAGRAM OF EXAMPLE 1
requires
machinery
Name
ER-DIAGRAM OF EXAMPLE 2