Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

ltuse pNP VolP Hame and Class ID) Name: Class ID: Answer the following questions

ID: 3905502 • Letter: L

Question

ltuse pNP VolP Hame and Class ID) Name: Class ID: Answer the following questions for the program fragments below: fragnent Q if (A) fragnent P: if CA II BII C) O; return return if (B) mO: return; if (C) mO; Give a GACC test set for fragment P. (Note that GACC, CACC, and RACC yield identical test sets for this example.) A 1. 2. Does the GACC test set for fragment P satisfy edge coerage on fragment Q? es 3. Write down an edge coverage test set for fragment Q Make your test set include as few tests from the GACC test set as possible.

Explanation / Answer

1)GACC test case for p=(A,B,C)={(F,F,F),(F,F,T),(F,T,F),(F,T,T),(T,F,F),(T,F,T),(T,T,F),(T,T,T)}