Placement AptitudeVery hardTCS NQT · Capgemini
In how many ways can 5 distinct balls be placed in 3 distinct boxes so that no box is empty?
- A. 243
- B. 147
- C. 150
- D. 180
Correct answer: C. 150
Surjections: 3^5 - 3 x 2^5 + 3 x 1 = 243 - 96 + 3 = 150.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- How many 4-digit numbers with all distinct digits are divisible by 5?
- Three people each have a birthday month chosen uniformly from 12 months. What is the probability that at least two share a birth month?
- A 5-card hand is dealt from a standard 52-card deck. To three decimals, what is the probability that it has exactly 2 hearts?
- Two fair dice are rolled. What is the probability that the sum is 9 or 10?
- In how many ways can 2 vowels and 2 consonants be selected from the letters of the word EQUATION?
- In how many different ways can the letters of the word PLACE be arranged?