Swe1 Uml Examples Sol
Swe1 Uml Examples Sol
The SPID is external to the health portal, but it interacts with it to perform the
authentication, so it should be represented as an actor
Use case
• Draw a use case diagram to represent the following description of
the online grocery store, Groceries-R-us.
• Using the Online Order System, the Customer places their order. To
place an order, the Customer adds items to, and may remove items
from, the order. When they are finished, they submit the order and
the order placement is complete. The Order Clerk at Groceries-R-us
retrieves the order from the system and assigns it to a Delivery
Person.
• The Delivery Person delivers the order to the Customer. While
delivering groceries, the Delivery Person sometimes consults the
Groceries-R-us satellite (GPS) Directions System for driving
directions to the Customer’s home. After the groceries have been
delivered, the Customer signs the delivery slip for the Delivery
Person (to acknowledge receipt who returns it to the Order Clerk).
Upon receipt of the signed delivery slip, the Order Clerk issues an
invoice to the Customer
• Using the description from previous question,
prepare a sequence diagram that shows the
sequence of events involved in a successfully
delivered order (from the Customer submitting the
order to receiving the invoice). The diagram should
clearly show the interactions between the Customer,
the Online Order System, the Order Clerk, the
Delivery Person and the Direction System.