How many 5-digit passwords are possible, if each digit can be any of 0-9?
Hint. Build up from the 2-digit and 3-digit cases already worked out (100 and 1000) by adding one more independent digit at a time.
Step 1 — Recall the pattern from smaller cases. A 2-digit lock has 10 × 10 = 100 passwords; a 3-digit lock has 100 × 10 = 1000.
Step 2 — Extend to 5 digits. Each additional digit multiplies the count by another 10, so a 5-digit lock has 10 × 10 × 10 × 10 × 10 = 10⁵.
Step 3 — Evaluate. 10⁵ = 1,00,000.
✦ Answer: 1,00,000 passwords.
Where students slip. Assuming the digits can't repeat — this lock allows any digit 0-9 in any position, including repeats, which is exactly why each position independently contributes a factor of 10.
