What is a CPU?
If you open your computer or laptop and examine the motherboard -- the sheet of electronics that relays signals throughout your computer -- you'll see a square chip, usually gold and generally measuring about 1 inch by 1 inch. That's the central processing unit, otherwise known as the brain of your computer.
Sounds simple, right? But a CPU isn't just a single chip that performs magic. It's a complicated circuit that includes five major components:
- Control unit. Think of the control unit as the CPU's project manager. It reads the instructions that are received from the computer’s memory, clarifies them, and assigns them to other parts of the central processing unit.
- Registers. Data that comes through the CPU is stored in registers, such as all-purpose registers holding operational data; instruction registers that store the instructions that are being processed; and a program counter than contains the address of the next instruction to be considered.
- Arithmetic logic unit (ALU). For many people, this Is the heart of the CPU. The ALU performs basic math and Boolean logic. It takes information from the registers, processes it, and provides a result.
- Memory management unit. These are often built into the CPU to handle memory-related tasks, such as governing interactions between the CPU and random access memory (RAM), and providing the cache memory located within the CPU.
- Clock. Central processing units use a clock signal to synchronize operations. The clock sends out a signal at a specific frequency, measured in hertz, that decides the number of instructions that a CPU can execute in a second. Most new CPUs have variable clock speeds that are set to maximize performance and/or power use.