volume_mute

Reading the Mentcare Class Diagram

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

volume_mute

Study the class diagram below showing classes and associations in the Mentcare system.

Consultant referred-to 1 1..* Patient Condition 1..* 1..* diagnosed-with General practitioner 1..* 1 referred-by Consultation 1..* 1..* attends Medication 1..* 1..* prescribes Treatment 1..* 1..* prescribes Hospital Doctor 1..* 1..4 involves

According to this class diagram, what does the multiplicity 1..4 on the association between Consultation and Hospital Doctor mean?

Correct Answer

Each Consultation involves between 1 and 4 Hospital Doctors

Explanation

The multiplicity 1..4 on the Hospital Doctor end of the 'involves' association means that each Consultation involves between 1 and 4 Hospital Doctors. The multiplicity on each end describes how many objects of that class participate in the association from the perspective of the object at the other end.

Reference

Software Engineering, Ian Sommerville, 9th edition


Quizzes you can take where this question appears