QA – Placement Quizzes | Permutation and Combination | Question 10
A box contains 2 red coins, 3 green coins and 4 blue coins. In how many ways can 3 coins be chosen such that at least one coin is green?
(A) 16
(B) 32
(C) 64
(D) 128
Answer: (C)
Explanation: There are three cases:
- 3 green coins
- 2 green coins + 1 non-green coin
- 1 green coin + 2 non-green coins
Therefore, total number of ways = 3C3 + 3C2 * 6C1 + 3C1 * 6C2 = 1 + 3*6 + 3*15 = 64.
Quiz of this Question
Please comment below if you find anything wrong in the above post
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.