Placement AptitudeHardCapgemini · HCL
How many non-negative integer solutions does x + y + z = 12 have?
- A. 66
- B. 55
- C. 91
- D. 220
Correct answer: C. 91
Stars and bars: C(12 + 2, 2) = C(14,2) = 91.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- From 5 married couples, 4 people are chosen so that no married couple is chosen together. In how many ways can this be done?
- Eight points lie in a plane, of which exactly 3 are collinear and no other three are collinear. How many triangles can be formed?
- In how many ways can 4 boys and 3 girls be arranged in a row so that no two girls are adjacent?
- How many distinct arrangements of the letters AABBC have no two A's adjacent?
- Five letters are placed at random in five addressed envelopes, one per envelope. What is the probability that none is in its correct…
- A number is chosen at random from 1 to 100. What is the probability that it is divisible by 2 or by 3?