Data transmission – IGCSE Computer Science (0478)
0 / 0Answer a question to start your score.
0478/22/M/J/17 · Question 3May/June 2017Paper 225 marks
Loading question…
Question text
3
This flowchart inputs the weight of items in kilograms to be loaded on a trailer. Any item over
25 kilograms is rejected. The trailer can take up to 100 kilograms.
START
TotalWeight
0
Reject
0
INPUT Weight
Yes
Is Weight
Reject
Reject + 1
˃ 25?
No
TotalWeight
TotalWeight + Weight
Is
No
TotalWeight
˃ 100?
Yes
TotalWeight
TotalWeight – Weight
OUTPUT 'Weight of items ' ’
TotalWeight, ' Number of
items rejected ',Reject
END
Complete the trace table for the input data:
13, 17, 26, 25, 5, 10, 15, 35, 20, 15
Weight
Reject
TotalWeight
OUTPUT
[5]