Computer Science 9618 · Chapter 9 of 20
Algorithm Design and Problem-solving
185 Cambridge A Level Computer Science (9618) past-paper questions on Algorithm Design and Problem-solving, across 2 subtopics, with official mark schemes.
Subtopics
- Computational Thinking Skills15 questions
- Algorithms94 questions
Algorithm Design and Problem-solving questions by year and paper
How often Algorithm Design and Problem-solving has come up in Cambridge A Level Computer Science (9618) exams. The busiest years were 2021 (16 questions), 2022 (14 questions), 2023 (13 questions). Every count links back to real sittings in the yearly past papers.
| Year | Paper 2 | Paper 3 | Total |
|---|---|---|---|
| 2026 | 8 | – | 8 |
| 2025 | 6 | 2 | 8 |
| 2024 | 6 | 2 | 8 |
| 2023 | 8 | 5 | 13 |
| 2022 | 11 | 3 | 14 |
| 2021 | 13 | 3 | 16 |
| 2020 | 5 | – | 5 |
| 2019 | 5 | – | 5 |
| 2018 | 6 | – | 6 |
| 2017 | 8 | – | 8 |
| 2016 | 7 | – | 7 |
| 2015 | 11 | – | 11 |
Latest exam questions on Algorithm Design and Problem-solving
The most recent 12 questions on this chapter, newest first. Build a booklet to get every one of them with its official mark scheme.
- 9618/21 · May/June 2026 · Question 2
A washing machine contains: • two trays for the washing powder • a user interface display • five sensors. The washing machine control program includes the following variables: variable description MainsOn TRUE when the …
- 9618/21 · May/June 2026 · Question 4
An algorithm is expressed as: • A user inputs a sequence of integer values. • The process will calculate the number of positive integers. • The user will input value 0 to indicate there …
- 9618/21 · May/June 2026 · Question 6
Fence parts are manufactured by a number of similar machines. The length of the part must fall within a certain range. Parts not within the length range are rejected. The data for each rejected …
- 9618/21 · May/June 2026 · Question 8
Global array MyData contains the values shown. Study the pseudocode algorithm and array MyData FUNCTION MyTrace(Target : INTEGER) RETURNS INTEGER DECLARE LeftPointer, RightPointer, MidPointer : INTEGER LeftPointer 1 RightPointer 15 WHILE LeftPointer <= RightPointer …
- 9618/22 · May/June 2026 · Question 2
A new computer system is being developed to help manage a tool hire business. A customer can specify if they want to hire a tool for either half a day or a full day. …
- 9618/22 · May/June 2026 · Question 5
A programmer has defined a global 1D array Numbers of type INTEGER, which can store 1000 integers. The lower bound of the array Numbers is set to 1. Each element of the array has …
- 9618/23 · May/June 2026 · Question 4
An algorithm is expressed as: • A user inputs a sequence of integers. • The user will input value –1 to indicate there are no more integers to be input. • The program will …
- 9618/23 · May/June 2026 · Question 7
Study the pseudocode algorithm. Numbers will be copied into the Data array. // STAGE 1 Num1 12 Index 1 FOR i 2 TO Num1 DIV 2 IF Num1 MOD …
- 9618/21 · Oct/Nov 2025 · Question 2
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 …
- 9618/22 · Oct/Nov 2025 · Question 7
The structure chart shows part of a program design: Convert Analyse Update Sort Count P2 T1 Key (a) Explain the meaning of the curved arrow symbol in this structure chart. (b) The program designer …
- 9618/23 · Oct/Nov 2025 · Question 2
(a) A program contains a global 1D array of type STRING containing 65 elements. An existing text file is used to store the data in the array. Only non-blank elements (those that do not …
- 9618/33 · Oct/Nov 2025 · Question 11
Describe when the use of recursion would be beneficial and give an example. Description Example
Key terms examiners use
- algorithm
- pseudocode
- flowchart
- structure chart
- trace table
- decomposition
- abstraction
- stepwise refinement
- linear search
- bubble sort
- dry run
- identifier table
- binary search
- insertion sort
- merge sort
- quick sort
- recursion
- efficiency