Question

Problem 1. Assume a password in a computer system contains eight character, each can be a...

Problem 1. Assume a password in a computer system contains eight character, each can be a digit (0 to 9), an uppercase English alphabet, or a lowercase English alphabet. How many password are there

(a) if letters can be repeated? (b) if no letter can be repeated?

(c) starts with X and letters can be repeated?
(d) either starts with X or ends with 10 (letters can be repeated)?

(e) neither starts with X nor ends with 10 (letters can be repeated)?

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

Upper case english alphabet=26 letters

lower case english alphabet=26letters

from digit 0-9=10 digits

so total a password can be created from 26+26+10=62 letters.

--------------------------------------------------------------------------------------------

A) if letters can be repeated ,

Given a password can have 8 characters

so there are=(62)^8 passwords

----------------------------------------------------------------------------------------------------

B)if no letter is repeated

then first letter will be chosen from 62 letters.

Second letter will be chosen from 61 letters.

third letter will be chosen from 60 letters and so on

so total passwords will be =(62)*(61)*(60)*(59)*(58)*(57)*(56)*(55)

= 1.3632589e+14 passwords.

---------------------------------------------------------------------------------------------------------------

C)starts with X and letters can be repeated?

if it starts with X then the sequence of passwords will be X _ _ _ _ _ _ _

so the 2nd letter can be chosen from 62 letters.

so the third letter can also be chosen from 62 letters and so on

so total number of passwords =(1)*(62)*(62)*(62) *(62) *(62)*(62)*(62)

=(62)^7 passwords

---------------------------------------------------------------------------------------------------------------------

Add a comment
Know the answer?
Add Answer to:
Problem 1. Assume a password in a computer system contains eight character, each can be a...
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
  • 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...

  • 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...

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

    4: A certain computer program is accessed by entering a user-defined password. If the password a. can contain any lowercase letter, uppercase letter, or digit from 0-9, and must contain 10 characters, how many possible passwords are there if no character can be used more than once? Express your answer as a factorial statement. Is 8 an example of permutations or combinations? b. 4: A certain computer program is accessed by entering a user-defined password. If the password a. can...

  • A hacker has programmed their computer to generate, uniformly at random, an eight-character password, with each...

    A hacker has programmed their computer to generate, uniformly at random, an eight-character password, with each character being either one of 26 lower-case letters (a-z), one of 26 upper-case letters (A-Z) or one of 10 integers (0-9). The hacker wants to infiltrate a website that has 2 million users. Assume, for simplicity, that each user is required to use a unique password. i. What is the expected number of attempts before the hacker successfully generates a user password? ii. What...

  • A computer system uses passwords that contain exactly 3 characters, and each character is one of the 26 lowercase l...

    A computer system uses passwords that contain exactly 3 characters, and each character is one 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 and denote the events that consist of passwords with only letters or only integers, respectively Suppose that all passwords in 2 are equally likely. Determine the following probabilities. Round your answers to three decimal places (e.g. 98.765). (c) The...

  • A computer system uses passwords that contain exactly 4 characters, and each character is 1 of...

    A computer system uses passwords that contain exactly 4 characters, and each character is 1 of the 3 lowercase letters (a, b, c) or 3 upper case letters (A, B, C) or the 5 odd digits (1, 3, 5, 7, 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 only numbers given that...

  • Homework: Homework 11.6 - 11.9 Score: 0 of 1 pt + 9 of 22 (1 complete)...

    Homework: Homework 11.6 - 11.9 Score: 0 of 1 pt + 9 of 22 (1 complete) 11.7.27 A three-character password to log onto a computer is drawn from the digits 0-9 and a subset of 18 letters of the alphabet (repetition is permitted). Determine the number of passwords possible it a) the letters used are not case sensitive (that is a lowercase letter is treated the same as an uppercase letter) b) the letters used are case sensitive (that is,...

  • A password consists of 4 letters among 26 lower-case English alphabet letters and 10 digits: 0,1,...,9....

    A password consists of 4 letters among 26 lower-case English alphabet letters and 10 digits: 0,1,...,9. (i) How many different passwords that contain at least one digit can be formed? (ii) How many different passwords that contain at least one digit and at least one letter can be formed?

  • A company‘s computer system requires passwords  to be 7 to 9 characters long, and ...

    A company‘s computer system requires passwords  to be 7 to 9 characters long, and  to consist of uppercase and lowercase letters {A, a, B, b, C, c, . . . , Z, z}, digits {0, 1, 2, 3, . . . , 9} and the special characters {&, #, $, *, +, _}, and  to contain at least one special character or digit. How many such passwords are there?

  • 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