Revise Computing
Revision notesQuestionsFor schools
Log inStart revising free
Revision notesQuestionsFor schoolsLog in
GCSE Computer Science/Supplementary programming practice/Input

IPO Pattern

301.6 Input

Practise exam questions

Input — Note 3 of 3

Input -> Process -> Output.

What you need to know

Most programs follow the Input-Process-Output (IPO) pattern: get data from the user, do a calculation, then display the result. Structuring code this way makes it clear and easy to follow.

What to know

  • Input: gather data from the user
  • Process: perform calculations or logic
  • Output: display results to the user
  • Keep the three stages in order for clarity

Code examples

IPO pattern
python
# INPUT
width = float(input("Width: "))
height = float(input("Height: "))

# PROCESS
area = width * height

# OUTPUT
print("Area = " + str(area))
← Previous noteNumeric input301.6 InputNext topic →Meaningful names301.7 Maintainable Code

Back to Input

Specification notes for programming are in Paper 2.

Input

Note 3 of 3

  1. 1Input basics
  2. 2Numeric input
  3. 3IPO Pattern
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).