Respuesta :
Answer: So our limit is 1 million attempts.
a) 6 lower case letters.
Think in 6 blank spaces where you can put one letter, so in each space you have 26 options, so the total of combinations is [tex]26^{6}[/tex] = 308915776.
so if you have 1 million attempts, then 1000000/308915776 = 0.00323
so you have 0.32% chances of breaking the code.
b) 6 different letters, some may be upper-case, and it is case-sensitive
Again 6 blank spaces, in the first you can put 26 letters, and because its case sensitive, you have 52 options, in the second space, you will have 25 posible letters, and 50 options, and so on.
So the total combinations are 52*50*48*46*44*42 = 10608998400
and the probability of breaking it with 1 mill attempts is = 0.009%
(c) any 6 letters, upper- or lower-case, and it is case-sensitive
same as the first case, but here you have 26 lower case and 26 upper, so you have [tex]52^{6}[/tex] = 19770609664 combinations
and in 1 mill attempts the probability of breaking it is 0.0005%
(d) any 6 characters including letters and digits
Here you have 26 letters and 10 numbers, so the total combinations are :
[tex]36^{6}[/tex] = 2176782336
and the probability of breaking it will be 0.004%
were in all cases you must think that each attempt made by the spyware is a different combination, so the one million tries are different combinations.
Probabilities are used to determine the chance of an event.
- The probability that it guesses the password for 6 different lower-case letters is 0.006033
- The probability that it guesses the password for 6 different letters is 0.0000682215
- The probability that it guesses the password for any 6 letters is 0.00005058012
- The probability that it guesses the password for any 6 characters is 0.00001760556
(a) 6 different lower-case letters
There are 26 lower-case letters.
So, the number of ways of selecting these letters is:
[tex]\mathbf{n = 26 \times 25 \times 24 \times 23 \times 22 \times 21}[/tex]
[tex]\mathbf{n = 165765600}[/tex]
The probability is then calculated as:
[tex]\mathbf{Pr =\frac {1000000}{n}}[/tex]
So, we have:
[tex]\mathbf{Pr =\frac {1000000}{165765600}}[/tex]
[tex]\mathbf{Pr =0.006033}[/tex]
The probability that it guesses the password for 6 different lower-case letters is 0.006033
(b) 6 different letters
There are 52 letters (upper and lower cases)
So, the number of ways of selecting these letters is:
[tex]\mathbf{n = 52 \times 51 \times 50 \times 49 \times 48 \times 47}[/tex]
[tex]\mathbf{n = 14658134400}[/tex]
The probability is then calculated as:
[tex]\mathbf{Pr =\frac {1000000}{n}}[/tex]
So, we have:
[tex]\mathbf{Pr =\frac {1000000}{14658134400}}[/tex]
[tex]\mathbf{Pr =0.0000682215}[/tex]
The probability that it guesses the password for 6 different letters is 0.0000682215
(c) Any 6 letters
There are 52 letters (upper and lower cases)
Any 6 letters, means that repetition is allowed
So, the number of ways of selecting these letters is:
[tex]\mathbf{n = 52^6}[/tex]
[tex]\mathbf{n = 19770609664}[/tex]
The probability is then calculated as:
[tex]\mathbf{Pr =\frac {1000000}{n}}[/tex]
So, we have:
[tex]\mathbf{Pr =\frac {1000000}{19770609664}}[/tex]
[tex]\mathbf{Pr =0.00005058012}[/tex]
The probability that it guesses the password for any 6 letters is 0.00005058012
(d) Any 6 characters (letters and digits)
There are 52 letters (upper and lower cases)
There are 10 digits
So, the total character is:
[tex]\mathbf{Total = 52 + 10 = 62}[/tex]
Any 6 character, means that repetition is allowed
So, the number of ways of selecting these characters is:
[tex]\mathbf{n = 62^6}[/tex]
[tex]\mathbf{n = 56800235584}[/tex]
The probability is then calculated as:
[tex]\mathbf{Pr =\frac {1000000}{n}}[/tex]
So, we have:
[tex]\mathbf{Pr =\frac {1000000}{56800235584}}[/tex]
[tex]\mathbf{Pr =0.00001760556}[/tex]
The probability that it guesses the password for any 6 characters is 0.00001760556
Read more about probabilities at:
https://brainly.com/question/11234923