Explanation:
How many 5 digit numbers are there?
starting with 00 000 an going to 99 999
shows there are 100 000 passwords of 5 digits
Each position in the password can have one of ten digits
10 x 10 x 10 x 10 x 10 = 10^5 = 100 000 possible passwords