Signed up recently but had issues with the confirmation email?

Click Forgot password and follow the reset steps. You can choose the same password you used when you signed up. This should then provide access.

Remember to check Spam and Junk. The email will be from auth@progressbytes.co.uk.

Revision notesQuestionsFor schools
Revise Computing
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, for example 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.

Code examples

Input-Process-Output example (OCR Exam Reference Language)
text
// Input
length = float(input("Enter the length: "))
width = float(input("Enter the width: "))

// Process
area = length * width

// Output
print("The area is: " + str(area))
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)

Exam technique

  • Tip:Be precise when identifying inputs. Name the actual data: 'the number of laps swum', NOT just 'swimming'. 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. Read every new rule in the scenario and name each data item separately; restating the change described in the question is not an input.
  • Example:A step-counter app works out how far someone has walked. Inputs: the number of steps taken and the length of one step in metres. Process: multiply the number of steps by the step length. Output: the distance walked in metres, shown on screen.

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

Worried about something?Question Bank UpdatesPrivacy noticeTermsContact

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