1. a.This is the chart b. initial numPrimes = 4, t1 would over the loop. c. t = ( n = 1) d. node coverage: TR = {1,2,3,4,5,6,7,8,9,10,11,12} Test Paths :[1,2,3,4,5,6,3,7,8,9,2,10,11,10,12] edge coverage:TR = {(1,2),(2,10),(10,12),(10,11),(11,10),(2,3…