143k views
5 votes
The above diagram represents the following paths through the code

A. vwy
B. vwz
C. vxy
D. vxz
What is the MINIMUM combination of paths required to provide full statement coverage?
Exhibit:
A. A
B. ACD
C. ABD
D. ABCD

User Twila
by
7.5k points

1 Answer

5 votes

Final answer:

The minimum combination of paths required to provide full statement coverage is option D, ABCD.

Step-by-step explanation:

The minimum combination of paths required to provide full statement coverage in the given diagram is option D, ABCD.

This means that all possible paths (vwy, vwz, vxy, and vxz) have to be included in order to cover every statement in the code.

By choosing option D, we ensure that all the statements in the code are executed at least once.

User Brendanzab
by
8.7k points