SOFTWARE TESTING
TEST PLAN AND TEST CASE DEVELOPMENT
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
How many test cases are required for 100% path coverage?Read PRead QIF P+Q > 100 THENPrint “Large”ENDIFIf P > 50 THENPrint “P Large”ENDIF
|
1
|
|
2
|
|
3
|
|
4
|
Explanation:
Detailed explanation-1: -100% Decision coverage Hence the minimum number of test cases required to cover 100% decision testing is 4.
Detailed explanation-2: -So you need a minimum of 2 tests for 100% Statement Coverage.
There is 1 question to complete.