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?

Answers were Sorted based on User's Feedback



You have 3 jars. Each jar has a label on it: white, black, or white&black. You have 3 sets of ..

Answer / aj

It doesn't matter... choosing any jar will give you a
complete solution, so they've all got the same odds (100%)
of identifying which set of marble is in which jar.

eg:

Three jars labelled white (W), black (B) and white&black
(WB)

Now pick any jar at random... eg: the one labelled W. From
the problem domain, this jar cannot have W marbles in it,
so it must have either B or WB marbles in it.

Working through the first possibility (that the jar
contains B marbles) means that there are jars with W and WB
marbles in them and the jars these jars are labelled B and
WB or WB and B respectively.

Again, as the jars are guaranteed to be labelled
incorrectly, this means that the WB marbles cannot be in
the jar labelled WB, so they can only be in the jar
labelled B. This leaves the W marbles to be in the jar
labelled WB.

You can follow this thought process through with any jar
and will find that you can always solve the problem by
looking in one jar.

The question is cleverly written to cause confusion by
having marble colours W & B and then a third colour which
seems to be a mix of the two, when in reality it is simply
a third colour.

Is This Answer Correct ?    4 Yes 8 No

You have 3 jars. Each jar has a label on it: white, black, or white&black. You have 3 sets of ..

Answer / confucious

Label: B W B&W

Case 1
choose B :
possibility of W is (B or B&W) = 50%
possibility of B@W is (B or W) = 50%

Case 2
choose W :
possibility of B is (W or B&W) = 50%
possibility of B@W is (B or W) = 50%

Case 3
choose B&W :
possibility of B is (W or B&W) = 50%
possibility of W is (B or B&W) = 50%

hence i would support DV's opinion

Is This Answer Correct ?    7 Yes 13 No

Post New Answer

More Project Planning Interview Questions

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?

12 Answers   Intel, Microsoft,


can any body help me to know the procedure followed by programmer/developer inorder to develop a project. what are the steps, how he/she get the SRS,technical document??how does he submit his wotk to TL/PM/Business Analyst?? How does these documents review?? how the developer starts coding? how does he deploy his coding in server? in which server he will deploy?? what are the important document a developer should have??? Pls give me a real time scenario of development process, how it is going on in a company???? Thanks in advance

1 Answers  


What are the different inputs and outputs of the phases in SDLC ?

7 Answers   Apple, Honeywell,


How do you know that a particular individual is the project leader (or) how do you know that you are the Project Leader?

1 Answers  


How would you deal with a bug that no one wants to fix? Both the SDE and his lead have said they won?t fix it?

0 Answers   Microsoft,






About current project architecture ?

2 Answers   ADP, Microsoft,


What is the stage when code is delivered to the client and he is testing it ?

5 Answers   Microsoft,


When do revise your project plan? When do you know you have to revise your project plan? Where is the plan revision frequency documented?

3 Answers   Microsoft, Satyam,


How do you know what you need to deliver or do in your project?

2 Answers  


How to estimate the cost of projects ?

3 Answers   ABB, Voltas,


How do you perform impact analysis ?

8 Answers   HCL, Microsoft,


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

4 Answers  


Categories