Question: ( 6 0 points ) Use the method printPrimes ( ) for questions a - f below. a . ( 1 0 points ) Draw
points Use the method printPrimes for questions af below.
a points Draw the control flow graph for the printPrimes method.
b points Consider test cases and Although these tour the same prime paths
in printPrimes they do not necessarily find the same faults. Design a simple fault that would be
more likely to discover than would.
c points For printPrimes find a test case such that the corresponding test path visits the edge
that connects the beginning of the while statement to the for statement without going through the
body of the while loop.
d points List the test requirements for Node Coverage, Edge Coverage, and Prime Path Coverage.
e points List test paths that achieve Node Coverage but not Edge Coverage on the graph.
f points List test paths that achieve Edge Coverage but not Prime Path Coverage on the graph.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
