This isn't for homework but was on the first quiz I took for an online class on programing. I have not been able to get a sound explanation on why the answer they say is correct, is actually correct. The questions is,
There are 9 candies in a jar flavored strawberry, cherry, and blueberry, but you don't know the proportions of each. What is the minimum number of candies you can pick before you are certain there are no strawberry candies left?
The possibilities are, 3, 6, 8, 9 or it cannot be determined.
To me, the correct answer would be 7, even though that isn't a given possibility. The reasoning being that if we take it that there are at least one of each flavor, strawberry, cherry and blueberry, that will mean that at least 2 would be non-strawberry. So, 9-2 equals 7. If the first 7 are strawberry, then there is no need to pick the other two because we know that they are either cherry or blueberry. Since it asks for the MINIMUM number, the answer should be 7.
Am I missing something with this?
There are 9 candies in a jar flavored strawberry, cherry, and blueberry, but you don't know the proportions of each. What is the minimum number of candies you can pick before you are certain there are no strawberry candies left?
The possibilities are, 3, 6, 8, 9 or it cannot be determined.
To me, the correct answer would be 7, even though that isn't a given possibility. The reasoning being that if we take it that there are at least one of each flavor, strawberry, cherry and blueberry, that will mean that at least 2 would be non-strawberry. So, 9-2 equals 7. If the first 7 are strawberry, then there is no need to pick the other two because we know that they are either cherry or blueberry. Since it asks for the MINIMUM number, the answer should be 7.
Am I missing something with this?