Computer Science 0478 · Chapter 8 of 11
Programming
175 Cambridge IGCSE Computer Science (0478) past-paper questions on Programming, across 3 subtopics, with official mark schemes.
Subtopics
- Programming Concepts137 questions
- Arrays1 questions
- File Handling0 questions
Programming questions by year and paper
How often Programming has come up in Cambridge IGCSE Computer Science (0478) exams. The busiest years were 2015 (23 questions), 2016 (22 questions), 2019 (21 questions). Every count links back to real sittings in the yearly past papers.
| Year | Paper 2 | Total |
|---|---|---|
| 2026 | 12 | 12 |
| 2025 | 2 | 2 |
| 2024 | 4 | 4 |
| 2023 | 14 | 14 |
| 2022 | 2 | 2 |
| 2021 | 2 | 2 |
| 2020 | 1 | 1 |
| 2019 | 21 | 21 |
| 2018 | 16 | 16 |
| 2017 | 19 | 19 |
| 2016 | 22 | 22 |
| 2015 | 23 | 23 |
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.
- 0478/21 · May/June 2026 · Question 2
Identify four operators that are not arithmetic operators from the list. …
- 0478/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 …
- 0478/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 …
- 0478/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
- 0478/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 …
- 0478/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 …
- 0478/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
- 0478/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 …
- 0478/23 · May/June 2026 · Question 2
Tick (3) one box to identify a programming data type used to store any combination of letters and numbers. A char B Boolean C string D real
- 0478/23 · May/June 2026 · Question 6
The string "I learnt to program in computer science" will be stored in the variable Fact (a) Complete the pseudocode algorithm to: • calculate and output the length of the string stored in the …
- 0478/23 · May/June 2026 · Question 9
Outline two techniques that can be used to create a maintainable program. 1 2
- 0478/22 · Feb/March 2026 · Question 4
Tick (3) one box to identify which of the following does not help to create a maintainable program. A Use meaningful identifiers for variable names. B Remove blank lines to make the program code …
Key terms examiners use
- variable
- constant
- declare
- data type
- integer
- real
- string
- boolean
- char
- input
- output
- else
- case
- for
- while
- repeat
- until
- procedure