GATE CS 2024 Set 1 — Question 20
MCQ+1 / -0.33EasyRelationshipsER ModelDatabases
Databases → ER Model → Relationships
Last updated
Question
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?

A.
(i)
B.
(ii)
C.
(iii)
D.
(iv)
Correct answer
(D) (iv)
Solution
The specification S consists of four relationships:
This diagram correctly models all four specifications using binary relationships between the appropriate entities. Therefore, diagram (iv) is the correct representation.
1.Instructors teach courses: A relationship between the
Instructor and Course entities.2.Students register for courses: A relationship between the
Student and Course entities.3.Courses are allocated classrooms: A relationship between the
Course and Classroom entities.4.Instructors guide students: A relationship between the
Let's analyze the given diagrams:Instructor and Student entities.- Diagram (i): The
Allocationrelationship is ternary, connectingCourse,Classroom, andStudent. This implies students are involved in the allocation of classrooms, which contradicts the specification. Also, there is no directRegistrationrelationship betweenStudentandCourse. - Diagram (ii): The
Guidesrelationship connectsInstructorto an entity labeledProjects(or similar), notStudent. This contradicts the specification "Instructors guide students". - Diagram (iii): The
Registrationrelationship connectsStudentto theAllocationrelationship (associative entity), rather than directly toCourse. This implies students register for a specific allocation, which is not the standard interpretation of "register for courses". - Diagram (iv):
TeachesconnectsInstructorandCourse.RegistrationconnectsStudentandCourse.AllocationconnectsCourseandClassroom.GuidesconnectsInstructorandStudent.
This diagram correctly models all four specifications using binary relationships between the appropriate entities. Therefore, diagram (iv) is the correct representation.
More questions on ER Model
2024 Set 2 Q19Once the DBMS informs the user that a transaction has been successfully completed, its effect…2024 Set 2 Q20In the context of owner and weak entity sets in the ER (Entity-Relationship) data model, which one…2024 Set 1 Q21In a tree, the requirement of at least half-full (50%) node occupancy is relaxed for which…2024 Set 1 Q22Which of the following statements about a relation in first normal form (1NF) is/are…2024 Set 2 Q26Which of the following file organizations is/are I/O efficient for the scan operation in DBMS?
Practice GATE CS PYQs with adaptive difficulty
Timed practice, skill tracking, and AI explanations — free to start.
Start practicing free