IGCSE Computer Science (0478) — May–June 2025, Paper 21

11 questions · every question answerable online with instant point-by-point AI marking against the official mark scheme.

Start with Question 1 →
Question 1 · 1 mark · 8.3 Validation and testing / Test data

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…

Answer this question and get it marked →
Question 2 · 7 marks · 8.3 Validation and testing / Validation checks

Four requirements for validating inputs and five types of validation check are given. Draw one line from each requirement to the most appropriate validation check. Not all…

Answer this question and get it marked →
Question 3 · 4 marks · 9.1 Programming concepts / Loops (iteration)

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…

Answer this question and get it marked →
Question 4 · 8 marks · 9.1 Programming concepts / String handling and selection

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…

Answer this question and get it marked →
Question 5 · 4 marks · 9.1 Programming concepts / Library routines

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…

Answer this question and get it marked →
Question 6 · 6 marks · 8.2 Standard methods of solution / Finding errors and corrections

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…

Answer this question and get it marked →
Question 7 · 8 marks · 10.1 Logic gates and logic circuits

Consider the logic expression: X = (A AND B) XOR (B OR NOT C) Draw a logic circuit for this logic expression. Each logic gate must have a maximum of two inputs. Do not simplify…

Answer this question and get it marked →
Question 8 · 7 marks · 9.2 Databases / Data types

A bus company has set up a new database table called BUS to store details of the buses leaving the main bus terminal. Identify one appropriate data type for the field Return.

Answer this question and get it marked →
Question 9 · 8 marks · 9.1 Programming concepts / Declaration and data types

The variables A and B are used in a program. A holds a whole number and B holds text. Write pseudocode statements to declare the variables A and B.

Answer this question and get it marked →
Question 10 · 7 marks · 8.2 Standard methods of solution / Trace tables

The flowchart represents an algorithm to calculate grades. Complete the trace table for the algorithm, using the input data: 21, 46, 63, 91, 12 Score Grade OUTPUT --- --- ---

Answer this question and get it marked →
Question 11 · 15 marks · 9.1 Programming concepts / Arrays, iteration and selection (extended programming task)

The one-dimensional (1D) array CompetitorName[] contains the names of 25 competitors in a tournament that includes five events. Another two-dimensional (2D) array…

Answer this question and get it marked →

← May–June 2025 Paper 22 · May–June 2025 Paper 13 →

← All IGCSE Computer Science (0478) past papers