Skip to content
Official PYQ · 2018

GATE CS 2018 Q11 — ER-model

Explain with AI

In an Entity-Relationship (ER) model, suppose RR is a many-to-one relationship from entity set E1 to entity set E2. Assume that E1 and E2 participate totally in RR and that the cardinality of E1 is greater than the cardinality of E2.

Which one of the following is true about RR?

Choose one option
View worked solution

Answer: A

To determine the correct statement, let us analyze the properties of the relationship RR from E1E_1 to E2E_2 step-by-step:

  1. Many-to-One Relationship from E1E_1 to E2E_2: This constraint means that each entity in E1E_1 can be associated with at most one entity in E2E_2.
  2. Total Participation of E1E_1 in RR: This constraint means that every entity in E1E_1 must participate in the relationship RR. That is, each entity in E1E_1 is associated with at least one entity in E2E_2.

Combining these two constraints for E1E_1:

At least one∩At most one=Exactly one\text{At least one} \quad \cap \quad \text{At most one} \quad = \quad \text{Exactly one}

Thus, every entity in E1E_1 is associated with exactly one entity in E2E_2. This makes Option A correct.


Why other options are incorrect:

  • Option B: Incorrect, because the many-to-one constraint from E1E_1 to E2E_2 prevents any entity in E1E_1 from being associated with more than one entity in E2E_2.
  • Options C and D: Since ∣E1∣>∣E2∣|E_1| > |E_2| and every entity in E1E_1 maps to exactly one entity in E2E_2, by the Pigeonhole Principle, at least one entity in E2E_2 must be associated with multiple entities in E1E_1. This invalidates both "exactly one" (Option C) and "at most one" (Option D) for E2E_2.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore ER-model questions