Input & Output

Computer Science: OCR GCSE, topic 2.2.2

Input and Output

We need some method of getting data into and out of the computer. That's where input and output commands come in.

Input

Input

  • Input is collecting data, usually by the keyboard.
  • This is written in pseudocode as:
  • INPUT "Please enter [something]..."
  • variable = USERINPUT
Output

Output

  • Output is putting data to the screen, usually as text.
  • This is written in pseudocode as:
  • OUTPUT "Text goes here"

Test yourself on Input & Output

  • The user input method takes data from what device?

Practise this topic for free