Placement AptitudeHardCAT · TCS NQT Advanced
In how many ways can 20 be written as a sum of three DIFFERENT positive integers, if the order does not matter?
- A. 33
- B. 171
- C. 27
- D. 24
Correct answer: D. 24
Take x < y < z by the smallest part: x = 1 → y = 2..9 (8 ways), x = 2 → y = 3..8 (6), x = 3 → y = 4..8 (5), x = 4 → y = 5..7 (3), x = 5 → y = 6, 7 (2). Total 24. Allowing equal parts gives 33.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- Two different cells of a 3 × 3 grid are chosen. In how many ways can they be chosen so that they do NOT share a side?
- A bug walks from one corner of a box-shaped grid to the opposite corner, moving one unit at a time in the +x, +y or +z direction, from (0…
- 10 identical candies are shared among 3 children so that each child gets an EVEN number of candies (zero allowed). In how many ways can…
- How many 3-digit numbers have digits that form an arithmetic progression when read from left to right (for example 135, 840 or 777)?
- Two fair dice are thrown. What is the probability that the total is a multiple of 3 or a multiple of 4?
- Four points are chosen independently and uniformly at random on a circle. What is the probability that the quadrilateral they form…