CS Ws
CS Ws
Page 1 of 3
(a) Complete the trace table for the algorithm using this input data:
75, 78, 84, 87, 91, 80, 75, 70, 65, 62, –1, 20
(b) State how the final output from the algorithm could be improved.
...................................................................................................................................................
..................................................................................................................................................
Page 2 of 3
(c) Identify the process in the algorithm that is not required.
...................................................................................................................................................
...................................................................................................................................................
Page 3 of 3