Write the test cases for a vending machine?

Answer Posted / ankit jain

Assume tha tvending machine can provide tea, coffee and
milk, without taking any money or coin.

Firast we have to create finite state diagram for the test
case solution.

initial state ---->> coffee ------>> tea--------->> milk

this is the one test case where user can first ask for
coffee from initial state and then ask for tea and milk.

Now we have to take all the +ve test cases where user can
move from one state to another state.

Is This Answer Correct ?    13 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the instr function.

743


When you come in to the office, how do you know what you have to do during the day?

1929


How are the team members kept informed about the current status of the project?

2178


Given a MAKEFILE (yeah a makefile), design the data structure that a parser would create and then write code that iterates over that data structure executing commands if needed.

5172


Explain dll hell?

667






How did you choose the appropriate lifecycle for your project?

2885


How do you rate yourself in c#,vb.net,Asp.net,oracle,sql server ?

4972


Can any one please give me an effective format for designing a functional specification and technical specification sheet for a software developemnt related company asap...it would be highly useful for my final year project.

2446


Assignment A software house got a project to automate sales/purchase department of a furniture store. The store management is clearly transferred their requirements to the software house management. There is no chance of changing the requirements afterwards. Software house management use waterfall process model to make the project. Given is the progress flow of water-fall process model In waterfall process model, the deliverable (document) produced in one phase serves as an input to the next phase. Suppose you are a project manager who is leading this project. It is decided to work and complete the project using waterfall process model approach. You are required to develop a plan in which the key task is to decide the deliverable that should be built during and after completion of each phase. Also give a description or required contents that must be included in those deliverables. You are not supposed to make the complete project. All you are required to do is to make a Project plan. In that, you need to give a set of deliverables (documents) which according to you, should be developed in each of the phase (Requirements, Designing, implementation, Testing, Maintenance). Also provide contents which should be there in each deliverable. The contents should be clear and have brief explanation. Note:: There are one folder and one file in the attached folder. The file is named as Assignment 4 write-up which is your assignment write-up. The other folder named Project deliverables is the folder in which you are required to organize and place your deliverables. Name of the document/deliverable saved in each folder should be mentioned in the file named checklist (This file is placed in the “Project deliverables” folder) For Example If you produce a deliverable named Requirement Specification (RS) in the “Requirements” phase. You need to do following tasks 1) Finalize the RS contents 2) Save the file in sub-folder named Requirements 3) Write the name of this document in the checklist file under the heading Requirements. Similarly, you need to make and save deliverables of each phase. Not all phases contain one deliverable. There must be some phases having more than one deliverables. PLEASE SIR PRIVIDE ME THE CHECK LIST FOR GIVE SENERION ? CHECKLIST ARE: 1-Requirements 2- Designing 3- Implementation 4- Testing 5- Maintenance

6481


Tell about current project ?

2213


Write the test cases for instr function?

648


What is the role of CLR in ASP.NET?

3198


Please, i am a final year student in nigeria and i have a project on pension fund administration and i need help in starting.

1876


funds flows analysis how to prepare for interview

1043


Why do you want to work for Microsoft?

2714