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 / elx144
The white jar can be either black or white & black. The
black jar can be either white or black & white. The white &
black jar can be either black or white.
A white marble drawn from the black jar could be either
white or white & black.
A white marble drawn from the black & white jar means the
jar is white...
You must pick from the black & white jar first.
Once you know the mixed jar is white, you know the black jar
is either mixed or white; two jars can't be white at the
same time so the black jar is mixed and the white jar must
be black since there's no other options.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How do you create the Software Project Management Plan (SPMP)?
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.
Did you used crystal reports? Do you have sufficient knowledge on crystal reports?
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?
Tell about yourself and job ?
When you come in to the office, how do you know what you have to do during the day?
funds flows analysis how to prepare for interview
What is the role of CLR in ASP.NET?
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?
What is the project management structure in your project? Is a PL assigned to the project?
How are the team members kept informed about the current status of the project?
Write the instr function.
Write the test cases for instr function?
Test the save dialog in Notepad?
How did you choose the appropriate lifecycle for your project?