Question: Read the following scenario carefully, then create a UML State Machine Diagram for the ordering process using a vending machine: The vending machine is initially

Read the following scenario carefully, then create a UML State Machine Diagram for the ordering process using a vending machine:
The vending machine is initially at default mode. In order to buy an item, the customer should smile to the camera first o., so that the machine will be ready to order. Then if the customer knows about the price, she pushes the order button. If customer does not know about the price, s? he should push query button to check the item price. The system should then display price on the screen, the customer may order. Once the customer has finished ordering items, the customer should press ready to pay button. The screen shows the total and asks the customer whether s? he wishes to pay or to cancel. If cancelled, the system resets everything to default mode and waits for a new client visit to the machine. If customer proceeds to payment by pressing pay button, the system asks whether s? he wishes paying by card or cash or to cancel. If cash is selected, the system returns change if any, outputs the ordered items and prints a receipt, then the machine returns to default mode. If credit card is selected for payment, the client enters card details, and the system validates payment. If card is valid, then system prints the receipt and outputs the ordered items, then the machine returns to default mode. If card is not valid, the system redisplays the payment options screen (pay by cash or card or cancel).
 Read the following scenario carefully, then create a UML State Machine

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!