A locker in bank has 3 digit lock. Mahesh forgot his password and was trying all possible combinations. He took 6 seconds for each try. The problem was that each digit can be from 0 to 9. How much time will be needed to by Mahesh to try all the combinations?
Answer: D
Each of the three digits can be any of 0 to 9, so the digits are independent.
\[ 10 \times 10 \times 10 = 1000 \text{ combinations} \]
\[ 1000 \times 6 = 6000 \text{ seconds} = \frac{6000}{60} = 100 \text{ minutes} \]
Repetition is allowed here - nothing stops a code such as 777 - so it is \( 10^{3} \) rather than \( 10 \times 9 \times 8 \).
Please log in or register to report this question.