Level 0 · Module 1

What is a computer?

Build a clear first model of what every computer does.

Difficulty
beginner
Time
10 min read
Prerequisites
None
Reading progress0% read

Not completed

By the end, you can

  • Describe the input-process-output model.
  • Distinguish a computer from the program it runs.
  • Trace a familiar task through the model.

Summary

A computer follows precise instructions to transform input into output. Hardware carries out those instructions; a program supplies the rules.

Introduction

A computer is a machine that follows exact instructions to turn input into output. Input is information that comes in; output is information that goes out. Between those two steps, the computer follows a program: a stored set of instructions.

Interactive exploration

Information becomes output

Step 1 of 4

InputProgramProcessingOutput
Input. A barcode scanner supplies a number as input.

Definition

Program

A program is a set of instructions written so a computer can follow them.

Explanation

At a self-checkout, the barcode scanner sends a barcode number to the computer. The checkout program uses that number to find the item and price. The screen then shows the item and the total. In order, the flow is: scan (input), look up the price (processing), show the total (output). The scanner is not “thinking” about groceries; it is supplying information. The program supplies the rules.

This model also explains why computers can seem clever while still being literal. A spelling checker can suggest a word because its program compares letters to a dictionary. It does not understand your sentence in the human sense unless a program gives it a way to work with that information.

Real-world example

Sending a photo

Tapping the shutter is input. The camera then turns light measurements into image data. Showing the photo on the screen is output. Saving the photo keeps that data for later; sending it produces another output because data travels to another device.

A computer is a system, not one box

The word “computer” can mean the physical machine, but useful work comes from several parts cooperating: devices collect input, a processor carries out instructions, memory holds working information, storage keeps information for later, and devices present output. You will meet each part in the next lessons.

Code example

checkout-idea.txttext
1. Read the barcode
2. Find its price
3. Add the price to the total
4. Show the new total

This is a human-readable model of instructions. Real computers need much more exact forms, which you will explore later.

Common mistakes

  • Treating a computer as only the physical box and leaving out the program it follows.
  • Calling every signal from a device input; information shown on a screen is output.
  • Assuming a computer must look like a laptop or desktop.

Quiz

Knowledge check

During a video call, your voice reaches the other person. Which sequence best describes that part of the flow?

Try it

Trace a daily action

Choose one action, such as unlocking a phone. Name one input, one processing step, and one output.

Key takeaways

  • Computers transform input into output by following programs.
  • Programs provide rules; hardware carries them out.
  • A simple flow diagram is a powerful way to explain a complicated device.
View module overview