Homework #2

Chapter 5

These are questions from the textbook. (Sommerville Software Engineering 9)

5.7 Based on your experience with a bank ATM, draw an activity diagram that models the data processing involved when a customer withdraws cash from the machine.

5.8. Draw a sequence diagram for the same bank ATM system as the question above.

5.9 Draw a state diagram of the ATM screen based upon an ATM you use. .

Draw these using STARUML http://download.cnet.com/StarUML/3000-2383_4-10958000.html

Upload to moodle.

Here are some UML guideline websites
 activity diagrams: https://www.ibm.com/developerworks/rational/library/content/RationalEdge/sep03/f_umlbasics_db.pdf
 sequence diagram: http://www.ibm.com/developerworks/rational/library/3101.html

state diagram: video http://www.youtube.com/watch?v=_6TFVzBW7oo OR read this tutorial on state machines: http://www.agilemodeling.com/artifacts/stateMachineDiagram.htm

--

Using STARUML to create a sequence diagram: http://staruml.sourceforge.net/docs/user-guide(en)/ch05_3.html

Using STARUML to create an activity diagram: http://staruml.sourceforge.net/docs/user-guide(en)/ch05_6.html

Using STARUML to create a state diagram:

http://staruml.sourceforge.net/docs/user-guide(en)/ch05_5.html