A password consists of five characters. Count the number of possible passwords t
ID: 3300548 • Letter: A
Question
A password consists of five characters. Count the number of possible passwords that can be created in each of the following scenarios. You may assume numbers refer to digits "0" through "9" and letters refer to "a" through "z" lower case only). Characters other than letters or numbers are not allowed. (a)Each character can be any letter or number (i.e., there are not restrictions) (b)The first and second characters must be letters, and the last character must be a number. (c)Passwords must contain exactly two numbers (in any location). (d) Repeat Part (c) if the numbers must be both odd or both even. (e) Passwords must contain at least two letters (in any location).Explanation / Answer
Ans:
There are 10 digits(0-9) and 26 alphabets(a to z)
a)Possible number of passwords=365=60466176
b)Possible number of passwords=26*26*36*36*10=8760960
c)Possible number of passwords=102*263=1757600
d)Possible number of passwords=2*52*263=878800
e)Possible number of passwords=265+10*264+102*263+103*262
=18884736
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.