Question: Multiple Choice (35 points) Each question might have one or more correct answers. (a) (5 points) In this program, there are paths to the statement

Multiple Choice (35 points) Each question might have one or more correct answers.

Multiple Choice (35 points) Each question might have one or more correct

(a) (5 points) In this program, there are paths to the statement ERROR. A. 1 B. 3 C. 4 D. 5 (b) (5 points) For test cases {a=0,b=1};{a=1,b=1} on this program, which option(s) is/are correct? A. It achieves 100% statement coverage B. Path coverage is 40% C. Path coverage is 20% D. There is no executed path to the statement ERROR (c) (5 points) Which option(s) is/are correct? A. Test cases {a=0,b=1};{a=1,b=1},{a=2,b=0} can achieve 100% branch coverage B. Test cases {a=0,b=1};{a=1,b=1},{a=2,b=0} can achieve 100% branch coverage C. It is impossible to achieve 100% branch coverage if the number of test case is less than 3 D. The number of total paths is 5 (d) (5 points) Which option(s) is/are correct? A. There exist a path include line 6 and line 9 B. There exist a path include line 6 and line 13 C. There exist a path include line 9 and line 13 D. There exist a path include line 9 but do not include line 6

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!