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.

Printable View

- February 18th 2013, 07:52 AMmysticxhoboGive an Upper Bound on the Probability of an Event
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. - February 19th 2013, 03:14 AMchiroRe: Give an Upper Bound on the Probability of an Event
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.