Technology & Computing · Computers & hardware

The parts of a computer

Open up a laptop or a phone and name what you find. See what the processor, memory, storage and the input and output parts each do, and how they work together when you open a file.

4 short lessons · about 16 minutes · 6 sources · updated November 2026

What you will learn

  • Name the four jobs of computer hardware and the main part behind each
  • Sort a device's parts by job and explain why one part can do two jobs
  • Explain why a computer keeps data in both memory and storage
  • Trace what storage, memory, the processor and the screen each do when you open a photo

Lesson 1 of 4 · 4 min

The four jobs every computer does

Before you readIn 1968 Douglas Engelbart showed a new way to control a computer in front of a live audience. What was it?

Correct.Not quite. The answer is The mouse.

It was the mouse. The lesson shows where the mouse fits among the four jobs every computer does.

You tap a photo on your phone and it fills the screen. In that moment the phone did the four jobs every computer does. It took input, processed it, pulled data from storage and produced output.

Input devices turn the outside world into data. A keyboard turns key presses into signals, and a mouse turns hand movements into pointer moves. Douglas Engelbart first showed the mouse in public in 1968.

Processing is the job of the central processing unit, or CPU. It fetches a program's instructions from memory and carries them out one after another. People often call it the computer's brain.

Storage keeps data. A drive holds your files even with the power off. Memory, called RAM, holds what's in use right now and loses it when the power goes.

Output devices turn data back into something you can sense. Monitors show it and printers put it on paper.

Check yourselfWhen you save an essay so it's still there tomorrow, which of the four hardware jobs is the computer doing?

Correct.Not quite. The answer is Storage.

Keeping data for later, even with the power off, is storage. Showing the essay on screen would be output.

Some parts do two jobs. A touchscreen is a touch panel laid on top of a display. The panel takes input from your finger, and the display beneath gives output. A network card both sends and receives data, so it handles input and output too.

Calling a device input or output depends on perspective. A keyboard takes the movements your hands make and turns them into signals. Your output becomes the computer's input. A monitor does the reverse.

The jobs stay the same from device to device. A desktop spreads them across a keyboard, a box and a monitor. A phone folds input and output into one glass panel.

Try to recallWhy does a smartphone touchscreen count as both an input device and an output device?

A touchscreen is a touch panel laid on top of a display. The panel turns your finger's touch into input signals, and the display beneath it shows the computer's output. One part does two jobs.

Every computer does input, processing, storage and output. Most parts do one job, and a few, like a touchscreen, do two.

Lessons in this topic

  1. The four jobs every computer does

    Sort any computer's parts into input, processing, storage and output, and see why a touchscreen counts twice.

    Essentials · 4 min

  2. What happens when you open a file

    See why a computer needs both memory and storage, and follow a photo from the drive to your screen.

    Essentials · 4 min

  3. The board that wires it all together

    Learn what the motherboard and its buses do, why a shared path can hold a fast processor back, and what ports and expansion slots are for.

    Deeper · 4 min

  4. How to read a computer spec sheet

    Find out what gigahertz, cores, RAM and storage type tell you about a computer, and what they leave out.

    Deeper · 4 min

Three quick stories from this topic

The 4 GHz wall

Processor clock speeds stalled near 4 GHz around 2005, when chips got too hot to push

Press articles had predicted chips running at 10 to 20 GHz. Intel's Pentium Extreme Edition hit heat limits near 4 GHz, and its 2006 successor, Core 2, matched that performance at nearly half the clock speed.

Ten years of GHz ads

From about 1995 to 2005, Intel advertised its mainstream Pentium chips mainly on clock speed.

Work per tick

Core 2 did more on each tick, which is why gigahertz alone can't tell you which chip is faster.

Memory that won't forget

Memory chips can hold data for minutes after power-off, and much longer when chilled

RAM's contents fade gradually instead of vanishing at once. Cooled with freeze spray or liquid nitrogen, some memory modules hold readable data for hours or even a week, which lets attackers recover encryption keys.

The cold boot attack

An attacker with the machine in hand reboots it from a small disk and copies whatever is still in memory.

Why it works

The bits fade in a predictable way, so even partly faded memory can often be reconstructed.

The mouse's missing royalties

The mouse's inventor earned no royalties, because the patent ran out before PCs used it

Douglas Engelbart showed the mouse in public on 9 December 1968. His employer, the Stanford Research Institute, held the patent, and it expired before mice became standard on personal computers.

Built in 1964

Bill English helped Engelbart build the first prototype, a bulky box with two wheels at right angles.

A small part of a big plan

The mouse was one piece of Engelbart's larger project to use computers to boost human thinking.

Sources

  • How processors execute instructions

    Follow a tiny calculation through the instructions, memory addresses and circuits that make a computer work.

    4 lessons · 22 min

  • Why adding cores stops helping

    A fixed job has a part that won't split, and that part sets a ceiling no number of processors can lift.

    4 lessons · 24 min

  • Binary, bits and bytes

    Everything a computer holds is a pattern of on and off. Learn to count in binary, see what bits and bytes are, and find out why one pattern can be a number, a letter or a shade.

    4 lessons · 16 min

  • What an algorithm is

    An algorithm is a list of steps exact enough for a machine to follow. See how to write one, how to show it always finishes with the right answer, and why the word now covers looser things.

    4 lessons · 18 min

  • Why a computer can't write down one tenth

    Trace 0.1 into binary and back, and see why adding it three times doesn't give 0.3, why rounding first doesn't help, and what to do instead.

    4 lessons · 20 min

  • Searching a million items

    See why a sorted list of a million items takes about 20 checks to search, when sorting first is worth the effort, and how a hash table skips the search altogether.

    4 lessons · 17 min

All technology & computing topics · Take the quiz