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 / md abdul aziz
there will be 2 combinations of the incorrect labeling.
lets suppose A,B,C are three jars and A has white, B has
Black and C has both of them.
now possible labeling will be A:B; B:B&W; C:W or A:B&W; B:W,
C:B . There cannot be other combinations...try it.
now in either of cases you choose the jar labeled with B&W
i.e mixture. and see which color of marbles are there. It
wont have both as it is incorrectly labeled. So it will be
the jar of such type of marbles and the remaining jars can
be easily identified with the justification of incorrect
labeles.
| Is This Answer Correct ? | 24 Yes | 8 No |
Post New Answer View All Answers
How do you rate yourself in c#,vb.net,Asp.net,oracle,sql server ?
Test the save dialog in Notepad?
how to tell project details in interview the project is funds flow analysis?
Tell about current 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?
Please, i am a final year student in nigeria and i have a project on pension fund administration and i need help in starting.
How are the team members kept informed about the current status of the project?
create a flow diagram up to 2 levels for hospital management
What is the project management structure in your project? Is a PL assigned to the project?
How did you choose the appropriate lifecycle for your project?
Write the test cases for instr function?
Did you used crystal reports? Do you have sufficient knowledge on crystal reports?
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.
Write a function that inserts an integer into a linked list in ascending order. Write the test cases for this 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.