Placement AptitudeHardCAT · TCS NQT Advanced
How many solutions in non-negative integers does x + y + z = 10 have with x ≤ y ≤ z?
- A. 66
- B. 22
- C. 14
- D. 12
Correct answer: C. 14
These are the partitions of 10 into at most 3 parts: for x = 0, (y, z) with y ≤ z: 6; x = 1: 4; x = 2: 3; x = 3: 1. Total 14. 66 counts ordered solutions.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- A, B and C take turns tossing a fair coin in that order (A, B, C, A, …). The first to toss a head wins. What is the probability that B wins?
- A fair die is thrown 4 times. What is the probability of getting at least one six?
- A fair coin is tossed 3 times and X is the number of heads. What is the expected value of X²?
- Two fair dice are thrown. What is the variance of the sum of the two numbers?
- Two fair dice are thrown and the total is at least 9. What is the probability that at least one die shows a 6?
- Bag A has 3 white and 2 black balls; bag B has 2 white and 3 black. A ball is moved at random from A to B, and then a ball drawn from B…