Cambridge O Level ยท 2210 ยท Paper 2 ยท Algorithms, programming & logic
Computer Science 2210/21 May/June 2025 past paper
Cambridge O Level Computer Science (2210) Paper 2 (Algorithms, programming & logic), variant 1, May/June 2025: the question paper and its official mark scheme, 11 questions worth 75 marks, with the grade thresholds. Free to open, no account needed.
- Questions
- 11
- Marks
- 75
- Grade A from
- 49
File names: 2210_s25_qp_21 ยท 2210_s25_ms_21
Grade thresholds for 2210/21 May/June 2025
The minimum raw marks Cambridge set for each grade on this component (out of 75). Thresholds change every session and variant, so always compare your score with the paper you actually sat.
| A | B | C | D | E |
|---|---|---|---|---|
| 49 | 37 | 26 | 21 | 17 |
Topics in this paper
Which syllabus chapters 2210/21 May/June 2025 tested, by marks. Each chapter links to every past-paper question on it.
| Chapter | Questions | Marks |
|---|---|---|
| Databases | 4 | 29 |
| Algorithm Design and Problem-Solving | 4 | 22 |
| Scenario Question | 1 | 15 |
| Boolean Logic | 2 | 9 |
Questions in 2210/21 May/June 2025
- Question 1
Tick (รผ) one box to identify the type of test to only check for the largest or smallest acceptable value. A normal test data B abnormal test data C extreme test data D boundary test data
- Question 2
Four requirements for validating inputs and five types of validation check are given. (a) Draw one line from each requirement to the most appropriate validation check. Not all validation checks will be used. Requirement Validation check Date of birth must โฆ
- Question 3
The following pseudocode algorithm uses a count-controlled loop to read in 10 names and store them in the array Names[] FOR Count 1 TO 10 OUTPUT "Please enter a name" INPUT Name Names[Count] Name NEXT Count Rewrite the algorithm in โฆ
- Question 4
A telephone number with 13 characters is input. The first character is a โ+โ, followed by a 2-digit country code, for example: +20xxxxxxxxxx where 20 is the country code and x is a digit between 0 and 9 inclusive. The โฆ
- Question 5
Two library routines used in programming are MOD and DIV. State the purpose of each of the library routines. Give one example pseudocode statement for each of the library routines. MOD purpose Example pseudocode DIV purpose Example pseudocode
- Question 6
An algorithm has been written in pseudocode to generate a random integer between 1 and 100 inclusive and store the value in N. The user enters a guess for the number and the algorithm indicates whether the guess is higher โฆ
- Question 7
Consider the logic expression: โฆ
- Question 8
A bus company has set up a new database table called BUS to store details of the buses leaving the main bus terminal. RouteID Destination Stops Driver Time Return BC01 Town Centre 10 B Smith 9:00 Yes BC02 The Fountain โฆ
- Question 9
The variables A and B are used in a program. A holds a whole number and B holds text. (a) Write pseudocode statements to declare the variables A and B (b) The function Odds(X) returns โOddโ if the value of โฆ
- Question 10
The flowchart represents an algorithm to calculate grades. START STOP INPUT Score IS Score โฆ
- Question 11
The one-dimensional (1D) array CompetitorName[] contains the names of 25 competitors in a tournament that includes five events. Another two-dimensional (2D) array CompetitorScore[] contains the points scored by each competitor in the five events. The first dimension of this array โฆ