answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
jeka94
2 years ago
12

An m-bit password is required to access a system. a hacker systematically works through all possible m-bit patterns. let x be th

e number of patterns tested until the correct password is found. find the conditional pmf of x given that the password has not been found after k tries
Mathematics
1 answer:
GREYUIT [131]2 years ago
5 0
<span>(a) Describe the underlying sample space S . Ans : Let a represent the correct m -bit pattern. Then S = { ( x 1 ,..., x n , a ) } (3) where x i 6 = a , i = 1 ,...,n , and n = 0 , 1 ,..., 2 m . The m -bit pattern x i is the i -th pattern tried by the hacker. So assuming he keeps track of the patterns tried, we also have that x i not equal to xj i.e i not equal to j ( b) Show the mapping from S to S X . Ans : The mapping is X (( x 1 ,..., x n , a )) = n + 1 , with S X = { 1 , 2 ,..., 2 m } (c) Find the PMF of X . Ans : For convenience, let A k = “ k -th attempt is correct”. Then p X ( n ) = P " A n n - 1 \ i =1 A c i # . It should be clear that p X (1) = P [ A 1 ] = 2 - m , since there are 2 m possible passwords, and the hacker tries them randomly. We also have p X (2) = P [ A 2 | A c 1 ] P [ A c 1 ] (4) = 1 2 m - 1 2 m - 1 2 m (5) = 1 = 2 m Similarly, p X (3) = P [ A 3 | A c 2 A c 1 ] P [ A c 2 | A c 1 ] P [ A c 1 ] (7) = 1 2 m - 2 2 m - 2 2 m - 1 2 m - 1 2 m (8) = 1 2 m . (9) Proceeding in this way, we quickly see that X is in fact uniformly distributed in S X = { 1 , 2 ,..., 2 m } . The average number of attempts needed to break an m -bit password is thus 2 m - 1 . For a typical password of ten 8-bit ASCII characters, i.e. 80 bits, it will take 2 79 = 6 . 04 × 10 23 attempts on average</span>
You might be interested in
The time intervals between successive barges passing a certain point on a busy waterway have an exponential distribution with me
lisov135 [29]

Answer:

a) <u>0.4647</u>

b) <u>24.6 secs</u>

Step-by-step explanation:

Let T be interval between two successive barges

t(t) = λe^λt where t > 0

The mean of the exponential

E(T) = 1/λ

E(T) = 8

1/λ = 8

λ = 1/8

∴ t(t) = 1/8×e^-t/8   [ t > 0]

Now the probability we need

p[T<5] = ₀∫⁵ t(t) dt

=₀∫⁵ 1/8×e^-t/8 dt

= 1/8 ₀∫⁵ e^-t/8 dt

= 1/8 [ (e^-t/8) / -1/8 ]₀⁵

= - [ e^-t/8]₀⁵

= - [ e^-5/8 - 1 ]

= 1 - e^-5/8 = <u>0.4647</u>

Therefore the probability that the time interval between two successive barges is less than 5 minutes is <u>0.4647</u>

<u></u>

b)

Now we find t such that;

p[T>t] = 0.95

so

t_∫¹⁰ t(x) dx = 0.95

t_∫¹⁰ 1/8×e^-x/8 = 0.95

1/8 t_∫¹⁰ e^-x/8 dx = 0.95

1/8 [( e^-x/8 ) / - 1/8 ]¹⁰_t  = 0.95

- [ e^-x/8]¹⁰_t = 0.96

- [ 0 - e^-t/8 ] = 0.95

e^-t/8 = 0.95

take log of both sides

log (e^-t/8) = log (0.95)

-t/8 = In(0.95)

-t/8 = -0.0513

t = 8 × 0.0513

t = 0.4104 (min)

so we convert to seconds

t = 0.4104 × 60

t = <u>24.6 secs</u>

Therefore the time interval t such that we can be 95% sure that the time interval between two successive barges will be greater than t is <u>24.6 secs</u>

6 0
2 years ago
6. Charlie can spend up to $8 on lunch. He wants to buy a tuna sandwich, a bottle of
PilotLPTM [1.2K]

Answer:

The maximum number of pounds of potato salad that Charlie can buy is 0.375

Step-by-step explanation:

see the attached figure to better understand the problem

Let

a ----> the cost of one tuna sandwich

b ----> the cost of a bottle of apple juice

c ----> the cost per pound of potato salad

x ----> pounds of potato salad

we have

a=\$4.25

b=\$2.25

c=\$4.00/lb

we know that

He wants to buy a tuna sandwich, a bottle of  apple juice, and x pounds of potato salad and can spend up to $8

The inequality that represent this situation is

a+b+cx \leq 8

substitute the given values

4.25+2.25+4.00x \leq 8

Solve for x

Combine like terms

6.50+4.00x \leq 8

Subtract 6.50 both sides

4.00x \leq 8-6.50

4.00x \leq 1.50

Divide by 4 both sides

x \leq 1.50/4.00

x \leq 0.375\ lbs

therefore

The maximum number of pounds of potato salad that Charlie can buy is 0.375

3 0
2 years ago
Make the following conversion. 420 hg = _____ cg 4200000 420000 0.0420 0.00420
Otrada [13]
Using the standards of conversions, we will find that 1 hg is equivalent to 10000 cg.
Therefore, to convert 420 hg to cg, all you have to do is cross multiplication as follows:
420 hg = (420 x 10000) / 1 = 4200000 cg

The correct choice is: 4200000
7 0
2 years ago
Read 2 more answers
If Karim has eight male cousins and twelve female cousins,what fraction of his cousins are female?
kramer
It’s 29b disinfect r Fido’s w. R fndjdjdis
6 0
2 years ago
Johanna will plant up to 32 acres on her farm with wheat and corn. Fewer than 11 acres will be planted with wheat
konstantin123 [22]
What exactly is the question?
3 0
1 year ago
Other questions:
  • the value of x in this system of equations is 1. 3x y = 9 y = –4x 10 substitute the value of y in the first equation: combine li
    8·2 answers
  • Twelve of the students in the school choir like to sing solos. These 12 students make up 24% of the choir. How many students are
    11·2 answers
  • polynomial function of degree 4 with -1 as a zero of multiplicity 3 and 0 as a zero of multiplicity 1
    11·1 answer
  • The image is an example of which type(s) of symmetry
    12·2 answers
  • Steps for solving 4x-12=20 are shown explain how steps 3 helps the equation
    9·2 answers
  • The figure below shows the graph of f ', the derivative of the function f, on the closed interval from x = -2 to x = 6. The grap
    14·1 answer
  • A basketball coach is looking over the possessions per game during last season. Assume that the possessions per game follows an
    15·1 answer
  • Suppose Z has a standard normal distribution with a mean of 0 and standard deviation of 1. 27% of the possible Z values are grea
    5·1 answer
  • PQ = 3x + 14 and QR = 7x - 10; Find x.
    10·1 answer
  • The classroom has 12 9/10 meters of tape in one area of the building, and 8 3/5 meters of tape in another part. How much tape do
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!