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 / sceptic
DV is ABSOLUTELY Right. There is only and only 2 combination
possible for this problem. Even if you try you cannot
arrange them in any other way. So,
Jar Arrangements: B W B&W
Arrangement #1 w b&w b
Arrangement #2 b&w b w
So you pick any Jar and look at the color and it must follow
either Arrangement 1 or 2. So, you pick rest of your answer
from this table accordingly.
Scenario : Say you pick Jar:B and it contains White (w)
Color left: Black and B&W and Jar left: White and B&W
B&W cannot be in the B&W jar so it must be in the White Jar.
Exactly the same theory goes for whichever Jar you pick and
color it come out to.
**This is exactly what AJ said but I thought I would
reaffirm since people marked it as wrong :S
| Is This Answer Correct ? | 5 Yes | 4 No |
Post New Answer View All Answers
When you come in to the office, how do you know what you have to do during the day?
How did you choose the appropriate lifecycle for your project?
how to tell project details in interview the project is funds flow analysis?
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.
Write the instr function.
What and where are the policy statements for software project planning?
Explain dll hell?
Tell about yourself and job ?
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 ensure that your project plan is available for others to see? Where will you find the plans of other projects executed (in the past or currently) in the center?
Can any one please give me an effective format for designing a functional specification and technical specification sheet for a software developemnt related company asap...it would be highly useful for my final year project.
Did you used crystal reports? Do you have sufficient knowledge on crystal reports?
Tell about current project ?
Write the test cases for instr function?
Explain the various activities you do (as a PL) when the project is started up.