Placement AptitudeHardTCS NQT Advanced · CAT
How many positive integers less than 1000 have digits that add up to 5?
- A. 15
- B. 35
- C. 20
- D. 21
Correct answer: D. 21
Write each number as a 3-digit string with leading zeros: a + b + c = 5 with digits 0–9 (no limit binds), C(7, 2) = 21 solutions, and 000 is not among them.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- The 52 cards of a pack are dealt equally among 4 players. What is the probability that a particular player gets all four aces?
- Two fair dice are thrown. What is the probability that the product of the two numbers is at least 15?
- In how many arrangements of 1, 2, 3, 4, 5, 6 in a row are 1 and 2 NOT next to each other and 3 and 4 NOT next to each other?
- A permutation of 1, 2, …, 6 is written in a row. What is the expected number of places where two neighbouring entries are consecutive…
- Shortest grid paths go from (0, 0) to (3, 3) by unit steps right or up. How many of them pass through (1, 1) or (2, 2) (or both)?
- A fair coin is tossed repeatedly. What is the probability that the third head appears before the second tail?