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
What is the role of CLR in ASP.NET?
Tell about current project ?
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?
What training have you undergone in project planning?
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?
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 do you rate yourself in c#,vb.net,Asp.net,oracle,sql server ?
Why do you want to work for Microsoft?
Tell about yourself and job ?
create a flow diagram up to 2 levels for hospital management
Explain dll hell?
How are the team members kept informed about the current status of the project?
Write the instr function.