C25 45 min

Computer system components

The parts of a computer system and how they work together, from CPU to input and output.

The core parts

A computer system combines hardware and software to process data.

ComponentRole
CPUExecutes instructions
Memory (RAM)Holds active data and programs
StorageKeeps data persistently (SSD, HDD, flash)
Input devicesBring data in (sensors, keyboard, camera)
Output devicesPresent results (display, actuator, speaker)
Bus / interconnectMoves data between components

The stored-program model

Instructions and data share memory. The CPU repeatedly fetches an instruction, decodes it, executes it, and writes results back. This fetch–decode–execute cycle is the foundation of almost every general-purpose computer.

Embedded variation

An IoT node carries the same ideas at a much smaller scale: a microcontroller, a few kilobytes of memory, flash storage, and sensors instead of keyboards. The trade-off is fixed function and low power rather than general-purpose performance.

Check your understanding

  • Explain the difference between memory and storage.
  • Why do embedded systems use less RAM than desktop computers?
All C25 lessons