Component parts of a problem: outputs
The result a solution gives out, such as a message on screen, a printout, a sound or a signal that switches a device on or off.
Understanding Component parts of a problem: outputs in IGCSE Computer Science Paper 2
What it does: The OUTPUT statement displays the calculated total on the screen, which is a screen output. The solution sends a signal to switch a device on, so it is an output that controls an actuator. Data going in is an input. An output is the result that comes out. Signals sent to an actuator, such as a fan, motor or buzzer, are outputs. Sensors give inputs. Outputs can be sound as well as text, pictures or printouts. The item chosen is entered, so it is an input. Only what the system gives out is listed as an output. Calculating is a process. The result only becomes an output when it is shown, printed, spoken or sent to a device.
Common mistakes: INPUT reads data into the program. To show a message on the screen the line must use OUTPUT: OUTPUT "Fan is on". The text message is missing its closing quote mark. It should be OUTPUT "Your score is ", score so that score is output as a value.
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 94–106) and word search (Modules 94–118).
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 →