Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / aj

It doesn't matter... choosing any jar will give you a
complete solution, so they've all got the same odds (100%)
of identifying which set of marble is in which jar.

eg:

Three jars labelled white (W), black (B) and white&black
(WB)

Now pick any jar at random... eg: the one labelled W. From
the problem domain, this jar cannot have W marbles in it,
so it must have either B or WB marbles in it.

Working through the first possibility (that the jar
contains B marbles) means that there are jars with W and WB
marbles in them and the jars these jars are labelled B and
WB or WB and B respectively.

Again, as the jars are guaranteed to be labelled
incorrectly, this means that the WB marbles cannot be in
the jar labelled WB, so they can only be in the jar
labelled B. This leaves the W marbles to be in the jar
labelled WB.

You can follow this thought process through with any jar
and will find that you can always solve the problem by
looking in one jar.

The question is cleverly written to cause confusion by
having marble colours W & B and then a third colour which
seems to be a mix of the two, when in reality it is simply
a third colour.

Is This Answer Correct ?    4 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How did you choose the appropriate lifecycle for your project?

3357


Write a function that inserts an integer into a linked list in ascending order. Write the test cases for this function.

5553


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?

2491


What is the role of CLR in ASP.NET?

3748


How do you create the Software Project Management Plan (SPMP)?

4555


funds flows analysis how to prepare for interview

1564


how to tell project details in interview the project is funds flow analysis?

1674


Test the save dialog in Notepad?

4808


How are the team members kept informed about the current status of the project?

2698


Please, i am a final year student in nigeria and i have a project on pension fund administration and i need help in starting.

2324


What is the project management structure in your project? Is a PL assigned to the project?

2519


Did you used crystal reports? Do you have sufficient knowledge on crystal reports?

2567


How do you rate yourself in c#,vb.net,Asp.net,oracle,sql server ?

5446


Explain dll hell?

1184


Write the test cases for instr function?

1092