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 |
How do you track the technical activities in your project? How is the status of the project communicated to the team?
Write a function that inserts an integer into a linked list in ascending order. Write the test cases for this function.
Does XML has white spaces?
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?
Write the InStr function. Write the test cases for this function?
What is the role of CLR in ASP.NET?
How do you estimate the effort for your project? Where is the estimation procedure documented?
What is the project management structure in your project? Is a PL assigned to the project?
How do speedup the project delivery without affecting the cost?
What are the documents that you will refer to create the plan?
Write a function that counts the number of primes in the range [1-N]. Write the test cases for this function.