Skip to main content

GATE CSE 2018Databases › ER Modeling & Relational Model FundamentalsVerified

GATE CSE 2018 PYQ: In an Entity-Relationship (ER) model, suppose R R R is a many-to-one relationship from entity set E1 to…

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?

  1. A
    Every entity in E1 is associated with exactly one entity in E2
    Correct answer
  2. B
    Some entity in E1 is associated with more than one entity in E2
  3. C
    Every entity in E2 is associated with exactly one entity in E1
  4. D
    Every entity in E2 is associated with at most one entity in E1

Answer

(A) Every entity in E1 is associated with exactly one entity in E2

Approach

In a many-to-one relationship from E1 to E2, each E1 entity can be associated with at most one E2 entity. Since E1 participates totally, every E1 entity must be associated with at least one E2 entity. Together these imply every E1 entity is associated with exactly one E2 entity. The cardinality condition |E1| > |E2| reinforces that some E2 entities may be shared by multiple E1 entities, ruling out options that force each E2 to have exactly one or at most one E1 entity.

Option A is the only statement consistent with a many-to-one relationship from E1 to E2 where E1 participates totally. The E2 side may have many E1 entities associated with it, so exact-one or at-most-one conditions on E2 are not implied.

Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.