A hacker is trying to guess someone's password. the hacker knows (somehow) that the password is 6 digits long, and that each digit cound be a number between 0 and 8. assume that the hacker makes random guesses. what is the probability that the hacker guesses the password on his first try? round to four decimal places.

Respuesta :

The amount of passwords possible is:
[tex] {8}^{6} = 262144[/tex]
Since he only tries once for the first try we get:
[tex] {262144}^{ - 1} [/tex]
Thus there is a:
[tex]0.0001\%[/tex]
Chance he will guess the password on his first try.

The probability that the hacker guesses the password on his first try is 0

How to determine the probability?

The password is given as:

Password = 6 digit long

The usable numbers are:

Digits = 0 to 8 i.e. 9 digits

If the digits can be repeated, then the number of passwords is:

Password = 9^6

Evaluate the exponent

Password = 531441

The probability that the hacker guesses the password on his first try is

P = 1/531441

Evaluate

P = 0.00000188167

Approximate

P = 0.0000

Hence, the probability that the hacker guesses the password on his first try is 0

Read more about probabilty at:

https://brainly.com/question/24756209

#SPJ9