Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Write the test cases for a vending machine?



Write the test cases for a vending machine?..

Answer / 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

More Project Planning Interview Questions

How do you track the technical activities in your project? How is the status of the project communicated to the team?

3 Answers  


Write a function that inserts an integer into a linked list in ascending order. Write the test cases for this function.

0 Answers   Microsoft,


Does XML has white spaces?

1 Answers  


How do you write unit test cases ?

6 Answers   College School Exams Tests, Microsoft,


How would you deal with changes being made a week or so before the ship date?

1 Answers   Microsoft,


Write the InStr function. Write the test cases for this function?

2 Answers   Microsoft,


What is the role of CLR in ASP.NET?

0 Answers  


How do you estimate the effort for your project? Where is the estimation procedure documented?

4 Answers  


What is the project management structure in your project? Is a PL assigned to the project?

0 Answers   ABC,


How do speedup the project delivery without affecting the cost?

6 Answers   emc2, HCL,


What are the documents that you will refer to create the plan?

1 Answers  


Write a function that counts the number of primes in the range [1-N]. Write the test cases for this function.

2 Answers   Microsoft,


Categories