Cambridge IGCSE ยท 0478 ยท Paper 2 ยท Algorithms, programming & logic
Computer Science 0478/22 Feb/March 2026 past paper
Cambridge IGCSE Computer Science (0478) Paper 2 (Algorithms, programming & logic), variant 2, Feb/March 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: 0478_m26_qp_22 ยท 0478_m26_ms_22
Topics in this paper
Which syllabus chapters 0478/22 Feb/March 2026 tested, by marks. Each chapter links to every past-paper question on it.
| Chapter | Questions | Marks |
|---|---|---|
| Algorithm Design and Problem-Solving | 5 | 40 |
| Scenario Question | 1 | 15 |
| Databases | 1 | 11 |
| Boolean Logic | 1 | 8 |
| Programming | 1 | 1 |
Questions in 0478/22 Feb/March 2026
- Question 1
Tick (3) one box to identify the reason for applying a verification check to input data. A To make sure that all the data is in the correct range. B To make sure that all the data is accurate. C โฆ
- Question 2
(a) Identify the type of validation check in each description. Each check must be different. (i) A check to make sure that data input follows a set pattern such as two letters followed by three numbers. (ii) A check to โฆ
- Question 3
The program development life cycle is split into a number of stages. Describe what happens during the analysis and design stages of the program development life cycle. analysis design
- 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 shorter. C Use procedures and functions. โฆ
- Question 5
This pseudocode algorithm is intended to sort 200 names in ascending order, using a bubble sort. The last names and first names are stored in separate columns of a twoโdimensional (2D) array. The last names are stored in column 1 โฆ
- Question 6
This flowchart represents an algorithm. INPUT Sentence START SentLength LENGTH(Sentence) LetterNo 1 Start LetterNo + 1 No No Yes Yes Word SUBSTRING(Sentence, Start, LetterNo โ Start + 1) IS SUBSTRING(Sentence, LetterNo, โฆ
- Question 7
Consider the logic expression: โฆ
- Question 8
A database table NATIONAL_TREES stores details of the national trees of some countries from around the world. IDCode Country Continent CommonName ScientificName EU121 Albania Europe Olive Olea europaea OC235 Australia Oceania Golden wattle Acacia pycnantha NO126 The Bahamas North America โฆ
- Question 9
A program is required to enable voting in class surveys, for example to find the most popular smartphone. The oneโdimensional (1D) array Options[] is used to store between 2 and 12 options on which users can vote. The oneโdimensional (1D) โฆ