Inputs, processes and outputs of an algorithm
Every algorithm takes INPUT data, carries out processes on it (calculations, decisions, storing in variables or arrays), then gives OUTPUT results.
Understanding Inputs, processes and outputs of an algorithm in IGCSE Computer Science Paper 2
What it does: Adding the input Mark to Total is a calculation, and the result is stored in the variable Total, so it is a process. An IF statement tests a condition on the input data, which makes it a decision process. Decisions such as IF statements are processes. The score was already read in by an earlier INPUT statement. Variables and arrays store values so the processes can use them. OUTPUT only displays results. C is worked out by a process (A * B), not entered by the user. Only A and B are INPUT. Assignment with ← stores a value. It is a process, not an output, because nothing is shown to the user.
Common mistakes: The calculation stores its result in a variable, so it needs the assignment arrow. It should be Area ← Length * Width. A single = is used for comparison. The algorithm needs Mark as its input. Line 1 should be INPUT Mark so the value is read in, not OUTPUT Mark, which would display a value that does not exist yet.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 216–231) and word search (Modules 188–231).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
Input, process, outputFill in the Blanks
Spot the Error
Student with a class code? Join your class →