Placement AptitudeHardWipro · Accenture pattern
How many non-negative integer solutions does x + y + z = 12 have if x is at most 5?
- A. 66
- B. 28
- C. 91
- D. 63
Correct answer: D. 63
Unrestricted solutions: C(14,2)=91. Solutions with x>=6 (set x'=x-6): C(8,2)=28. Valid = 91-28=63.
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 non-negative integer solutions does x + y + z + w = 10 have if each variable is at most 4?
- How many positive integer solutions does x + y + z = 15 have if each of x, y, z is at most 10?
- In how many ways can 10 identical candies be distributed among 4 children so that each child gets at least 1 and at most 4 candies?
- In how many ways can 20 identical chocolates be distributed among 5 children so that each child gets at least 2 and at most 6 chocolates?
- In how many ways can 3 numbers be selected from 1 to 20 so that no two of them are consecutive?
- In how many ways can 16 identical balls be placed into 4 distinct boxes so that each box contains an odd number of balls?