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
How did you choose the appropriate lifecycle for your project?
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?
Test the save dialog in Notepad?
What training have you undergone in project planning?
What is the role of CLR in ASP.NET?
What and where are the policy statements for software project planning?
How do you create the Software Project Management Plan (SPMP)?
Why do you want to work for Microsoft?
I want question and paper based MS Projects. Also is there any exam which microsoft conduct for Ms Project professional to issue certification?
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?
How are the team members kept informed about the current status of the project?
Write the test cases for instr function?
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?
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.