ITEC 324

Homework #1

 

1)     This problem is based on the online store discussed in problem 2.12 in your text. We are adding one actor to the system: an order processor. Using the online store discussed in problem 2.12 in your text, do the following:

a)     For each of the following use cases, list the actors and steps of the use case:

i)       a Customer places an Order for a Product

ii)     a Customer places a RushOrder for a Product

iii)   a Customer changes an open order to a rush order. The reverse is not possible.

iv)    a Customer cancels an order. Note than only an open or rush order can be canceled.

v)      a Customer changes Address

vi)    an OrderProcessor changes an order to shipping or shipped.

b)     For each use case, do a walkthru of the main sequence (ie not the variations) and list the collaborators you record on CRC cards.

c)      Draw a sequence diagram and a collaboration diagram for the first use case (ie places an order).

d)     Show the final CRC cards. These should be shown on 8.5x11 paper, not on actual cards. You don't need to follow the exact format, as long as you clearly include all 3 types of information for the card.

e)     Draw a state diagram for an order. Order states include open, rush, shipping, and canceled.

f)      Draw a dependency diagram based on the CRC card collaborators

g)     Draw a class diagram, using the dependency diagram as a start.

2)     Your solution should not be hand written

3)     To draw your diagrams, you should use a tool such as the author's Violet (the simplest), Poseidon for UML, Argo, Rational Rose (the most complex), or MS Visio. One other tool to consider is at http://www.magicdraw.com/

4)     When drawing your diagrams, please make sure that you pay attention to using the right kind of lines and arrowheads.