Question
Official answer and solution
- Official answer
- D
- From
- Official GATE 2024 answer key
Solution
Verify that all four nouns (Instructor, Course, Student, Classroom) are represented as entity rectangles and all four associations (Teaches, Registration, Allocation, Guides) are relationship diamonds connecting the right entities.
From specification S, there are four entity sets (Instructor, Course, Student, Classroom - drawn as rectangles) and four binary relationship sets (Teaches, Registration, Allocation, Guides - drawn as diamonds):
- In (i),
Registrationis drawn as an entity rectangle andStudentas a relationship diamond (incorrect). - In (ii), the bottom entity is
Projectsinstead ofStudent(incorrect). - In (iii), there is an invalid direct line connecting the
Classroomentity rectangle directly to theCourseentity rectangle. - In (iv), all four entity sets and four relationship sets are properly represented and connected.
Therefore, (iv) is the correct ER diagram.
Option (D)
Selecting (iii) without noticing the extra diagonal line directly connecting the Classroom entity to the Course entity.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2024 Computer Science and Information Technology - Set 1 (CS1)
- Question
- 20 of 65
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.