Revise Computingrevisecomputing.co.uk
At a glanceFeaturesStudentsPricingHow it worksFree GCSE notesExam dates
At a glanceFeaturesStudentsPricingHow it worksFree GCSE notesExam dates

Knowledge organisers / Designing, creating and refining algorithms

Identify the inputs, processes, and outputs for a problem

All topicsPractise exam questions
Knowledge organiser

Designing, creating and refining algorithms

2.1.2a

What you need to know

Every algorithm can be broken down into three stages: inputs (the data the algorithm receives), processes (how the data is transformed or calculated), and outputs (the result produced). Identifying these three stages is the first step in designing any algorithm and helps you understand what data is needed, what needs to happen to it, and what the expected result should be.

Key points

  • Inputs are the data an algorithm receives, e.g. from user input, a file, or a sensor.
  • Processes are the operations performed on the data, such as calculations, comparisons, or sorting.
  • Outputs are the results produced by the algorithm, often displayed to the user or saved to a file.
  • Identifying inputs, processes, and outputs helps plan the structure of an algorithm before writing code.
  • A single algorithm may have multiple inputs, several processing steps, and one or more outputs.
  • Exam Tip:Be precise when identifying inputs. Say 'name/keyword for video to search for', NOT just 'video'. Examiners expect the raw data, not vague descriptions.
  • Exam Tip:When identifying additional inputs for a changed algorithm, think about what NEW data is needed from the user.

Code examples

Input-Process-Output example
python
# Input
length = float(input("Enter the length: "))
width = float(input("Enter the width: "))

# Process
area = length * width

# Output
print("The area is:", area)