Computer Science 2210 · Chapter 8 of 11
Programming
120 Cambridge O Level Computer Science (2210) past-paper questions on Programming, across 3 subtopics, with official mark schemes.
Subtopics
- Programming Concepts96 questions
- Arrays1 questions
- File Handling0 questions
Programming questions by year and paper
How often Programming has come up in Cambridge O Level Computer Science (2210) exams. The busiest years were 2015 (15 questions), 2020 (14 questions), 2019 (14 questions). Every count links back to real sittings in the yearly past papers.
| Year | Paper 2 | Total |
|---|---|---|
| 2026 | 8 | 8 |
| 2025 | 1 | 1 |
| 2024 | 1 | 1 |
| 2023 | 7 | 7 |
| 2022 | 1 | 1 |
| 2021 | 1 | 1 |
| 2020 | 14 | 14 |
| 2019 | 14 | 14 |
| 2018 | 11 | 11 |
| 2017 | 10 | 10 |
| 2016 | 14 | 14 |
| 2015 | 15 | 15 |
Latest exam questions on Programming
The most recent 12 questions on this chapter, newest first. Build a booklet to get every one of them with its official mark scheme.
- 2210/21 · May/June 2026 · Question 2
Identify four operators that are not arithmetic operators from the list. …
- 2210/21 · May/June 2026 · Question 3
Complete the table by writing the most appropriate data type for each variable described. variable description example data data type Age the age of the student 16 TelephoneNumber the telephone number of the student …
- 2210/21 · May/June 2026 · Question 5
A computer system automatically creates usernames for new users. A new user enters their first name and their last name. The system: • takes the first letter of the first name • takes the …
- 2210/21 · May/June 2026 · Question 6
Give programming examples for a count‑controlled loop and a post‑condition loop. Describe each of the loops. count‑controlled loop example description post‑condition loop example description
- 2210/21 · May/June 2026 · Question 11
The function Power(FirstNumber, SecondNumber) returns the value of FirstNumber raised to the power of SecondNumber. FirstNumber and SecondNumber are integers. Write pseudocode statements to: • define the function • call the function with the …
- 2210/22 · May/June 2026 · Question 1
Tick (3) one box to complete the following sentence. Two types of pseudocode statements used for iteration are A CASE and IF B FOR NEXT and IF C FOR NEXT and WHILE DO ENDWHILE …
- 2210/22 · May/June 2026 · Question 2
Tick (3) one box to identify a programming data type used to store a single letter, symbol or number input from the keyboard. A Boolean B char C integer D real
- 2210/22 · May/June 2026 · Question 7
(a) State one reason to store data in a file. (b) A list of names of the members of a club are stored in a file called Names.txt Write the pseudocode statements to load …
- 2210/23 · Oct/Nov 2025 · Question 3
Tick (3) one box to identify the most appropriate data type to store 'M' A integer B char C real D Boolean
- 2210/21 · May/June 2024 · Question 3
State what is meant by the data types integer and real. Give an example of each. Integer Example Real Example
- 2210/22 · Oct/Nov 2023 · Question 5
Explain how variables and constants should be used when creating and running a program.
- 2210/22 · Oct/Nov 2023 · Question 8
Explain why a programmer would use procedures and parameters when writing a program.
Key terms examiners use
- variable
- constant
- declare
- data type
- integer
- real
- string
- boolean
- char
- input
- output
- else
- case
- for
- while
- repeat
- until
- procedure