92.2k views
4 votes
You are testing a machine that scores exam papers and assigns grades.Based on the score achieved the grades are as follows:

1-49 = F, 50-59 = D-, 60-69 = D, 70-79 = C, 80-89 = B, 90-100 = A
If you apply two-value boundary value analysis, how many test cases will you need to achieve minimum test coverage?
A. 8
B. 10
C. 12
D. 14

1 Answer

4 votes

Final answer:

You will need 8 test cases to achieve minimum test coverage using two-value boundary value analysis.

Step-by-step explanation:

If you apply two-value boundary value analysis to test the machine that scores exam papers and assigns grades, you will need a total of 8 test cases to achieve minimum test coverage. This is because boundary value analysis focuses on testing boundary conditions, which are the minimum and maximum values within a specified range. In this case, the grade ranges are 1-49, 50-59, 60-69, 70-79, 80-89, and 90-100. To achieve minimum test coverage, you need to test the lower and upper boundaries of each grade range, resulting in a total of 8 test cases.

User Fobus
by
7.0k points