Placement AptitudeHardTCS Digital · Infosys SP · CAT
How many positive integers not exceeding 1000 have digit sum exactly 10?
- A. 66
- B. 69
- C. 57
- D. 63
Correct answer: D. 63
Count digit triples (a, b, c) from 0 to 9 with a + b + c = 10: C(12,2) = 66, minus those with a digit of 10 or more (3 cases, each leaving the rest 0). So 63; 1000 itself has digit sum 1.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- In how many ways can 12 different people be divided into three unlabelled groups of sizes 6, 3 and 3?
- How many distinct arrangements of the letters of BANANA have no two A's next to each other?
- In how many ways can 6 different books be arranged in a row on a shelf?
- At a reunion every person shakes hands exactly once with every other person. If 10 people attend, how many handshakes take place?
- Two fair dice are thrown together. What is the probability that the sum of the numbers shown is 7?
- One card is drawn at random from a well-shuffled pack of 52 cards. What is the probability that it is a king or a queen?