0% found this document useful (0 votes)
12 views2 pages

hw5 SchoolDB SubSuperClasses

The document outlines a homework assignment for CMPE 351 Database Systems I at Istanbul Bilgi University, focusing on designing a school database. It specifies requirements for attributes related to persons, employees, students, courses, and grades, as well as the need for an ER diagram, relationship types, and a relational schema. Students are encouraged to provide detailed explanations of their design process and may earn extra points for insightful observations.

Uploaded by

vehiri3156
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)
12 views2 pages

hw5 SchoolDB SubSuperClasses

The document outlines a homework assignment for CMPE 351 Database Systems I at Istanbul Bilgi University, focusing on designing a school database. It specifies requirements for attributes related to persons, employees, students, courses, and grades, as well as the need for an ER diagram, relationship types, and a relational schema. Students are encouraged to provide detailed explanations of their design process and may earn extra points for insightful observations.

Uploaded by

vehiri3156
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/ 2

İstanbul Bilgi University

Department of Computer Engineering


FALL, 2024
Campus: Santral

CMPE 351 DATABASE SYSTEMS I


DATABASE SYSTEMS I

Homework: School database (with super and sub classes)

Make sure that you explain in detail all your steps - thoughts. You may get extra points for an appropriate
observation, you may lose some marks due to an obscure solution.

CONTINUED
–2–

1. (100 points) Your task is to design a database for a ”School”, considering only the following points:
(a) Every PERSON in the database will have a ”name” (composite attribute (5 points)), an ”address”,
and a ”telephone” number (multi valued attribute (5 points))
(b) (10 points) A person may be an EMPLOYEE of the school or a STUDENT; an employee may be an
INSTRUCTOR or a general WORKER (manager, secretary, cleaner, ...)
(c) (5 points) The employee class needs a social security number, ”SSN”, and a ”salary” attributes, while
the student one needs a student number, ”Stud No” attribute
(d) An instructor may teach different COURSEs, and every course is taught by only 1 instructor
(e) A student follows different courses, and every course is followed by more than 1 student
(f) The database stores also old students, who do not folllow courses anymore
(g) (15 points) For every course the database stores the list of pre-requisites courses
(h) (10 points) The database stores also the ”grades” of the students
(i) (10 points) For every student the database stores also the CONTACT person, who is normally the
father/mother of the student. The contact entity has ONLY the ”surname”, ”name” and ”telephone”
number attributes. Please, notice that the surname of a contact person is unique only when connected
with the student

Questions:

1. {5 + 5 points} Design the ER diagram and schema.


2. {5 + 5 points} Which type of relationships do you have? Discuss both the cardinality and the partic-
ipation constraints.
3. {10 points} Give the corresponding relational schema of your database.
4. {5 points} Give a possible snapshot of your database containing at least 5 mean full ({5 points})
entries.

You might also like