Placement AptitudeVery hardTCS NQT · Infosys
How many 5-digit numbers have digits that alternate between odd and even (for example 52741 or 21036)?
- A. 5625
- B. 6250
- C. 3125
- D. 2500
Correct answer: A. 5625
Odd-even-odd-even-odd: 5⁵ = 3125. Even-odd-even-odd-even: the leading even digit cannot be 0, so 4 × 5⁴ = 2500. Total 5625. 6250 lets the number start with 0.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- A box has 2 white and 3 black balls. All five are drawn one by one without replacement. What is the probability that the last ball drawn…
- A fair die is rolled repeatedly until the running total of all the rolls is at least 2. What is the expected number of rolls?
- How many 6-digit numbers that use each of the digits 1, 2, 3, 4, 5, 6 exactly once are divisible by 11?
- A fair die is rolled three times. What is the probability that the three numbers can be the side lengths of a non-degenerate triangle?
- In how many ways can 10 identical balls be placed into 4 distinct boxes so that every box has at least 1 ball and at most 4 balls?
- A fair die is rolled repeatedly until a six appears for the first time. What is the probability that the first six occurs on an…