GATE CS 2024 Set 1 | Question 20

Databases › Relational Model & Normalization · MCQ · 1 mark · Answer: D

  1. Question 20Databasesmcq1 mark
    Let S be: "Instructors teach courses. Students register for courses. Courses are allocated classrooms. Instructors guide students." Which ER diagram (i)-(iv) CORRECTLY represents S?
    GATE CS 2024 Set 1 Question 20 figure
    • A.
      (i)
    • B.
      (ii)
    • C.
      (iii)
    • D.
      (iv)
      ✓

    Answer: D

    Solution

    Answer: (D) (iv) S names exactly four relationships among four entity sets: Instructor-Teaches-Course, Student-Registration-Course, Course-Allocation-Classroom, and Instructor-Guides-Student. Diagram (iv) connects precisely these: Teaches (Instructor-Course), Registration (Student-Course), Allocation (Course-Classroom), and Guides (Instructor-Student). The other diagrams add or mismatch relationships (e.g. attach Registration/Projects to the wrong entities).

More GATE PYQ on Relational Model & Normalization

All GATE CS Databases PYQ →

Attempt GATE CS 2024 Set 1 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →