Question 10
MediumOriginal questionA locker code is a string of 4 digits from 0 to 9. Digits may repeat, but the code must not begin with 0. How many codes are possible?
Show the answer and explanation
CorrectNot quiteAnswer C
Correct answer: C
Explanation
First digit: 9 choices (1 to 9).
Each of the other three digits: 10 choices, since repetition is allowed.
Codes .
Worth noting
10,000 ignores the rule about 0. 4,536 is , which wrongly forbids repetition.
- Concept
- Codes with repetition and one restricted position
- Typical timeTypical
- 70 s
- Your timeYours
- —
Practise this chapter →
Ten questions from Counting and Basic Probability, at your own pace.