PATCH//NOTES Open the interactive version
← All lessons
IT Foundations · Beginner · 15 min

Inside a computer: the parts and how they work together

A computer is a team of components: each has a job, and the system only works when they work together.

What it is

A desktop computer is not one single machine inside its case. It is a collection of components with different jobs. The motherboard connects them, the CPU processes instructions, RAM holds the work currently in use, and storage keeps the operating system and files when the power is off. The power supply provides electricity, cooling moves heat away, and the network interface connects the computer to other devices. Ports connect external equipment such as monitors, keyboards, mice, printers and storage devices. A graphics processor handles visual work, either built into the CPU or on a separate card. Understanding the parts helps you choose compatible hardware and diagnose faults instead of guessing. Hardware works with several software layers. Firmware is low-level code stored in a device; the motherboard's UEFI firmware starts the computer and checks essential hardware. The operating system, such as Windows or Linux, manages memory, files, devices and running programs. Device drivers let the operating system communicate with particular hardware. Applications are the programs people use, and each running instance is a process.

Real case · Everyday computing

A slow computer is not always a slow CPU

A computer can feel slow because too many apps or browser tabs are open, startup apps run in the background, the drive is nearly full, or malware is running. Microsoft's own advice starts with those checks, and suggests a new device only when the hardware is too old.

Source: Microsoft Support: Tips to improve PC performance in Windows

How defenders stop it

  • Check power and cable connections before replacing components.
  • Use the motherboard manual to confirm supported CPU, RAM and storage types.
  • Check temperatures and airflow when a computer slows down or shuts off.
  • Use diagnostic lights, firmware messages and hardware tests to narrow down a fault.

Try it yourself

Continue into the IT Support learning path

Check yourself

1. Which component connects the CPU, memory and expansion devices?

  1. Motherboard
  2. Power supply
  3. Computer case
  4. Network cable
Show answer

Motherboard. The motherboard provides the sockets, slots and circuits that connect the main components.

2. Which component holds the data and instructions the CPU is using right now?

  1. RAM
  2. SSD
  3. Power supply
  4. Case fan
Show answer

RAM. RAM is temporary working memory. Its contents are lost when the computer loses power.

3. What is the main difference between RAM and storage?

  1. RAM is temporary; storage keeps data when power is off
  2. RAM is always faster than every CPU cache
  3. Storage only holds photos
  4. They are two names for the same component
Show answer

RAM is temporary; storage keeps data when power is off. RAM is volatile working memory. An SSD or hard drive is non-volatile storage that keeps data without power.

4. Which component converts mains electricity into the regulated power the PC uses?

  1. Power supply unit (PSU)
  2. GPU
  3. NIC
  4. RAM
Show answer

Power supply unit (PSU). The PSU converts mains electricity into the regulated DC power required by the computer's components.

5. What does a device driver help the operating system do?

  1. Communicate with a hardware device
  2. Convert mains electricity into DC power
  3. Keep files after the computer is switched off
  4. Cool the processor
Show answer

Communicate with a hardware device. A device driver provides the software interface and instructions the operating system needs to use a particular hardware device.

6. A laptop crawls with 40 browser tabs open. Task Manager shows memory at 96%, the CPU at 15% and the drive 70% free. What is most likely slowing it?

  1. Not enough memory for what is open
  2. A slow processor
  3. A nearly full drive
  4. A failing power supply
Show answer

Not enough memory for what is open. Memory is almost full while the CPU is mostly idle and the drive has space. Close some tabs, or add RAM if this is normal work for it.

Answer them in the app to earn XP.

Next: The CIA triad →