Every computer is made of a few parts that each do one job. The diagram shows where they sit on the main board.
The processor. It follows program instructions and does the math. The next section covers it in detail.
Short-term memory for whatever is open right now. It empties when the power goes off.
Keeps files and programs for good. SSDs use flash chips, hard drives use spinning disks.
The main circuit board that connects every other part.
The graphics card. It draws what you see on screen.
Converts wall power into the steady voltages the parts need.
The central processing unit repeats one loop billions of times a second: fetch an instruction, decode it, run it, store the result.
Four numbers describe how fast a CPU can be:
All of these hold data. They differ in speed, and in whether the data survives a shutdown. A nanosecond (ns) is one billionth of a second. Values are typical for a current desktop and vary by part.
| Type | Access time (ns) | Typical size | Keeps data off? |
|---|---|---|---|
| CPU cache | 1 | 32 MB | No |
| RAM | 80 | 16 GB | No |
| SSD | 100,000 | 1 TB | Yes |
| Hard drive | 10,000,000 | 4 TB | Yes |
Each link opens a YouTube search in a new tab.
How a CPU worksFetch, decode and execute explained. How RAM worksWhy memory is fast and temporary. Build a PC step by stepWatch the parts go into the case.