Question

In: Advanced Math

Passwords on an ancient computer are required to be 4-5 characters long and made up of...

Passwords on an ancient computer are required to be 4-5 characters long and made up of lower case letters only (a..z : there are 26 possibilities). Please answer each of these questions below, giving numerical answers. You should also explain how you got each answer, for full or partial credit.

a) Assume that letters may NOT be repeated, and passwords are 4-5 letters long. How many passwords are possible?

b) Assume that letters MAY be repeated, and passwords are 4-5 letters long. How many passwords are possible?

c) Assuming that letters MAY be repeated, what proportion of the total number of passwords in fact *do* have at least one letter used more than once?

d) Letters may be repeated but the following extra rules exist:

  • The password cannot be 4 or 5 identical letters like xxxx or bbbbb
  • The password cannot be on a list of 71 common 4-5 letter words (none of them are like xxxx or bbbbb!)

How many passwords are possible now?

Note: since this is a practice test question, the answers can be seen in the question comment after you turn in your quiz. Canvas can't grade "essay" type questions for correctness, so you will get a 0 grade whatever you write.

Solutions

Expert Solution

a)

Case1: Password is four letters long

The first letter has 26 choices. The second letter has 25 choices, since the letters cannot be repeated. Similarly, the third letter has 24 choices, and the fourth letter has 23 choices.

Total number of password possible in this case=26*25*24*23=358800

Case2: Password is five letters long

Similarly, the total number of password possible in this case=26*25*24*23*22=7893600

So the total number of password possible in part a) is 358800+7893600=8252400

b)

Case1: Password is four letters long

The first letter has 26 choices. The second letter has 26 choices, since the letters can be repeated. Similarly, the third letter has 26 choices, and the fourth letter has 26 choices.

Total number of password possible in this case=26^4=456976

Case2: Password is five letters long

Similarly, the total number of password possible in this case=26^5=11881376

So the total number of password possible in part b) is 456976+11881376=12338352

c)

The total number of passwords that have at least one letter used more than once is equal to the total number of passwords that may have repeated letters minus the total number of passwords in which letters cannot repeat.

Thus, he total number of passwords that have at least one letter used more than once

= 12338352 - 8252400 = 4085952

d)

Number of passwords of four letter long and all letters same=26

Number of passwords of five letter long and all letters same=26

Number of passwords of common words=71

Thus, the total number of passwords in part d)=12338352-(26+26+71)=12338229


Related Solutions

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 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 at least 1 uppercase...
How many passwords are possible? Passwords must: be more than 8 characters long but no more...
How many passwords are possible? Passwords must: be more than 8 characters long but no more than 30 Use lower case, upper case, a number, and a special character [like ~ ! @ # $ % ^ & * ( ) _ + = ? > < . , / ] A mathematical expression is fine. What kind of PMF will be used?
At pine valley community hospital passwords are required to be a minimum of five characters and...
At pine valley community hospital passwords are required to be a minimum of five characters and must contain one number HIM clerk Julie was hired more than a year ago and has yet to be prompted to change her password. This gave her concern, as she recalled password-management best practices from her recent studies. What recommendations might Julie make to improve password management at PVCH? Create an example of a secure password and justify the selection. Determine iff this password...
A computer system uses passwords that contain exactly six characters, and each character is 1 of...
A computer system uses passwords that contain exactly six 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 number of passwords in each of the following events. (a) Password contains all lowercase letters given that it contains only...
Same topic: 1. Consider all passwords of length 10 made up of numbers, lower-case letters, and...
Same topic: 1. Consider all passwords of length 10 made up of numbers, lower-case letters, and upper-case letters (from the English alphabet). a) If you pick such a password at random, what is the likelihood that it contains exactly 5 lower-case letters? b) If you pick such a password at random, what is the likelihood that it contains at most 9 lower-case letters? 2. Suppose you’re an ornithologist who specializes in American crows (Corvus brachyrhynchos), and you’ve collected data on...
At a certain company, passwords must be from 3–5 symbols long and composed from the 26...
At a certain company, passwords must be from 3–5 symbols long and composed from the 26 uppercase letters of the Roman alphabet, the ten digits 0–9, and the 14 symbols !, @, #, $, %, ^, &, *, (, ), 2, 1, {, and }. c. How many passwords have at least one repeated symbol? d. What is the probability that a password chosen at random has at least one repeated symbol?
at a certain company, password must be formed 3-5 characters long and composed of the 26...
at a certain company, password must be formed 3-5 characters long and composed of the 26 letters of the alphabet, 10 digits 0-9, and 14 symbols. A. how many passwords are possible if repetition is allowed? B. what is the probability that a password chosen has at least 1 repeated character.
5. Of the 9-letter passwords formed by rearranging the letters AAAABBCCC (4 A’s, 2 B’s, and...
5. Of the 9-letter passwords formed by rearranging the letters AAAABBCCC (4 A’s, 2 B’s, and 3 C’s), I select one at random. Determine the following probabilities. (a) Prob (my word is a palindrome and has no two C’s next to each other). 4 points (b) Prob (my word has two C’s next to each other and the other C not next to them). (c) Prob (my word has the three C’s next to each other and the B’s apart...
5. Of the 9-letter passwords formed by rearranging the letters AAAABBCCC (4 A’s, 2 B’s, and...
5. Of the 9-letter passwords formed by rearranging the letters AAAABBCCC (4 A’s, 2 B’s, and 3 C’s), I select one at random. Determine the following probabilities. (a) Prob (my word is a palindrome and has no two C’s next to each other). (b) Prob (my word has two C’s next to each other and the other C not next to them). (c) Prob (my word has the three C’s next to each other and the B’s apart from each...
Develop a flowchart showing the steps required to set up and test a newly purchased computer...
Develop a flowchart showing the steps required to set up and test a newly purchased computer system that includes the computer, a mouse, keyboard, speakers, and an Internet connection.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT