Trace Table
Trace Table
2210
(a) The array List[1:5] used in the flowchart contains this data:
15 17 20 5 9
Complete the trace table using the data given in the array.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
............................................................................................................................................. [2]
2210
[5]
(b) Describe how the algorithm should be changed to accept ‘Y’ or ‘y’ for a successfully
manufactured part.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [3]
2210
(a) Complete the trace table for the input data: 25,
[5]
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
............................................................................................................................................. [2]
2210
7, 10, 2, 8, 3, 9, 0, 6