AeroLab Reading room

CS / Foundations

Inputs, processes, outputs and storage

A computer system transforms input using instructions and produces output. Storage retains information; processing manipulates it. The same device can perform several roles.

Learning objectives

The big idea

A computer system transforms input using instructions and produces output. Storage retains information; processing manipulates it. The same device can perform several roles.

An algorithm describes a method independently of a particular computer. Decomposing a task into input, processing and output helps identify what must be measured and what result is needed.

Worked example

A program reads 4 and 7 and outputs their sum. What is the output?

Follow the solution

The inputs are combined by addition: 4+7=11.

Investigate and explain

Predict the worked result before calculating. Change one input, record the new result, and explain which assumptions still hold.

Use the prediction activity below; a local model appears only where it supports this topic.

Open the interactive investigation

Check your understanding

1. Which is normally an input device?

  1. Loudspeaker
  2. Microphone
  3. Projector
Check the answer and reasoning

Microphone

A microphone converts sound into data supplied to the computer.

2. A program reads 4 and 7 and outputs their sum. What is the output?

  1. 47
  2. 3
  3. 11
Check the answer and reasoning

11

The inputs are combined by addition: 4+7=11.

3. Is saving a file the same operation as calculating its contents?

  1. No
  2. Yes
  3. Only for text files
Check the answer and reasoning

No

Storage retains a representation; processing computes or transforms that representation.