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
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.
When you come in to the office, how do you know what you have to do during the day?
Write the test cases for instr function?
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?
How did you choose the appropriate lifecycle for your project?
how to tell project details in interview the project is funds flow analysis?
Explain dll hell?
Why do you want to work for Microsoft?
Write a function that inserts an integer into a linked list in ascending order. Write the test cases for this function.
What training have you undergone in project planning?
I want question and paper based MS Projects. Also is there any exam which microsoft conduct for Ms Project professional to issue certification?
How do you create the Software Project Management Plan (SPMP)?
What is the project management structure in your project? Is a PL assigned to the project?