SOLUTION: The chances of an error occurring in any single line of code is found to be 0.001 (0.1%).
If a program contains 400 lines of code, what is the probability that there are no error
Algebra ->
Probability-and-statistics
-> SOLUTION: The chances of an error occurring in any single line of code is found to be 0.001 (0.1%).
If a program contains 400 lines of code, what is the probability that there are no error
Log On
Question 1099078: The chances of an error occurring in any single line of code is found to be 0.001 (0.1%).
If a program contains 400 lines of code, what is the probability that there are no errors? Answer by Theo(13342) (Show Source):
You can put this solution on YOUR website! the probability that there is an error in a single line of code is .001.
therefore, the probability that there is not an error in a single line of code is .999.
the probability that there is not an error in 400 lines of code would be .999^400 = .670185906