Thread: Give an Upper Bound on the Probability of an Event

1. Give 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.

2. Re: 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.