Hey mysticxhobo.
Hint: If every lines error is independent of each other and every line has the exact same error probability, then the number of errors in n lines of code forms a Binomial distribution with parameters n and p.
Suppose that each line of code in a module of 10;000 lines has an error with
probability 0:001, independently of the others.
(a) What is the (exact) probability of 20 errors?
(b) Give an upper bound on the probability of at least 20 errors.
Hey mysticxhobo.
Hint: If every lines error is independent of each other and every line has the exact same error probability, then the number of errors in n lines of code forms a Binomial distribution with parameters n and p.