Let be the specification: "Instructors teach courses. Students register for courses. Courses are allocated classrooms. Instructors guide students." Which one of the following diagrams CORRECTLY represents ?

View worked solution
Answer: D
To find the correct ER diagram, we can break down the specification into its constituent entity sets and binary relationships:
- "Instructors teach courses": A binary relationship (e.g.,
teaches) between the entity sets Instructor and Course. - "Students register for courses": A binary relationship (e.g.,
registers) between the entity sets Student and Course. - "Courses are allocated classrooms": A binary relationship (e.g.,
allocated) between the entity sets Course and Classroom. - "Instructors guide students": A binary relationship (e.g.,
guides) between the entity sets Instructor and Student.
This gives us four entity sets: Instructor, Course, Student, and Classroom, with the following connections:
InstructorteachesCourseStudentregistersCourseCourseallocatedClassroomInstructorguidesStudent
Only diagram (iv) correctly represents all four of these binary relationships between the correct entity sets as specified.
Therefore, the correct option is D (corresponding to diagram (iv)).
Free practice · Your answers on this page are not saved.
