Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions