Question: A 5-length bit string is randomly generated. Let X be the random variable that is equal to the number of 1s in the bit string.
A 5-length bit string is randomly generated. Let X be the random variable that is equal to the number of 1s in the bit string. For example, for the bit string 01101, X would be 3 (as there are 3 1s in 01101). Note: Assume that all 5-length bit strings are equally likely to be generated. a. Find the distribution of X. That is, for each possible value of X, say what is the probability X would get that value. b. What is E(X)? That is, find the expected value of X.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
