Question
In an Entity-Relationship (ER) model, suppose is a many-to-one relationship from entity set E1 to entity set E2. Assume that E1 and E2 participate totally in and that the cardinality of E1 is greater than the cardinality of E2.
Which one of the following is true about ?
Official answer and solution
- Official answer
- A
- From
- Official GATE 2018 answer key
Solution
Combine the structural constraints of many-to-one mapping and total participation on the entity set.
A relationship from entity set to entity set is many-to-one. In a many-to-one relationship from to , each entity in can be associated with at most one entity in .
Total participation of in means that every entity in must participate in , meaning it is associated with at least one entity in .
Combining 'at most one' and 'at least one' guarantees that every entity in is associated with exactly one entity in .
A
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2018 Computer Science and Information Technology (CS)
- Question
- 21 of 65, printed as CS Q.11
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.