Purchase Solution

Test cases for a vending machine

Not what you're looking for?

Ask Custom Question

Hi,
I need assistance in the following problem please.

Derive test cases from the following informal specifications for a simple vending machine:

Program CoinBox accepts quarters and distributes coffee.

Users may:
- insert a quarter
- ask for a cup of coffee
- ask for quarters to be returned
Coffee costs 2 quarters.

The test cases should cover each transition of the finite state machine at least once.

Best Regards,

Purchase this Solution

Purchase this Solution


Free BrainMass Quizzes
Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.