Project Planning Question:

Download Job Interview Questions and Answers PDF

Write the test cases for a vending machine?

Project Planning Interview Question
Project Planning Interview Question

Answer:

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.

Download Project Planning Interview Questions And Answers PDF

Previous QuestionNext Question
How will gather requirements and where do you record. Is it in word / Excel or do you have any tool for that?Suppose You have 3 jars. Each jar has a label on it: white, black, or white&black. You have 3 sets of marbles: white, black, and white&black. One set is stored in one jar. The labels on the jars are guaranteed to be incorrect (i.e. white will not contain white). Which jar would you choose from to give you the best chances of identifying the which set of marbles in is in which jar?