Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

suppose that you have a customer who wants to buy an item from a vending machine a sequence diagram hint: your sequence diagram may include

suppose that you have a customer who wants to buy an item from a vending machine a sequence diagram
hint: your sequence diagram may include customer, VendingMachine, SmartCardReader, and Item image text in transcribed
Vending Machine. A vending machine sells small, packaged, ready to eat items (chocolate bars, cookies, candies, etc.). Each item has a price and a name. A customer can buy an item, using a smart card (issued by the vending machine company). No other payment method (i.e. cash, credit card) are allowed. The vending machine has a smart card reader that updates the available amount of money on the smart card upon completing the sale process. Each time the customer enters the card, the card is validated for purchase, if it is valid, the process sale will be accomplished, otherwise the card and the process will be rejected. The system supports the following functions: Sell an item (choose from a list of items, pay for an item, dispense an item) Recharge the machine with items Monitor the machine (number of sold items, number of sold items per type, total revenue) Set up the machine (define solditems and price of items) The system can be used by a customer (who buys item),a maintenance employee (who recharges and monitors the machines), an administrator (who w sets up the machine). . . songs . SODA CHOP CANDY

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

Question

8. Do the organizations fringe benefits reflect diversity?

Answered: 1 week ago