Data is a global 1D array containing 30 elements of type STRING An algorithm will output: all non-blank elements (elements that do not contain an empty string) the final total of the number of elements output. Complete the program flowchart to represent the algorithm: [Flowchart with START and END nodes]
- (a)Complete the program flowchart to represent the algorithm:[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 (Oct/Nov 2025). The mark or mark type is shown in brackets.
- [5] (a) Initialisation of variables used as array index and count
- [5] (a) Loop through exactly 30 elements in the array
- [5] (a) Test for empty string in current array element // Test for non-empty string
- [5] (a) Increment count if appropriate in a loop
- [5] (a) Both required outputs under correct conditions with correct outputs
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 →