volume_mute

Reading a Simple Class Diagram

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

volume_mute

The diagram below shows a simple UML class diagram with two classes and an association.

Patient Patient record 1 1

What does the "1" annotation at each end of the association line indicate?

Correct Answer

Each Patient object is associated with exactly one Patient Record object, and each Patient Record is associated with exactly one Patient

Explanation

The "1" at each end of an association line in a UML class diagram represents a 1:1 multiplicity. It means each instance of Patient is associated with exactly one Patient Record, and each Patient Record maintains information about exactly one Patient. Multiplicity annotations show how many objects of each class are involved in an association.

Reference

Software Engineering, Ian Sommerville, 9th edition


Quizzes you can take where this question appears