Question: this is the complete Question Duestion no. 2 a. Build the state-chart diagram corresponding to the following use case. [CL0-2 Use case name Entry condition


this is the complete Question
Duestion no. 2 a. Build the state-chart diagram corresponding to the following use case. [CL0-2 Use case name Entry condition Flow of events PurchaseTicket The Passenger is standing in front of ticket Distributor. The Passenger has sufficient money to purchase ticket. 1. The Passenger selects the number of zones to be traveled. If the Passenger presses multiple zone buttons, only the last button pressed is considered by the Distributor. 2. The Distributor displays the amount due. 3. The Passenger inserts money, 4. If the Passenger selects a new zone before inserting sufficient money, the Distributor returns all the coins and bills inserted by the Passenger. 5. If the Passenger inserted more money than the amount due, the Distributor returns excess change. 6. The Distributor issues ticket. 7. The Passenger picks up the change and the ticket. The Passenger has the selected ticket Exit condition --SECTION 2 Long Question Answers [35] Question no. 2 a. Build the state-chart diagram corresponding to the following use case. [CL0-2] [2.5] Use case name Entry condition Flow of events PurchaseTicket The Passenger is standing in front of ticket Distributor. The Passenger has sufficient money to purchase ticket. 1. The Passenger selects the number of zones to be traveled. If the Passenger presses multiple zone buttons, only the last button pressed is considered by the Distributor. 2. The Distributor displays the amount due. 3. The Passenger inserts money. 4. If the Passenger selects a new zone before inserting sufficient money, the Distributor returns all the coins and bills inserted by the Passenger. 5. If the Passenger inserted more money than the amount due, the Distributor returns excess change 6. The Distributor issues ticket. 7. The Passenger picks up the change and the ticket. The Passenger has the selected ticket Exit condition
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
