Exercise 3 ISP550
Exercise 3 ISP550
1. The print-on-demand service provides customers the possibility to print posters, flyers
or books on demand. The customer should be able to select a type of product (poster,
flyer or book), a desired quantity and a paper type. In case a book has to be printed,
additionally the customer can choose between hard cover and soft cover. Finally, the
customer needs to provide a PDF file containing the desired content.
Once an order has been finalized, four parties are involved in processing it: Online Sales,
Accounting, Shipping, and Printing. Online Sales sends the order to Printing, where the
associated PDF file is inspected. If the file is not suitable, a new file is requested from
the customer. Once the file is suitable, Accounting is informed to charge the credit card.
While this is done, Printing carries out the actual printing and sends the result to
Shipping. When Shipping has received both the printed products and conformation
from Accounting that payment was successful, the products are shipped to the customer.
Create a UML Activity Diagram for processing an order.
2. Draw a UML activity diagram representing the following steps of purchasing train
ticket.
Railway Reservation System is a system used for booking tickets over internet. Any
customer can book tickets for different trains. Before any booking can be done,
customers may need to search for the availability of tickets. Tickets can be booked in
two ways; by i-ticket or e-ticket.
For the case of i-ticket, booking can be done by initially filling details in a manual form.
The form is then submitted to an administrator, who then completes the purchasing
process. Tickets are then given to customer, once payment is made. For cancellation,
customer has to go to reservation office and fill up cancellation form and refund is
transferred to customer account. However, for the case of e-tickets, both reservation
and cancellation process are done via online.