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?
Answer Posted / alex
Any BUT B&W.
By picking B you have probability of white equal to 75% (it is W or B&W = 100% * 50% + 50% * 50%).
By picking W you have probability of black equal to 75% (the same formula).
By picking B&W you have the same probability of picking black or white, so it is 50%.
So, if you pick B or W jar you have a higher probability of guessing which marble you will get out of it.
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
Why do you want to work for Microsoft?
What is the role of CLR in ASP.NET?
What training have you undergone in project planning?
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?
How do you rate yourself in c#,vb.net,Asp.net,oracle,sql server ?
Explain dll hell?
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.
how to tell project details in interview the project is funds flow analysis?
Tell about yourself and job ?
Tell about current project ?
Test the save dialog in Notepad?
Explain the various activities you do (as a PL) when the project is started up.
What and where are the policy statements for software project planning?
funds flows analysis how to prepare for interview
create a flow diagram up to 2 levels for hospital management