Title: Textbook 49 pages 7 questions a) b) c) d)
The answers are as follows:
A) The control flow graph for the Printprimes () method is as follows:
b) For example maxprimes=4, t2= (n=5) will have an array cross-over problem.
c) will appear when n=1.
d) node overwrite: {0,1,2,3,4,5,6,7,8,9,10,11,12,13}
Side overlay: {(0,1), (1,10), (2,3), (3,4), (3,7), (4,5), (4,6), (5,7), (6,3), (7,8), (7,9), (8,9), (in 9,1), (10,11), (11,12) , (11,13), (12,11)}
Main path overrides: {[6,3,4,5,7,8,9,1,10,11,13][6,3,4,5,7,8,9,1,10,11,12][2,3,4,5,7,8,9,1,10,11,12,13][2,3,4,5,7,8,9,1,10,11 ,, 12][6,3,4,5,7,9,1,10,11,13][6,3,4,5,7,9,1,10,11,12][4,6,3,7,8,9,1,10,11,13][4,6,3,7,8,9,1,10,11,12][ 3,4,5,7,8,9,1,10,11,13][3,4,5,7,8,9,1,10,11,12][2,3,4,5,7,9,1,10,11,13][ 2,3,4,5,7,9,1,10,11,129,1,2,3,4,5,7,8,9][8,9,1,2,3,4,5,7,8][7,8,9,1,2,3,4,5,7][5,7,8,9,1,2,3,4,5][ 4,6,3,7,9,1,10,11,12][4,5,7,8,9,1,2,3,4][3,4,5,7,8,9,1,2,3][2,3,7,8,9,1,10,11,13][2,3,7,8,9,1,10,11,12][ 2,3,4,5,7,8,9,1,2][1,2,3,4,5,7,8,9,1][9,1,2,3,4,5,7,9][7,9,1,2,3,4,5,7][6,3,7,9,1,10,11,13][6,3,7,9,1,10,11,12 ][5,7,9,1,2,3,4,5][4,5,7,9,1,2,3,4][2,3,7,9,1,10,11,13][2,3,7,9,1,10,11,12][2,3,4,5,7,9,1,2][1,2,3,4,5,7,9,1][ 9,1,2,3,7,8,9][7,8,9,1,2,3,7][3,7,8,9,1,2,3][2,3,7,8,9,1,2][1,2,3,7,8,9,1][9,1,2,3,7,9][2,3,7,9,1,2][ 1,2,3,7,9,1][6,3,4,6][4,6,3,4][3,4,6,3][12,11,12][11,12,11]}
Software Test HOMEWORK3