asked 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

asked
User Twila
by
7.8k 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.

answered
User Brendanzab
by
8.7k points

Related questions

1 answer
4 votes
12.0k views
asked Jan 26, 2024 20.7k views
Yenn asked Jan 26, 2024
by Yenn
7.8k points
1 answer
1 vote
20.7k views