From the past experience of software quality testing, it is known that the probability of the presence of an error in coding is 0.05. If the probability of a tester detecting an error when the error is present is 0.78 and the probability of incorrectly detecting an error when the error is present is 0.78 and the probability of incorrectly detecting an error when the error is not present is 0.06 (a) What is the probability that a code is tested as having an error? (b) What is the probability that a code tested as having an error when the error is present?
The Answer to the Question
is below this banner.
Can't find a solution anywhere?
NEED A FAST ANSWER TO ANY QUESTION OR ASSIGNMENT?
Get the Answers Now!You will get a detailed answer to your question or assignment in the shortest time possible.
Here's the Solution to this Question
Let be the event that a tester correctly detects an error in a code. Also, let be the event that an error is present in a code.
We are given that,
a
The probability that a code is tested as having an error is given as,
Therefore, the probability that a code is tested as having error is 0.932.
The probability that a code tested as having an error when the error is present is given as,
Thus, the probability that a code tested as having an error when the error is present is 0.04185.