Software Engineering for Students A Programming Approach

Software Engineering for Students A Programming Approach Software Engineering for Students A Programming Approach

web.firat.edu.tr
from web.firat.edu.tr More from this publisher
21.08.2013 Views

util Figure C.6 A package diagram Stack ArrayList Random C.4 Activity diagrams 415 An activity diagram can also be used to show a human activity, such as carrying out throwaway prototyping, Figure C.7. Actions are written in boxes with curved corners. The sequence of actions is shown by the arrows. A sequence starts with a special “blob” symbol. A sequence ends with a different symbol, as shown. Draw up an outline specification [User happy] Construct prototype Check with user Deliver the specification [User requires change] Figure C.7 Activity diagram showing throwaway prototyping Refine prototype

416 Appendix C ■ UML summary This diagram also uses the diamond-shaped branch symbol. Associated with each output from the branch is a condition (termed a guard). If the condition is true, the route is taken – just as in an if statement. Further reading •Two very clear and readable books on UML are: Martin Fowler, UML Distilled, Addison-Wesley. Perdita Stevens, and Rob Pooley, Using UML, Addison-Wesley.

util<br />

Figure C.6 A package diagram<br />

Stack<br />

ArrayList<br />

Random<br />

C.4 Activity diagrams 415<br />

An activity diagram can also be used to show a human activity, such as carrying out<br />

throwaway prototyping, Figure C.7. Actions are written in boxes with curved corners.<br />

The sequence of actions is shown by the arrows. A sequence starts with a special “blob”<br />

symbol. A sequence ends with a different symbol, as shown.<br />

Draw up an outline<br />

specification<br />

[User happy]<br />

Construct<br />

prototype<br />

Check with<br />

user<br />

Deliver the<br />

specification<br />

[User requires change]<br />

Figure C.7 Activity diagram showing throwaway prototyping<br />

Refine<br />

prototype

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!