Let S be the specification: "Instructors teach courses. Students register for courses. Courses are allocated classrooms. Instructors guide students." Which one of the following ER diagrams CORRECTLY represents S?
GATE CS - 2024,
Answer: D
The correct ER diagram is (iv).
The specification has four entity sets, Instructor, Course, Classroom and Student, and four relationships: Teaches (Instructor, Course), Registration (Student, Course), Allocation (Course, Classroom) and Guides (Instructor, Student). Diagram (iv) draws exactly these, with entities as rectangles and relationships as diamonds joining the right pairs.
Diagram (i) makes Registration an entity and Student a relationship. Diagram (ii) has no Student entity and has Guides linking Instructor to Projects. Diagram (iii) leaves Allocation unconnected to Classroom and joins Classroom directly to Course.
Please log in or register to report this question.



