This algorithm checks the temperature of hot food being served to customers. [Figure 4.1]
- (a)Complete the trace table for the algorithm using this input data: 75, 78, 84, 87, 91, 80, 75, 70, 65, 62, −1, 20[7]
- (b)State how the final output from the algorithm could be improved.[1]
- (c)Identify the process in the algorithm that is not required.[1]
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 2022). The mark or mark type is shown in brackets.
- [1] One mark for each correct column
- [1] include a message to explain the value output / e. g. "The percentage of meals not served” // outputting Hot, Cold and Serve
- [1] updating the Serve variable // Serve ← Serve + 1
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 →