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 computer system uses passwords that contain exactly 5 characters, and each character is 1 of...
A computer system uses passwords that contain exactly 5 characters, and each character is 1 of the 26 lowercase letters (a–z) or 26 uppercase letters (A–Z) or 10 integers (0–9). Let Ω denote the set of all possible passwords, and let A and B denote the events that consist of passwords with only letters or only integers, respectively. Determine the probability that a password contains at least 1 uppercase letter given that it contains only letters. The answer is not...
A computer password consists of six characters. 36a. How many different passwords are possible if each...
A computer password consists of six characters. 36a. How many different passwords are possible if each character may be any lowercase letter or digit, and at least one character must be a digit? Please enter your result in scientific notation, making sure the answer in the left box is between 1 and 10. 36b. A computer system requires that passwords contain at least one digit. If six characters are generated at random, and each is equally likely to be any...
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)
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...
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)
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