Question 5 Flashcards
1
Q
What is the probable content of this exam question?
A
(1) Draw a communication diagram, object diagram, or sequence diagram.
2
Q
This question relates to the class model in Figure 1 of question 4 of the specimen exam paper. Suppose we want to implement a use case, ‘print prescription’. We decide to use Clinic as the system class and implement the use case with a system operation that takes an argument of type Patient and an argument of type Date (the date of the prescription to print). Draw a sequence diagram showing how this operation could be implemented, inventing suitable names for the methods and parameters required.
A
See specimen exam paper solutions.