Question

How many possible passwords are there, given the following restrictions: Must be between 4 and 6...

How many possible passwords are there, given the following restrictions:

Must be between 4 and 6 characters long

Must begin with ‘A’

May only contain letters (uppercase or lowercase) and digits

(6-4) * (26*2 + 10)

(26*2 + 10)3 + (26*2 + 10)4 + (26*2 + 10)5

(26*2 + 10)4 + (26*2 + 10)5 + (26*2 + 10)6

(26*2 + 10)(6-4)

Which is true?

Recursive algorithms are sometimes simpler than non-recursive algorithms

Recursive algorithms are more efficient than non-recursive algorithms

Recursive algorithms can only have one base case

Recursive algorithms can only have one recursive case

Homework Answers

Answer #1

1)Password contain both upper and lowe case letters =>26*2 and also contain digits =>10.

Password must be contain 4-6 digits and also given password must always starts from A.So we have length of 3-5.

So password =(26*2+10)*(3+4+5).

Answer is

(26*2 + 10)3 + (26*2 + 10)4+ (26*2 + 10)5

2)Answer is Recursive algorithms are sometimes simpler than non-recursive algorithms.

Recursive algorithms can have more than one base case and can have more than recursive case so option 3&4 are wrong.

Recursive algorithms are not effecient than non recursive algorithms.so option 2 is wrong

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
a password must be 4 characters long and contain only digits and lowercase english letters. The...
a password must be 4 characters long and contain only digits and lowercase english letters. The english alphabet contains 5 vowels. Assuming that digits and letters can be repeated how many differnt passwords contain exactly one vowel? enter the exact numeric number
A computer password must be eight characters long. How many passwords are possible if only the...
A computer password must be eight characters long. How many passwords are possible if only the 26 letters of the alphabet are allowed? Assuming that repetitions of alphabets is possible to create the password then the number of passwords possible Assuming that repetitions of alphabets is not possible to create the password then the number of passwords possible A jar contains 4 red marbles numbered 1 to 4 and 10 blue marbles numbered 1 to 10. A marble is drawn...
A computer password can be 5 - 6 characters. The password must contain at least 1...
A computer password can be 5 - 6 characters. The password must contain at least 1 digit. All other characters must either be digits or lower case letters. How many unique passwords exists?
How many passwords of 5 characters can be made if each password must start with two...
How many passwords of 5 characters can be made if each password must start with two digits and end with three letters. The digits will be with replacement and the letters will be without replacement.
The AccessPlus system at ISU has the following policy for creating a password: -Passwords must be...
The AccessPlus system at ISU has the following policy for creating a password: -Passwords must be exactly 8 characters in length. -Passwords must include at least one letter (a-z, A-Z) or supported special character (@, #, $ only). -All letters are case-sensitive. -Passwords must include at least one number (0-9). -Passwords cannot contain spaces or unsupported special characters. According to this policy, how many possible AccessPlus passwords are available? (Round to the nearest trillion)
a common computer programming rule is that names of variables must be between one and eight...
a common computer programming rule is that names of variables must be between one and eight characters long. the first character can be any of the 26 letters, while successive characters can be any of the 26 letters or any of the 10 digits. for example, allowable variable names include A, Bb, and M3477K. how many different variable names are possible? (ignore the difference between uppercase and lower case letters)
Suppose that passwords for an email provider: must be either 8 or 10 characters long are...
Suppose that passwords for an email provider: must be either 8 or 10 characters long are case-sensitive, can include digits, and can include any of 12 special characters cannot end in a special character must contain at least one capital letter, one digit, or one special character (can contain more than one, just must contain at least one) How many different passwords are possible?   Show your work.   Work on the back of this sheet and attach additional sheets as necessary.    A final answer...
Determine how many different computer passwords are possible if (a) the digits and letters can be...
Determine how many different computer passwords are possible if (a) the digits and letters can be repeated, and (b) if the digits and letters cannot be repeated. i. 4 digits followed by 2 letters ii. 5 digits followed by 1 letter. iii. 3 digits followed by 3 letters
Discrete Mathematics A pin consists of 6 characters. Each one of the characters can be digits...
Discrete Mathematics A pin consists of 6 characters. Each one of the characters can be digits (0-9) or letters (upper case only). 1. How many codes are possible if there are no restrictions? 2. How many codes are possible if none of the characters can be repeated? 3. How many codes contain at least one repeated character?
A system administration of our school has instituted the following rules when it comes to the...
A system administration of our school has instituted the following rules when it comes to the creation of our school’s email password: (i) A password must be exactly 8 characters long;(ii) A password must begin with an uppercase letter; (iii) The last character of a password must be a digit. The character set from which a password can be created includes numerals (digits), upper and lower case letters. Determine the maximum number of passwords available.
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT