Question: a . ( 1 0 points ) Draw the control flow graph for the printPrimes ( ) method.b . ( 1 0 points ) Consider
a points Draw the control flow graph for the printPrimes method.b points Consider test cases tn and tn Although these tour the same prime paths in printPrimes they do not necessarily find the same faults. Design a simple fault that t would be more likely to discover than t 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.
Please solve this one with the control flow graph and then solve it
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
