Central Processing Unit (CPU)
The CPU is known as the brain of the computer. It executes instructions, performs calculations, and manages data flow between other hardware components.
| Component | Function |
|---|---|
| Arithmetic Logic Unit (ALU) | Performs arithmetic operations (addition, subtraction, multiplication, division) and logical operations (AND, OR, NOT). |
| Control Unit (CU) | Directs data flow between CPU, memory, and peripherals; interprets instructions from programs. |
| Registers | High-speed temporary storage inside the CPU for immediate data processing. Examples: Instruction Register, Accumulator. |
| Cache Memory | High-speed memory to store frequently used data and instructions, improving processing speed. |
Fetch: Retrieves instructions from memory.
Decode: Interprets the instructions.
Execute: Performs the operation using ALU or other CPU components.
Store: Writes the results back to memory or output devices.
| Type | Description |
|---|---|
| Single-Core CPU | Contains one processing unit; executes one instruction at a time. |
| Multi-Core CPU | Contains multiple cores; can execute multiple instructions simultaneously. |
| Microprocessor | CPU implemented on a single integrated circuit; common in PCs and laptops. |
| Embedded CPU | Designed for specific applications in devices like microwaves, cars, and smartphones. |
CPU is the central component that controls all operations in a computer.
ALU handles calculations and logic, CU directs operations, and registers/cache provide fast temporary storage.
Modern CPUs are multi-core and highly efficient, supporting multitasking and advanced computing.
Take quizzes related to this topic and see where you stand!
Start Quiz Now