subject
Computers and Technology, 22.04.2020 00:15 cld3331

With a b-bit counter, we can ordinarily only count up to 2^b ?1. With R. Morris’s probabilistic counting, we can count up to a much larger value at the expense of some loss of precision.

We let a counter value i represent a count of n(i) for i = 0, 1, . . . , 2^b ?1, where the n(i) form an increasing sequence of nonnegative values. We assume that the initial value of the counter is 0, representing a count of n0 = 0. The Increment operation works on a counter containing the value i in a probabilistic manner. If i = 2^b?1, then the operator reports an overflow error. Otherwise, the Increment operator increases the counter by 1 with probabilities 1/(n(i+1) ? n(i)), and it remains unchanged with probability 1 ? 1/(n(i+1) ? n(i)).

If we select n(i) = i for all i ? 0, then the counter is an ordinary one. More interesting situations arise if we select, say, n(i) = 2^(i?1) for i > 0 or n(i) = F(i) (the ith Fibonacci number—See Section 3.2 in the text).

For this problem, assume that n(2^b?1) is large enough that the probability of an overflow error is negligible.

(a) Prove that the expected value represented by the counter after n Increment operations have been performed is exactly n.

(b) The analysis of the variance of the count represented by the counter depends on the sequence of the n(i). Let us consider a simple case: n(i) = 100i for all i ? 0. Determine the variance in the value represented by the register after n Increment operations have been performed.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:00
Suppose an astronomer discovers a large, spherical-shaped body orbiting the sun. the body is composed mostly of rock, and there are no other bodies sharing its orbit. what is the best way to categorize this body? a. planet b. moon c. comet d. asteroid
Answers: 1
question
Computers and Technology, 23.06.2019 01:10
Are special combinations of keys that tell a computer to perform a command. keypads multi-keys combinations shortcuts
Answers: 1
question
Computers and Technology, 24.06.2019 02:00
Read the following scenario, and then answer the question below. you want to send an e-mail to your boss requesting a meeting to discuss a raise. what is the best example of an e-mail to an employer about this meeting? “hey jason. can we chat about getting me more money soon? let me know. peace, meg.” “hello jason. pardon me for sending yet another e-mail today about my need to talk to you about my position and a possible pay increase. i am dying to know when you can talk. sincerely, meg.” “hello jason. i have been with the company for one year and have taken on more responsibilities than outlined in my job description. i would appreciate an opportunity to speak with you about my position. let me know when we can schedule a meeting. you, meg.” “greetings jason! i hope this e-mail finds you well and happy today. i really, really want to talk to you about something important. i am not sure if you have time. i hope you do. get back in touch with me and let me know when we might talk. ever so much for taking the time to read this. sincerely, meg.”
Answers: 3
question
Computers and Technology, 24.06.2019 09:40
Healthy study habits are best described as
Answers: 1
You know the right answer?
With a b-bit counter, we can ordinarily only count up to 2^b ?1. With R. Morris’s probabilistic coun...
Questions
question
Mathematics, 12.02.2021 04:00
question
Mathematics, 12.02.2021 04:00
question
Mathematics, 12.02.2021 04:00
Questions on the website: 13722367