Question

4: A certain computer program is accessed by entering a user-defined password. If the password a. can contain any lowercase l

0 0
Add a comment Improve this question Transcribed image text
Answer #1

(a)

Total number of characters = 10

Number of choices :

     Lower case letters = 26

Upper case letters = 26

Digits = 10

Total choices = 62

So,

number of permutations of 10 items from 62 items is given by:

62! 62 62P10 = (62 10)! 52!

So,

Answer is:

\frac{62!}{52!}

(b)

It is an example of permutation

because order is important.

Add a comment
Know the answer?
Add Answer to:
4: A certain computer program is accessed by entering a user-defined password. If the password a. can contain any lo...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • in C++, Design a program that asks the user to enter a password, and then analyze...

    in C++, Design a program that asks the user to enter a password, and then analyze the password, and then analyze the password for the following weaknesses: 1. Fewer than 8 characters 2. Does not contain at least one uppercase letter and one lowercase latter 3. Does not contain at least one numeric digit 4. Does not contain at least one special character( a character that is not a letter or numeric digit) 5. Is a sequence of consecutive uppercase...

  • Write a program that asks the user to enter a password, and then checks it for...

    Write a program that asks the user to enter a password, and then checks it for a few different requirements before approving it as secure and repeating the final password to the user. The program must re-prompt the user until they provide a password that satisfies all of the conditions. It must also tell the user each of the conditions they failed, and how to fix it. If there is more than one thing wrong (e.g., no lowercase, and longer...

  • Please make this Python code execute properly. User needs to create a password with at least...

    Please make this Python code execute properly. User needs to create a password with at least one digit, one uppercase, one lowercase, one symbol (see code), and the password has to be atleast 8 characters long. try1me is the example I used, but I couldn't get the program to execute properly. PLEASE INDENT PROPERLY. def policy(password): digit = 0 upper = 0 lower = 0 symbol = 0 length = 0 for i in range(0, len(password)): if password[i].isdigit(): # checks...

  • Design a Java program to reset a user's password. The password must consist of exactly six...

    Design a Java program to reset a user's password. The password must consist of exactly six characters, of which one must be a digit, one must be an uppercase letter, and one must be a lowercase letter. Tell the user if the password is correct or if incorrect tell them what is wrong with it. For example, you could say: "Not valid! the password must have 6 characters! Goodbye!" Can't contain loops. Using Boolean, String, Int, char

  • Write a program that inputs a string from the user representing a password, and checks its...

    Write a program that inputs a string from the user representing a password, and checks its validity. A valid password must contain: -At least 1 lowercase letter (between 'a' and 'z') and 1 uppercase letter (between 'A' and 'Z'). -At least 1 digit (between '0' and '9' and not between 0 and 9). At least 1 special character (hint: use an else to count all the characters that are not letters or digits). -A minimum length 6 characters. -No spaces...

  • 3. A computer system uses passwords that contain exactly eight characters, and each character is one...

    3. A computer system uses passwords that contain exactly eight characters, and each character is one of the 26 lowercase letter (a -z) or 26 uppercase letters (A - Z) or 10 integers (0-9). Let Ω denote the set of all possible passwords. Suppose that all passwords in Ω are equally likely. Determine the probability for each of the following: (a) Password contains all lowercase letters given that it contains only letters (b) Password contains at least 1 uppercase letter...

  • Create a Python Program that will ask the user for a password (use input) Verify that...

    Create a Python Program that will ask the user for a password (use input) Verify that the password meets the following conditions: -must be 12 characters long -must have uppercase and lowercase -must contain at least 1 special character (!~#$%^&*{}+_) -must be a mix of numbers and letters You must do this only using regular expressions so for instance this will not be accepted if len(password) <12: At the end of the program tell the user their password is ok...

  • Create a Python Program that will ask the user for a password (use input) Verify that...

    Create a Python Program that will ask the user for a password (use input) Verify that the password meets the following conditions: -must be 12 characters long -must have uppercase and lowercase -must contain at least 1 special character (!~#$%^&*{}+_) -must be a mix of numbers and letters You must do this only using regular expressions so for instance this will not be accepted if len(password) <12: At the end of the program tell the user their password is ok...

  • Question 3: a. A computer password is 6 characters long. A character can be either a...

    Question 3: a. A computer password is 6 characters long. A character can be either a digit or an uppercase English letter. A valid password must contain exactly one digit. How many valid passwords are there? (hint: you do not know the position of this one digit. It might be in the beginning or the end or the middle of the password. You may use the combination low to select the position of this digit and then assigno value to...

  • If the password can contain upper/lower case letters, digits, or any of eight special symbols: (Note:...

    If the password can contain upper/lower case letters, digits, or any of eight special symbols: (Note: leave answers in exponent or simplified factorial form) How many different 8-character passwords are possible if characters cannot be repeated?

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT