Three Boxes Contain Black And White Marbles
Interview question for web technology intern in santa monica ca imagine that you have three boxes one containing two black marbles one containing two white marbles and the third one black marble and one white marble.
Three boxes contain black and white marbles. One containing two black marbles one containing two white marbles and the third containing one white and one black marble. However you re told that each of the labels are wrong. The boxes were labeled for their contents bb ww and bw but someone has switched the labels so that every box is now incorrectly labeled. So there s 3 right over here so number that satisfy the event or the constraint right over here.
You may reach into one of the boxes and pull out only one marble. If the ball obtain is black in reality that must be the black box. That means the box marked white is mixed and the ball marked black is white. Which box should you remove a marble from to determine the contents of all three boxes.
Many times the words make them more complicated than they need to. In every one there are 2 balls. So it s very simple ideas. Three boxes contain black and white marbles.
There are three boxes in front of you. Two marbles are drawn without replacement from a jar containing 4 black and 6 white marbles. By selecting only one marble determine how you can correctly lable the boxes. We have 3 boxes.
Three closed boxes have either white marbles black marbles or both and they are labeled white black and both. All three boxes are mislabled. However all three boxes are mislabeled. The boxes were labeled for their contents bb ww bw but someone has switched the labels so that every box is now incorrectly labeled.
Well there s 3 marbles that satisfy my event. You are allowed to take one marble from one of the boxes of your choice and by this process of sampling you are to determine. Which box should you remove a marble from to determine the contents of all three boxes. No label corresponds to the marbles in its box.
A draw the tree diagram for the experiment. Three closed boxes have either white marbles black marbles or both and they are labeled white black and both. If we work with the problem for a little bit we quickly see. If you get a white ball then the box marked mixed is white the ball.
The probability that both marbles are black is and the probability that both marbles are white is where and are relatively prime positive integers. In one box there are two black marbles in another there are two white marbles. One of them has 2 black balls second 2 white balls third black and white ball. One box has all black marbles one has all white marbles and one has a mixture of black and white.
There s 3 outcomes that will allow this event to occur i guess is one way to say it. You may reach into one of the boxes and pull out only one marble. In the third box there is one black and one white marble. Notice that all black and all white are the same in the sense that they are the same color.