What is the value of statement coverage achieved by test case 1 from test set A?
Number of correct answers: 1
Answer : A
If we say that a set of tests has achieved 100% structural decision coverage on a particular module in a program, what does that mean?
Number of correct answers: 1
Answer : B
Which specification-based technique could be used to enhance coverage for this code fragment?
Number of correct answers: 1
Answer : A
The developers have suggested test set A is adequate to test the program opposite:
When executing test set A through the program which statements are exercised?
Number of correct answers: 1
Answer : D
A component has been analyzed as being highly critical. Which of the following structure-based test design techniques provides the highest level of coverage?
Number of correct answers: 1
Answer : C
Consider the following code fragment
If (a>b) and (b>c) then
b = (a+c)/2
endif
Assume that in the following options, each of the three numbers in parenthesis represent the inputs for a test case, where the first number represents variable ''a'', the second number represents variable ''b'', and the third number represents variable ''c''.
Which of the following gives a set of test case inputs that achieves 100% decision coverage for this fragment of code with the minimum number of test cases?
Number of correct answers: 1
Answer : C
How many test cases would be needed to achieve 100% decision coverage?
Number of correct answers: 1
Answer : A