2026

Cambridge IGCSE ยท 0478 ยท Paper 2 ยท Algorithms, programming & logic

Computer Science 0478/22 May/June 2026 past paper

Cambridge IGCSE Computer Science (0478) Paper 2 (Algorithms, programming & logic), variant 2, May/June 2026: the question paper and its official mark scheme, 10 questions worth 75 marks. Free to open, no account needed.

Questions
10
Marks
75

File names: 0478_s26_qp_22 ยท 0478_s26_ms_22

Topics in this paper

Which syllabus chapters 0478/22 May/June 2026 tested, by marks. Each chapter links to every past-paper question on it.

ChapterQuestionsMarks
Algorithm Design and Problem-Solving434
Scenario Question115
Databases110
Boolean Logic19
Programming37

Questions in 0478/22 May/June 2026

  1. Question 1Programming ยท 1 mark

    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 D REPEAT UNTIL and CASE

  2. Question 2Programming ยท 1 mark

    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

  3. Question 3Algorithm Design and Problem-Solving ยท 11 marks

    (a) Identify the type of validation check used in each description. (i) A check to make sure that data has been input and not left blank. (ii) A value placed at the end of a sequence of numbers in the โ€ฆ

  4. Question 4Algorithm Design and Problem-Solving ยท 6 marks

    The program development life cycle is split into several stages. Outline what happens during the coding and testing stages of the program development life cycle. coding testing Turn over

  5. Question 5Algorithm Design and Problem-Solving ยท 10 marks

    The purpose of this pseudocode algorithm is to find the name of a customer using an account ID, which contains letters and numbers. The name of the customer and the account ID are stored in the prepopulated two-dimensional (2D) array โ€ฆ

  6. Question 6Algorithm Design and Problem-Solving ยท 7 marks

    This flowchart represents an algorithm. Count INPUT Word START Yes No No No Yes Yes STOP 0 Count Count + 1 WordLength LENGTH (Word) NumLetter 1 NumLetter IS NumLetter = WordLength ? Is Choice โ€ฆ

  7. Question 7Programming ยท 5 marks

    (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 a line of text from Names.txt โ€ฆ

  8. Question 8Boolean Logic ยท 9 marks

    Consider the logic expression: Z = NOT (B OR NOT C) XOR (A NAND C) (a) Draw a logic circuit for this logic expression. Each logic gate must have a maximum of two inputs. Do not simplify the logic expression. โ€ฆ

  9. Question 9Databases ยท 10 marks

    (a) A database table CAR_PARTS stores details of car parts that a business has in stock. Complete the table by giving the most appropriate data types for each field. Only the data types: text, character, Boolean, integer, real and date/time โ€ฆ

  10. Question 10Scenario Question ยท 15 marks

    A program is required to record and analyse the daily rainfall in millimetres for one year. Assume a year has 365 days. The one-dimensional (1D) array Rainfall[] is used to store the daily rainfall measurements. Write a program for the โ€ฆ

Other Computer Science papers from May/June 2026

Questions students ask

Where can I get the 0478/22 May/June 2026 mark scheme?
Open the mark scheme above - it is the official Cambridge scheme for this exact paper (0478_s26_ms_22), and on a wide screen it sits beside the question you are reading.
Which topics came up in 0478/22 May/June 2026?
Mostly Algorithm Design and Problem-Solving, Scenario Question, Databases. The full list is in the table above.
Do I need an account to open 0478/22 May/June 2026?
No. Every paper opens for free without signing in. A free account also saves your pen marks and records your score against the grade thresholds.