Skip to content
Study Hall
Lesson 1 of 4Introduction to Computers
Unit 1 · Lesson 1 of 4

The Computer System Model

Every computing device — phone, laptop, thermostat, car — is the same four-stage system: input, process, output, storage.

4 min read10 practice questionsAsk AI about this →

Key things to remember

  1. 1Every computing system is Input → Process → Output, with Storage attached to the process stage.
  2. 2RAM is volatile (loses data without power); storage is non-volatile (keeps it).
  3. 3Hardware is physical; software is instructions; firmware is software stored permanently in hardware.
  4. 4System software manages the machine; application software does a user's task.
  5. 5Von Neumann architecture: one memory holds both instructions and data — the stored-program concept.

A computer looks like a magic box until you notice that every single one does the same four things. Something goes in, something happens to it, something comes out, and some of it gets kept. A laptop takes keystrokes, turns them into a document, shows it on a screen, and saves it to a drive. A car's engine computer takes sensor readings, calculates a fuel mixture, opens an injector, and logs a fault code. Same four stages, wildly different hardware. Learning to see any device as input-process-output-storage is the single most useful habit in this course, because it tells you where to look when something breaks.

INPUTkeyboard, sensorPROCESSCPU + RAMarithmetic & logicOUTPUTscreen, motorSTORAGESSD / HDD — keeps dataEvery computing device, from a smartwatch to a server, is this loop.Storage is the only stage that survives a power cut.
Fig 1The four stages. Storage is the only one that survives a power cut.

The four stages, precisely

  • Input — any device that converts something in the physical world into electrical signals the computer can read: keyboard, mouse, microphone, camera, temperature sensor, button.
  • Process — the CPU carries out instructions, using RAM as its working space. This is where arithmetic, comparison and decision-making happen.
  • Output — any device that converts electrical signals back into something a person or machine can act on: monitor, speaker, printer, LED, motor.
  • Storage — non-volatile memory that keeps data when the power is off: SSD, hard drive, SD card, USB stick, cloud.
Volatile vs. non-volatile
RAM is volatile: it loses everything the instant power stops. Storage is non-volatile: it keeps data with no power at all. This one distinction explains why you lose an unsaved document in a power cut, and why a computer needs both kinds of memory rather than just one fast one.

Hardware and software

Hardware is anything you could drop on your foot — the physical components. Software is the set of instructions that tells the hardware what to do. Neither is useful alone: a computer with no software is an expensive paperweight, and software with no hardware is just a file. Firmware sits between them: software that is stored permanently inside a hardware device, like the code in your router or the UEFI chip on a motherboard.

ASystem software
  • Operating system (Windows, macOS, Linux, Android)
  • Device drivers — translate between the OS and one piece of hardware
  • Utilities — backup, antivirus, disk tools
  • Its job: manage the computer itself
BApplication software
  • Browser, word processor, game, IDE
  • Runs on top of the OS and asks it for resources
  • Written for a user's task, not for the machine
  • Its job: get work done for a person

Where the categories get slippery

Some devices are both input and output. A touchscreen is an input (you touch it) and an output (it displays). A network card sends and receives. A hard drive is storage, but from the CPU's point of view it is also an I/O device, because the CPU cannot read it directly — it has to ask a controller. When a question asks you to classify a device, name the direction the data is flowing in that particular situation.

DeviceClassificationWhy
MicrophoneInputConverts sound pressure into an electrical signal
TouchscreenInput and outputSenses touch position and displays an image
Solid state driveStorage (and I/O)Keeps data without power; CPU reaches it through a controller
RAMNeither — it is part of ProcessWorking memory for the CPU, not a peripheral, and volatile
Servo motorOutputTurns an electrical signal into physical movement
Network cardInput and outputData flows both directions
Using the model to troubleshoot
"Nothing prints" is not one problem, it is four. Is the input reaching the computer (does the file exist)? Is processing happening (does the print queue show the job)? Is output working (is the printer on and connected)? Walk the stages in order and you will find the break instead of guessing.
CPUControlUnitALURegistersPC · IR · accumulatorMAIN MEMORYInstructionsDataboth stored the same way —the stored-program ideaaddress bus (one way)data bus (both ways)control busBus width matters: a 64-bit data bus moves 8 bytes per transfer; a 32-bit address bus can name 2³² locations.One memory holds both the program and its data.
Fig 2Inside the process stage: the von Neumann architecture.

Zooming into the process stage gives you the von Neumann architecture, which almost every computer built since 1945 follows. Its defining idea is the stored program: instructions and data live in the same memory, in the same format. That is why a computer is general-purpose — load different bits into memory and it becomes a different machine. A pocket calculator has its program burned in; a computer reads its program from memory like any other data, which is exactly why software exists as an industry.

Worked examples

Reveal one step at a time and try to beat it to the next line.

Example 1
A greenhouse controller reads a temperature sensor, compares the reading to a set point, opens a vent motor when it is too hot, and writes a temperature log to an SD card. Classify every component using the computer system model.
Example 2
A student says "my computer has 16 GB of memory and 512 GB of memory." Explain what is wrong with that sentence and restate it correctly.
Example 3
Explain why a computer cannot simply be built with one huge bank of very fast memory and no storage drive at all.

Where marks get lost

  • Calling RAM "storage" — RAM is volatile working memory in the process stage, not where files live.
  • Classifying a monitor as input because you look at it. Classification follows the direction data travels, not where you are standing.
  • Thinking a hard drive is part of the CPU. The CPU cannot read a drive directly; it requests data through a controller.
  • Assuming firmware is hardware because it lives on a chip — it is still instructions, and it can be updated.
  • Forgetting that a touchscreen, network card or modem is both input and output.

Flashcards 8

The four stages of the computer system model
Volatile memory
Non-volatile memory
Firmware
+ 4 more

Practice

1
Which component belongs to the PROCESS stage rather than to input, output or storage?
2
A device is described as "non-volatile". What does that guarantee?
3
Which of these is firmware?
4
What is the one-word name for the idea that instructions and data are stored in the same memory?
5
Put these in the order data flows through a system that reads a barcode and prints a receipt.
  1. 1CPU looks up the price
  2. 2Printer produces the receipt
  3. 3Price is saved to the sales database
  4. 4Barcode scanner reads the label
6
Match each component to its stage.
Microphone
Arithmetic logic unit
Servo motor
microSD card
7
Why is a touchscreen classified as both an input and an output device?
8
You lose an unsaved essay in a power cut. Which property of RAM explains this?
9
A device driver is best described as:
10
A computer has 16 GB of RAM and a 1 TB SSD (1 TB = 1000 GB). How many times larger is the storage than the RAM?

Spot a mistake on this page? Let us know