volume_mute

Multiplicity Notation

publish date2026/06/08 08:10:21.942256 UTC

volume_mute

Match each multiplicity notation to its correct meaning in a UML class diagram.

To complete the line match

  1. Click on an item in the first group
  2. Click on the match in the second group

To delete a match, double click on a line

Notation

1
1..*
*
1..4

Meaning

An exact number of objects is involved — in this example, between 1 and 4 objects
Exactly one object is involved in the association
One or more objects are involved (at least one, but no upper limit)
An indefinite number of objects may be involved (zero or more)

Correct Answer

(1) 1,Exactly one object is involved in the association
(2) 1..*,One or more objects are involved (at least one, but no upper limit)
(3) *,An indefinite number of objects may be involved (zero or more)
(4) 1..4,An exact number of objects is involved — in this example, between 1 and 4 objects

Explanation

UML multiplicity notation: 1 = exactly one; 1..* = one or more (at least one); * = zero or more (indefinite); 1..4 = between 1 and 4. For example, the (1..*) multiplicity on Patient-to-Condition means a patient may suffer from one or more conditions, and the same condition may be associated with one or more patients.

Reference

Software Engineering, Ian Sommerville, 9th edition


Quizzes you can take where this question appears