You are on page 1of 2

In-class assignment (10 points)

Following figure shows a grade report that is mailed to students at the end of each semester. Prepare an
ERD reflecting the data contained in the grade report. Assume that each course is taught by one
instructor. Explain what you would choose for the identifier of each entity type on your ERD. Also,
come-up with an associative entity, if there is any.

Figure: Grade Report


The E-R diagram of the grade report for the students as explained in the question above :

The major parts of the diagram are “STUDENT” “COURSE” “INSTRUCTOR” AND
“GRADE”.
EXPLANTION

 The relationship "Registers For" between the entity "STUDENT" and "COURSE" with
Optional "many-to-many" cardinality relationship. 
 The cardinality relationship between the "COURSE" and "INSTRUCTOR" with "one-to-
many' relationship. Which is each course is taught by at least one instructor and each
instructor can teach one or many course  
 The Grade, Semester, and Year are the property of the relationship Registers For and
these attributes are used to record the register details. This is a ternary relationship.
Identifier for each of the entity types:

 The entity "STUDENT" has the "Student ID" as its identifier attribute.
 The attributes of the entity "STUDENT" is "Name", "Address", and "Major”.
 The entity "COURSE" has the "Course ID" as its identifier attribute. 
 The attributes of the entity "COURSE" is "Title".
 The entity "INSTRUCTOR" has the "Instructor ID" as its identifier attribute.
  The attributes of the entity " INSTRUCTOR " is "Name", "Location”
 The Grade, Semester, and Year are shown for the relationship “Registers For”. 
 It is represented in rectangle box with dash line connected in relationship Registers For. 

You might also like