In this exercise, we review a simple but very powerful mechanism that can be used to...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
In this exercise, we review a simple but very powerful mechanism that can be used to reduce the bias of a source of entropy. Suppose that you have access to a source of bits and you want to generate sequences of random bits. The problem is that the source is not perfect, 1's and 0's may be not equally distributed, and some patterns may be more frequent than others. Let (x0,x1,...,xn) = {0, 1}n+1 be the output of this source. Assume that n is odd. The mechanism works as follows: (a) Pack the bits x0,x1,..., xn in pairs. - (b) For i = 0,..., (n − 1)/2 i. If (x2i, x2i+1) = (0, 1), output 0 ii. Else if (x2i, x2i+1) = (1,0), output 1 iii. Else, do nothing Activate Windows Go to Settings to activ ... Ym be the output of this extraction. Let yo, Exercises: (a) First, assume that each bit x¿ is independent from the rest, with Pr[x; = 1] = p and Pr[x; = 0] = 1 − p for every i = 0,..., n. In this case, i. Compute A. Pr[(x0,x1) = (0, 0)], B. Pr[(x0,x1) = (1,0)], C. Pr[(x0,x1) = (0,1)], and D. Pr[(x0,x1) = (1, 1)]. ii. Compute the probability that, at the i-th step of the algo- rithm, the output is 0, the probability that the output is 1, and the probability that there is no output. iii. Compute Pr[y; = 1] for j = 1, . . ., n. (b) Until now, we assumed that x's are independently distributed, which may be unrealistic. Now suppose that • Pr[(x2i, x2i+1) = ● Pr[(x2i, x2i+1) = • Pr[(x2i, x2i+1) = • Pr[(x2i, x2i+1) = (0, 0)] = 1/3], (1, 1)] = 1/3], (0, 1)] = 1/6 – €], and (1, 0)] = 1/6 + €] for some € = [−1/6, 1/6]. For this case, answer the following questions: For this case, answer the following questions: i. Compute Pr[yj tractor is useful. = 1] for j = 1,...,n and discuss if this ex- ii. Assuryahat pairs of bits are generated independently (i.e. (x0,x1) is generated independently from (x2, x3), for instance), design a generalization of the Von-Neumann extractor that outputs a sequence Y1, ..., Ym with Pr[y; = 1] = 1/2. (This mechanism is a deterministic randomness extractor. These ex- tractors are used to obtain random seeds in hardware. Usually, x¿ are the output of a sensor or a circuit with chaotic behaviour. The output ..., Ym is later combined with other strings, and can be used as a seed for pseudo-random generators.) Yo, In this exercise, we review a simple but very powerful mechanism that can be used to reduce the bias of a source of entropy. Suppose that you have access to a source of bits and you want to generate sequences of random bits. The problem is that the source is not perfect, 1's and 0's may be not equally distributed, and some patterns may be more frequent than others. Let (x0,x1,...,xn) = {0, 1}n+1 be the output of this source. Assume that n is odd. The mechanism works as follows: (a) Pack the bits x0,x1,..., xn in pairs. - (b) For i = 0,..., (n − 1)/2 i. If (x2i, x2i+1) = (0, 1), output 0 ii. Else if (x2i, x2i+1) = (1,0), output 1 iii. Else, do nothing Activate Windows Go to Settings to activ ... Ym be the output of this extraction. Let yo, Exercises: (a) First, assume that each bit x¿ is independent from the rest, with Pr[x; = 1] = p and Pr[x; = 0] = 1 − p for every i = 0,..., n. In this case, i. Compute A. Pr[(x0,x1) = (0, 0)], B. Pr[(x0,x1) = (1,0)], C. Pr[(x0,x1) = (0,1)], and D. Pr[(x0,x1) = (1, 1)]. ii. Compute the probability that, at the i-th step of the algo- rithm, the output is 0, the probability that the output is 1, and the probability that there is no output. iii. Compute Pr[y; = 1] for j = 1, . . ., n. (b) Until now, we assumed that x's are independently distributed, which may be unrealistic. Now suppose that • Pr[(x2i, x2i+1) = ● Pr[(x2i, x2i+1) = • Pr[(x2i, x2i+1) = • Pr[(x2i, x2i+1) = (0, 0)] = 1/3], (1, 1)] = 1/3], (0, 1)] = 1/6 – €], and (1, 0)] = 1/6 + €] for some € = [−1/6, 1/6]. For this case, answer the following questions: For this case, answer the following questions: i. Compute Pr[yj tractor is useful. = 1] for j = 1,...,n and discuss if this ex- ii. Assuryahat pairs of bits are generated independently (i.e. (x0,x1) is generated independently from (x2, x3), for instance), design a generalization of the Von-Neumann extractor that outputs a sequence Y1, ..., Ym with Pr[y; = 1] = 1/2. (This mechanism is a deterministic randomness extractor. These ex- tractors are used to obtain random seeds in hardware. Usually, x¿ are the output of a sensor or a circuit with chaotic behaviour. The output ..., Ym is later combined with other strings, and can be used as a seed for pseudo-random generators.) Yo,
Expert Answer:
Answer rating: 100% (QA)
The VonNeumann extractor is a method to reduce the bias in a source of entropy by processing its output in pairs and extracting unbiased random bits Lets go through the exercises step by step a Assumi... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Hi there , I need help. for my work i need a relevant and well written introduction as well as conclusion to the following below. My work is complete i just need a introduction and conclusion please...
-
iHerb Inc. has several herb extractor evaporators that were purchased four years ago at a price of $20,000. These machines currently require annual maintenance costs of $2,000. However, the...
-
Find Vo in the network shown. 12 V Vo
-
Determine the sign of the given functions. csc (200), cos 550
-
You lean out of your dorm window, which is \(12 \mathrm{~m}\) above the ground, and toss a \(0.12 \mathrm{~kg}\) ball up to a friend at a window \(11 \mathrm{~m}\) above you. (a) What is the slowest...
-
Bernie and Phils Great American Surplus store placed an ad in the Sunday Times stating, Next Saturday at 8:00 A.M. sharp, 3 brand new mink coats worth $5,000 each will be sold for $500 each! First...
-
Bob spent money by using his credit cards and did not pay his bill for three months. He is now dealing with negative impacts on his credit rating. What is the step of financial accountability is this?
-
Below is the Trial balance of Miss Piggy & Kermit Inc. after his first years trading: Miss Piggy & Kermit Inc Trial Balance as of 30 June 20X8 Dr. Cr $ $ Revenue 99,082 Purchases 71,409 Rent...
-
Explain with the help of a diagram how monetary policy could be used to reduce unemployment in an economy? Explain the process of open market operation, and identify the objectives government seeks...
-
For aluminum at =500 nm,n=1.5 and =3.2. Find the normal reflectance and phase change on reflectance
-
In re Tesla Motors, Inc. Stockholder Litigation 1. What is the test for determining whether someone is a controlling shareholder? 2. Is Musk a controlling shareholder? 3. What are the consequences of...
-
A buyer is requesting the seller to ship the goods directly to the him and send the title doc. & commercial documents to him directly for payment at a future date. What payment method is the buyer...
-
With reference to Graph B, at a price of $5, total revenue equals: Price $10- $5 O 20 40 60 80 100 Quantity Graph A Price Dinelastic $10 $5 D B 10 20 30 40 Quantity Graph B DElastic
-
Could you elucidate the concept of a relational database and elaborate on its function in facilitating customer communications within e-commerce enterprises?
-
Assuming that the OSPF priority is the default value, determine the router-id for each of the routers on network 192.168.100.0/24 * R1 R2 R3 Router 1D: 172.16.0.1 No Router 1D No Router ID No...
-
Find a polar equation for the curve represented by the given Cartesian equation. 4y 2 = x
-
Interview a department head at your college or university to determine whether group or team decision making is used. If it is, how does the head attempt to overcome the disadvantages of group...
-
Learn how your school or business is organized. Analyze the advantages and disadvantages of this form of departmentalization, and then comment on how well or how poorly other forms of...
-
Was Steve Jobs a better leader or a better manager? Why? Is Tim Cook a better leader or a better manager? Why?
-
The accounting records of the Happy Tickers Sports and Social Club are in a mess. You manage to find the following information to help you prepare the accounts for the year to 31 December 2015. (1)...
-
The Milham Theatre Club has been in existence for a number of years. Members pay an annual subscription of 15 which entitles them to join trips to professional productions at a reduced rate. On 1...
-
Place a tick in the appropriate column for each of the following cost items: (a) Purchases of raw materials (b) Direct wages (c) General factory expenses (d) Depreciation of machinery (e) Commission...
Study smarter with the SolutionInn App