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. [Figure 3.1]
- Complete the trace table for the input data: 13, 17, 26, 25, 5, 10, 15, 35, 20, 15 Weight Reject TotalWeight OUTPUT[5]
This question uses a diagram from the original paper, which isn't shown here. Open the full paper from the past papers archive to see it.
Mark scheme
Marking points from the official mark scheme (May/June 2017). The mark or mark type is shown in brackets.
- [1 mark] for correct final Reject value (2)
- [1 mark] for TotalWeight column up to the first 85
- [1 mark] for TotalWeight value of 105 and then 85 for input 20
- [1 mark] for correct final OUTPUT string: 'Weight of items 85 Number of items rejected 2'
Write your answer and get it marked
On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.
Sign up free →