Ask Question
7 March, 10:09

Consider a binary code with 5 bits (0 or 1) in each code word. An example of a code word is 01001. In each code word, a bit is zero with probability 0.8, independent of any other bit. What is the probability that a code word contains exactly one zero?

+2
Answers (1)
  1. 7 March, 12:56
    0
    the probability that a code word contains exactly one zero is 0.0064 (0.64%)

    Step-by-step explanation:

    Since each bit is independent from the others, then the random variable X = number of 0 s in the code word follows a binomial distribution, where

    p (X) = n! / ((n-x) !*x!*p^x * (1-p) ^ (n-x)

    where

    n = number of independent bits=5

    x = number of 0 s

    p = probability that a bit is 0 = 0.8

    then for x=1

    p (1) = n*p * (1-p) ^ (n-1) = 5*0.8*0.2^4 = 0.0064 (0.64%)

    therefore the probability that a code word contains exactly one zero is 0.0064 (0.64%)
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Consider a binary code with 5 bits (0 or 1) in each code word. An example of a code word is 01001. In each code word, a bit is zero with ...” in 📙 Mathematics if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers