Q.If each user on a computer system has a password which is eight characters long where each character is an upper case letter or a digit. Each password must contain at least one digit. How many password are possible.
You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
Start your 14-day free trial to unlock the full solution →Total 8-character passwords from 36 symbols (26 letters + 10 digits) minus those using letters only (no digit) gives valid passwords.
[!FORMULA] By the multiplication principle, the number of 8-character strings from an alphabet of size is . Using the complement rule, (passwords with at least one digit) (all possible passwords) (passwords with no digit at all, i.e. all-letter passwords).
-
Each character is an upper-case letter (26 choices) or a digit (10 choices), so each of the 8 positions has possible characters.
-
Total passwords (no restriction): (each of the 8 positions filled independently from 36 symbols).
-
Compute : , , .
-
Passwords with NO digit (all 8 characters are upper-case letters, violating "at least one digit"): (each position chosen from 26 letters).
…
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.