GATE / CS ARCHIVE

GATE CSE 2018 / QUESTION 11

Total participation in many-to-one relations

Database Management Systems · Database Models, Architecture & ER Diagrams · Full GATE CSE 2018 paper

GATE 2018, Q11 1 mark · MCQ
Report issue

Database Models, Architecture & ER Diagrams

Question 11, GATE 2018: R is a many-to-one relation E1→E2. Both entity sets participate totally and |E1|>|E2|. Which holds? A each E1 entity has exactly one E2 partner; B some E1 entity has multiple E2 partners; C each E2 entity has exactly one E1 partner; D each E2 entity has at most one E1 partner.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

Method

Treat the relation as a mapping from E1 into E2. “Many-to-one” imposes an upper bound of one on each E1 entity’s partners, and “total participation” imposes a lower bound of one. Together they force exactly one. On the E2 side total participation makes the map surjective, while the larger source cardinality invokes the pigeonhole principle: at least one E2 entity receives two or more partners.

Solution

Many-to-one permits at most one E2 target per E1 entity. Total participation of E1 supplies at least one, hence exactly one. Total participation of E2 and |E1|>|E2| ensure some E2 target has multiple preimages, not exactly one each. Thus A.

Original paper, page 6 · Answer key