CS代写 SWEN30006 Software Modelling and Design ýUniversity of Melbourne 2020

Notation Reference for a State Machine Diagram
Example: Simple ATM
Description:
1. The ATM allows users to deposit and withdraw cash.

Copyright By PowCoder代写 加微信 powcoder

2. When the ATM is turned on, it is initialised and remains in standby mode. While in this mode
the ATM can be disconnected at any time.
3. When a customer approaches the ATM, they will start the ATM service which will result in
the ATM entering an active mode. The ATM will remain active until it has successfully
serviced the user.
4. Upon entering this mode, the ATM will wait for the user to insert their card, after insertion
the ATM will scan the card and wait for the user to enter their pin.
5. If the pin is correct, the ATM will prompt the user to enter their service request, otherwise
the ATM will wait for the user to enter their pin again.
6. When a user selects deposit as their service option, the ATM will wait for the user to insert
7. Otherwise if a user has selected the withdrawal option, the ATM will wait for the user to
enter their withdrawal amount.
8. After either of the services is processed the ATM will wait for the user to remove their card.
Card removal will return the state of the ATM from being active to being on standby.
SWEN30006 Software Modelling and Design ýUniversity of Melbourne 2020

程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com