Need Help ?

Home / Expert Answers / Other / scenario-1-activity-diagram-for-a-ticket-vending-machine-activity-is-started-by-commuter-actor-who-n

(Answered): Scenario 1: Activity diagram for a ticket vending machine Activity is started by Commuter actor who ...



Scenario 1: Activity diagram for a ticket vending machine Activity is started by Commuter actor who needs to buy a ticket. Ti

Scenario 1: Activity diagram for a ticket vending machine Activity is started by Commuter actor who needs to buy a ticket. Ticket vending machine will request trip information from Commuter. This information will include number and type of tickets, e.g. whether it is a monthly pass, one way or round ticket, route number, destination or zone number, etc. Based on the provided trip info ticket vending machine will calculate payment due and request payment options. Those options include payment by cash, or by credit or debit card. If payment by card was selected by Commuter, another actor, Bank will participate in the activity by authorizing the payment. After payment is complete, ticket is dispensed to the Commuter. Cash payment might result in some change due, so the change is dispensed to the Commuter in this case. Ticket vending machine will show some "Thank You" screen at the end of the activity. Scenario 2: Draw a sequence diagram for online shopping Draw the sequence diagram for online bookshop scenario. Online customer can search book catalog, view description of a selected book, add books to shopping cart, and do checkout.


We have an Answer from Expert

View Expert Answer

Expert Answer


Answer to Scenario 1: Activity diagram for a ticket vending machine Activity is started by Commuter actor who needs to buy a ticke...

The Problem has Answer!

We have detailed solutions for you for more understanding.

View Answer