retagged by
3,830 views
4 votes
4 votes

A software was tested using the error seeding strategy in which 20 errors were seeded in the code. When the code was tested using the complete test suite, 16 of the seeded errors were detected. The same test suite also detected 200 non-seeded errors. What is the estimated number of undetected errors in the code after this testing?

  1. 4
  2. 50
  3. 200
  4. 250
retagged by

2 Answers

Best answer
10 votes
10 votes

estimated no of undetected errors in the code after testing=n(S-s)/s=200*(20-16)/16=50...

n=no of defects be found by testing
S=total no of seeded errors
s=defects found during testing

selected by
2 votes
2 votes
Correct Answer: $B.$ $50$

Test suite detects 16 seeded errors with 200 non-seeded errors.

Total seeded errors = 20.

So, When test suite detects 20 errors it will detect = (200/16)*20 = 250 non-seeded errors.

Thus, estimated number of undetected errors in the code = (250 - 200) = 50.
Answer:

Related questions

3 votes
3 votes
1 answer
1
Ishrat Jahan asked Nov 2, 2014
5,072 views
What is the availability of a software with the following reliability figures?Mean Time Between Failure (MTBF) = 25 daysMean Time To Repair (MTTR) = 6 hours1%24%99%99.009...
3 votes
3 votes
1 answer
3
Ishrat Jahan asked Nov 2, 2014
3,836 views
Consider the following program module:int module1 (int x, int y) { while (x! = y) { if (x y) x = x - y, else y = y - x; } return x; }What is Cyclomatic complexity of the...