A passcode on a smartphone consists of 4 digits, and repetition of digits is allowed.
a) Determine the number of possible four-digit passcodes.
b) If a person finds a smartphone and randomly enters 4 digits, what is the probability that the correct passcode is entered?