解析UML、讲解软件工程UMLSoftware Development Methodologies
- 首页 >> OS编程CSIT314 Software Development Methodologies
Week 12 – Assessment (5 marks)
Note:
Submit a hardcopy of your work to the tutor. Submission must be made at the end of the
lab/tutorial. Late submission is NOT accepted. Submission over emails is NOT accepted.
Important note: This lab exercise is expected to be completed independently.
Plagiarism may result in a FAIL grade being recorded
1. Develop a UML activity diagram describing the following processes (2.5 marks):
The Broker sends a Mortgage offer to the customer and waits for a reply. If the customer
calls or writes back declining the mortgage, the case details are updated and the work is
then archived prior to cancellation. If the customer sends back the completed offer
documents and attaches all prerequisite documents then the case is moved to
Administration for completion. If all pre‐requisite documents are not provided, a message
is generated to the customer requesting outstanding documents. If no answer is received
after 2 weeks, the case details are updated prior to archive and cancellation.
2. Develop a UML state machine diagram modelling the following product (2.5 marks):
A pager has two buttons: an activation button and a selector button. When it is off,
pressing either of the buttons turns it on. When it is on, the pager goes into its ready
state. From the ready state, a press of the selector button will display a page (typically a
phone number), or the message "no page" if there is no page recorded. Pressing the
activation button during page display erases any recorded page and returns the pager to
its ready state. Pressing the selector button during page display causes the query "off" to
be displayed. If the activation button is pressed when “off” is displayed, the pager turns
off; if the selector button is pressed, the pager returns to its ready state. When the pager
is not in its ready state, failure to press any button for five seconds returns the pager to
its ready state. If a page is received when the pager is on, the pager records the page
and immediately beeps until either one of its buttons is pressed, or it has beeped five
times, after which it returns to its ready state. The pager only holds one page, so each
page replaces any undeleted previous page. Turning the pager off erases any recorded
page.