Four flowchart symbols and five purposes are shown.
- (a)Draw one line to link each flowchart symbol to its correct purpose. Not all purposes will be used. Flowchart symbol [Figure 3a.1 (Flowchart symbols)] Purpose subroutine process flow decision terminator[4]
- (b)An algorithm needs to total 50 numbers between 1 and 100 inclusive. Draw a flowchart that: • uses a count-controlled loop from 1 to 50 • uses an appropriate prompt to ask for a number between 1 and 100 • totals the numbers as they are entered • outputs the total after the loop has completed with an appropriate message.[6]
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 (Oct/Nov 2024). The mark or mark type is shown in brackets.
- [1] One mark for each correct line
- [1] Two labelled terminators START and STOP
- [1] Loop initialisation, incrementation and termination
- [1] Input with prompt
- [1] Total initialised and totalling of inputs
- [1] Output with message
- [1] Fully correct flowchart with all correct arrows, yes/no labels and symbols
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 →