Question 151 markMCQMedium
A phone PIN is any string of 4 digits from 0000 to 9999, so 0 may come first and digits may repeat. How many PINs have at least one digit appearing more than once?
Confirming your payment
Competency-Based Questions (CBQ) · Question 15 of 80
A phone PIN is any string of 4 digits from 0000 to 9999, so 0 may come first and digits may repeat. How many PINs have at least one digit appearing more than once?
(A)
(B)
(C)
(D)
Option (A) is correct.
Explanation:
"At least one digit appears more than once" is the opposite (complement) of "all four digits are different". Count all PINs and subtract the PINs with four different digits.
All PINs. Each of the 4 places can be any of the 10 digits (repetition allowed):
PINs with all digits different. Arrange 4 of the 10 digits:
PINs with a repeated digit:
Why the other options are wrong