Cambridge A Level ยท 9618 ยท Paper 2 ยท Problem-solving & programming
Computer Science 9618/21 May/June 2026 past paper
Cambridge A Level Computer Science (9618) Paper 2 (Problem-solving & programming), variant 1, May/June 2026: the question paper and its official mark scheme, 9 questions worth 75 marks. Free to open, no account needed.
- Questions
- 9
- Marks
- 75
File names: 9618_s26_qp_21 ยท 9618_s26_ms_21
Topics in this paper
Which syllabus chapters 9618/21 May/June 2026 tested, by marks. Each chapter links to every past-paper question on it.
| Chapter | Questions | Marks |
|---|---|---|
| Algorithm Design and Problem-solving | 4 | 29 |
| Programming | 3 | 25 |
| Data Types and Structures | 1 | 12 |
| Software Development | 1 | 9 |
Questions in 9618/21 May/June 2026
- Question 1
Study this pseudocode: FOR i 3 TO 12 STEP 3 OUTPUT โฆ
- 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 mains power is on WaterOn TRUE โฆ
- Question 3
A business operates five call centres. The software currently in use in each call centre is to be replaced; a new system will be developed by a software company. (a) The analysis stage included a feasibility study. State three other โฆ
- 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 are no more numbers to be โฆ
- Question 5
Electric light bulbs are advertised online with the price showing: $1.75 each or 20 bulbs for $30.00 A pseudocode function BulbCost() โข takes the quantity of bulbs purchased as its single parameter โข returns the total cost in dollars. Pseudocode โฆ
- 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 part forms a data packet made โฆ
- Question 7
Different data structures will be suitable for different computing applications. (a) (i) Identify a computing application where a queue data structure is suitable. (ii) Justify why a queue is suitable for your application identified in โฆ
- 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 MidPointer (LeftPointer + RightPointer) DIV 2 โฆ
- Question 9
A hotel has three floors numbered 0 to 2 (floor 0 is the ground floor). There are 15 rooms on each floor. The hotel gets many enquiries from customers to check if a room is available that day. The availability โฆ
Other Computer Science papers from May/June 2026
- 9618/11 Theory fundamentals
- 9618/12 Theory fundamentals
- 9618/13 Theory fundamentals
- 9618/22 Problem-solving & programming
- 9618/23 Problem-solving & programming
- 9618/31 Advanced theory
- 9618/32 Advanced theory
- 9618/33 Advanced theory
- 9618/41 Practical programming
- 9618/42 Practical programming
- 9618/43 Practical programming