TUTORIAL EXERCISES D - ACTIVITY DIAGRAMS
Q1 Produce an activity diagram for the following scenario:
A Catalogue shop operates the following system:
A Customer will complete an Order Form and will give it
to the Sales Staff. The Sales Staff will process the order.
The Customer will pay for the order. The Stockroom Staff
will get the goods and then deliver the goods to the Sales
Staff.
The Sales Staff will check the goods. Finally the
Customer will collect the goods.
Q2 Produce an activity diagram for the following scenario:
A Supplier operates the following Invoicing and Payment
system:
The Customer will fill an order.
When the Office Clerk receives the Order, the Order will
be checked. The warehouse will then dispatch the goods
to the Customer. At the same time, the Office Clerk will
dispatch an invoice to the Customer.
Will then wait for the payment to arrive from the
Customer. When Payment arrives, the Office Clerk will
update the Customer details.
1
Q3 Produce an activity diagram to describe this alternative
invoicing and payment process.
Invoicing and payment is carried out using the following
sequences.
Main Flow :
1. Goods delivered to customer
2. Invoice printed
3. Invoice dispatched
4. Wait for payment
5. Payment arrives
6. Payment accepted
7. Goods paid for.
Alternative Flow :
4.1 No payment arrives in 30 days, so send letter to
remind and resume at 4, waiting another 30 days.
4.2 No payment after first reminder, so suspend
account, issue a warning letter and resume at 4,
waiting another 15 days.
4.2 No payment arrives after second warning, so
register as bad debt and hand over to credit
recovery agency, and exit process.