UML代写 HOMEWORK 4 – A Sequence Diagram

HOMEWORK 4 – A Sequence Diagram (2 marks) – Due Tuesday 2 October at 17:00

Draw a sequence diagram that best models the use case excerpt with reference to the domain diagram. Your diagram should be as simple as possible while showing all of the required information. Explain and justify any considerations that you need to make. Your considerations will need to include any new design classes that you need to introduce.

Submit your homework solution through the TurnItIn site as one single PDF file. Your diagram can be hand-drawn so long that it is neat and legible. Make sure that you do not rotate your diagram or PDF document because that makes is harder for us to mark.

A Smart Photocopier

A smart photocopier detects authorised users’ fingerprints when they press the copy button. The system also stores PIN numbers that can be used in the event that a fingerprint is not recognised. A domain diagram for this system is shown in the figure.

Use Case Excerpt:

1. An authorised user presses the copy button.

2. Their fingerprint is not recognised by the system.

3. The user enters their PIN number.

4. The system authorises them and stores the new fingerprint in the list of authorised fingerprints for that user.

Hints

  1. Choose “Copier” to be the controller of your system.
  2. The system will receive images of people’s finger prints from the copy button. Not

    “Fingerprint” objects. But Fingerprint objects will contain images.

  3. You will need to introduce some data structures into your system in order to model this use

    case.

Instructions:

Upload your single document PDF solution to Turnitin by 5pm on Monday 20 August.

To get full marks for this homework, your diagram needs to be clear and any text annotations must be legible. Remember that you also need to explain and justify any assumptions that you make.