Component parts of a problem: inputs
Data that goes into a system from a user, a sensor or a file, such as a typed name, a temperature reading or a line read from a stored file.
Understanding Component parts of a problem: inputs in IGCSE Computer Science Paper 2
What it does: The value comes from a sensor rather than a person, so it is a sensor input stored in the variable Temp. Each piece of data the user must give to the system is one input, so this scenario has two inputs, PlayerName and Answer. A temperature reading is captured by a sensor and sent into the system as input. A printer only produces output. The item chosen and quantity entered are data going in. The total cost is a result of a process, and the receipt is an output. Inputs are not limited to typing. They can also come from sensors, scanners and files.
Common mistakes: INPUT is a keyword followed by the variable that stores the typed data. It is not a value to assign. It should be INPUT Name. The value typed by the user is stored in Mark, so the variable Marks does not hold the input. It should be Total ← Total + Mark.
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
inputFill in the Blanks
Spot the Error
Student with a class code? Join your class →