Placement AptitudeHardCAT · Infosys SP
How many 4-digit numbers have digits in non-decreasing order from left to right (for example 1123 or 4789)?
- A. 126
- B. 210
- C. 495
- D. 715
Correct answer: C. 495
The first digit cannot be 0 and the digits never decrease, so 0 never appears. A number is then a choice of 4 digits from 1 to 9 with repetition: C(9 + 4 − 1, 4) = C(12, 4) = 495. 126 = C(9, 4) counts only strictly increasing numbers.
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 numbers are chosen at random from 1, 2, …, 20. What is the probability that their product is divisible by 6?
- A fair coin is tossed 5 times. What is the probability that no two heads come up on consecutive tosses?
- Three people take seats in a row of 10 seats so that between any two of them there are at least 2 empty seats. In how many ways can they…
- Two fair dice are thrown. What is the expected value of the larger of the two numbers (if they are equal, that common number)?
- Four fair dice are thrown. What is the probability that the total is exactly 14?
- In how many ways can 5 different balls be placed into 3 identical boxes if a box may be left empty?