Output with OUTPUT
OUTPUT displays a value to the user. OUTPUT "Hello" shows the text exactly as written. OUTPUT Score shows the value stored in the variable Score.
Understanding Output with OUTPUT in IGCSE Computer Science Paper 2
What it does: Putting the text in double quotes makes OUTPUT display those exact characters. A variable name without quotes shows the value stored in the variable, so 25 is displayed. OUTPUT shows a value to the user. INPUT does the opposite and reads a value from the user. A string needs a closing double quote. The wrong line is missing one.
Common mistakes: Text in double quotes is shown exactly, so this displays the word Score. To show the value stored in the variable (10), remove the quotes: OUTPUT Score. Cambridge pseudocode uses the keyword OUTPUT to display a value, not PRINT. It should be OUTPUT Name.
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 327–336) and word search (Modules 317–336).
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
OUTPUTFill in the Blanks
Spot the Error
Student with a class code? Join your class →