Placement AptitudeHardTCS NQT · Infosys pattern
How many three-digit numbers have digits that add up to 10?
- A. 55
- B. 54
- C. 45
- D. 63
Correct answer: B. 54
Write the number as abc with a ≥ 1: put a = a′ + 1 so a′ + b + c = 9, giving 11C2 = 55 non-negative solutions. Remove the one with a′ = 9 (that is a = 10, not a digit): 55 − 1 = 54. 55 is the trap of forgetting that cap.
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 integers from 1 to 500 are divisible by 3 or by 7, but not by both?
- 10 chairs are arranged in a circle. In how many ways can 3 chairs be chosen so that no two chosen chairs are next to each other?
- Two cards are drawn without replacement from five cards numbered 1 to 5. What is the expected value of the larger number drawn?
- Two fair dice are thrown. Given that the sum is odd, what is the probability that the sum is a prime number?
- A and B take turns throwing a pair of dice, A first. A wins if A throws a total of 7 before B throws a total of 6; B wins if B throws a…
- How many squares of all sizes are there in a 6 × 4 grid of unit squares?