Placement AptitudeHardTCS NQT Advanced · Infosys SP
How many 4-digit numbers have all their digits even and are divisible by 4?
- A. 500
- B. 300
- C. 200
- D. 375
Correct answer: B. 300
Digits come from {0, 2, 4, 6, 8}, the first not 0: 4 × 5 × 5 × 5 = 500 numbers. With an even tens digit, the last two digits are divisible by 4 exactly when the units digit is 0, 4 or 8, so 3 of the 5 choices work: 4 × 5 × 5 × 3 = 300.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- Cards are turned over one at a time from a well-shuffled pack of 52 until the first spade appears. What is the expected number of cards…
- Five cards are dealt from a pack of 52. What is the expected number of aces among them?
- Three fair dice are rolled. What is the probability that the total is exactly 15?
- Two fair dice are thrown. What is the probability that the sum of the two numbers is greater than their product?
- From a class of 20 students, a team of 5 is to be chosen and one of the 5 is to be made captain. In how many ways can this be done?
- 10 different books are divided between two friends so that each gets at least 2 books. In how many ways can this be done?