Placement AptitudeHardWipro NLTH · Cognizant pattern
How many solutions in non-negative integers does x + y + z = 10 have, if none of x, y, z may exceed 5?
- A. 21
- B. 66
- C. 36
- D. 18
Correct answer: A. 21
Without the cap: C(12, 2) = 66. If x ≥ 6, set x = 6 + x′: x′ + y + z = 4 gives C(6, 2) = 15; same for y and z. Two variables cannot both be ≥ 6. Answer = 66 − 45 = 21. 66 ignores the cap; 36 subtracts only 30.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- 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?
- In how many arrangements of the letters of the word INFOSYS does the word begin with a vowel and the two S’s are not next to each other?
- You walk from (0, 0) to (4, 4) on a grid, one unit east or north at a time. The junctions (1, 1) and (3, 3) are closed. How many shortest…
- A fair die is rolled repeatedly until a 6 appears. What is the probability that the first 6 appears on an odd-numbered roll (1st, 3rd…