Placement AptitudeModerateInfosys · Capgemini pattern
In how many ways can 3 red, 3 blue and 1 green flag be arranged in a row so that no two red flags are next to each other? (Flags of the same colour are identical.)
- A. 140
- B. 40
- C. 10
- D. 24
Correct answer: B. 40
Arrange the 4 non-red flags first: 4!/3! = 4 ways (B, B, B, G). They create 5 gaps, and the 3 red flags go into 3 different gaps: C(5, 3) = 10. Total 4 × 10 = 40. 140 = 7!/(3! 3!) is the count with no restriction.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- Ten tickets are numbered 1 to 10. Three are drawn together at random. What is the probability that the smallest number drawn is 3?
- Six people A, B, C, D, E and F stand in a row. C must stand at one of the two ends, and A and B must not stand next to each other. How…
- How many solutions in non-negative integers does x + y + z = 10 have, if none of x, y, z may exceed 5?
- A bag has 6 red and 3 green balls. Balls are drawn one at a time without replacement until the first green ball appears. What is the…
- Three fair dice are rolled. What is the probability that the sum of the three numbers is exactly 10?
- From 5 married couples, 4 people are to be chosen so that no husband–wife pair is included. In how many ways can this be done?