Answer:
(a) 125


Step-by-step explanation:
We are given that access code consists of 3 digits.
Each digit can be any digit through 1 to 5 and can be repeated.
Now, this problem is equivalent to the problem that we have to find:
The number of 3 digit numbers that can be formed using the digits 1 to 5 with repetition allowed.
(a) We have 3 places here, unit's, ten's and hundred's places respectively and each of the 3 places have 5 possibilities (any digit allowed with repetition).
So, total number of access codes possible:

(b) Suppose, an access code is randomly selected, what is the probability that it will be correct.
Formula for probability of an event E can be observed as:

Here, only 1 code is correct, so
Number of favorable cases = 1
Total number of cases = 125
So, required probability:

(c) Probability of not selecting the correct access code on first time:

So, the answers are:
(a) 125

