Revise Computing
Revision notesQuestionsFor schools
Log inStart revising free
Revision notesQuestionsFor schoolsLog in
GCSE Computer Science/Paper 2/Designing, creating and refining algorithms

The inputs, processes, and outputs for a problem

Identify the inputs, processes, and outputs for a problem

2.1.2 Designing, creating and refining algorithms

Practise exam questions

Designing, creating and refining algorithms — Note 1 of 7

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.

What to know

  • 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 technique

  • 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.
  • 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)

Ready to test yourself?

Practise 2.1.2 questions
← Previous topicAbstraction; Decomposition; Algorithmic thinking.2.1.1 Computational ThinkingNext note →Structure diagrams2.1.2 Designing, creating and refining algorithms

Back to Designing, creating and refining algorithms

Revise another OCR GCSE topic: Searching and sorting algorithms, Computational Thinking

Designing, creating and refining algorithms

Note 1 of 7

  1. 1The inputs, processes, and outputs for a problem
  2. 2Structure diagrams
  3. 3Pseudocode
  4. 4Flowcharts
  5. 5Reference language/high-level programming language
  6. 6Common errors
  7. 7Trace tables
Topic overview

© 2026 Revise Computing · revisecomputing.co.uk

Privacy noticeTermsContact

Revise Computing is an independent revision resource. It is not affiliated with, or endorsed by, OCR (Oxford Cambridge and RSA Examinations).