Mathematics (JEE)ModerateCAT · MBA placement
How many strings of length 5 over {0, 1, 2, 3, 4} contain exactly two 0s?
- A. 1280
- B. 320
- C. 2560
- D. 640
Correct answer: D. 640
Choose the two positions for the 0s in C(5,2) = 10 ways; the other three positions take values from {1, 2, 3, 4}: 4³ = 64, so 10 × 64 = 640. Option 1280 double-counts the choice of positions.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many strings of length 5 over {0, 1, 2} contain no two consecutive 0s?
- How many non-negative integer solutions are there to x + y + z = 6 with x ≤ 2?
- How many ordered 4-tuples of integers, each between 1 and 4 inclusive, have sum 12?
- How many triples of integers (a, b, c) with 0 ≤ a < b ≤ c ≤ 5 are there?
- Five fair dice are rolled. What is the probability that their total is exactly 6?
- A fair coin is tossed repeatedly. What is the probability that the first head appears on the 4th toss?