GATE CS 2024, set 1 · Question 20 · Databases · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer

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?

Four ER diagrams labelled (i), (ii), (iii), (iv). Rectangles are entity sets and diamonds are relationship sets. Diagram (i): Rectangle Instructor is linked to diamond Teaches, which is linked to rectangle Course. Course is linked upward to a RECTANGLE labelled Registration. Course is linked downward to diamond Allocation, which is linked to rectangle Classroom. Course is also linked by a line going right and down to a DIAMOND labelled Student. Student is linked downward to a bottom line that leads to diamond Guides. Guides is linked to Instructor by a line going down from Instructor. So in (…
  1. (A) (i)
  2. (B) (ii)
  3. (C) (iii)
  4. (D) (iv)
Answer

Answer (D)

Answer from the official GATE CS 2024 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes