๐ง **Main Hardware Components and CPU**
In this lesson, we will explore the **key hardware components** of a computer system and learn about the **structure and function of the CPU** (Central Processing Unit).
—
## ๐งฉ Main Hardware Components
A complete computer system includes:
1. **Input Devices** โ Used to enter data into the computer
2. **Output Devices** โ Used to show results or information
3. **Main Memory** โ Temporary memory (RAM & ROM)
4. **Secondary Storage** โ Long-term storage (e.g., Hard Drives)
5. **CPU (Central Processing Unit)** โ The brain of the computer
These components work together to process and output data.
—
## ๐ง Central Processing Unit (CPU)
**Definition:**
The CPU is the hardware that processes instructions entered into the computer to produce output.
It is responsible for:
– Executing instructions from hardware and software
– Controlling the flow of data
– Performing calculations and making decisions
—
## โ๏ธ Parts of the CPU
The CPU contains two key parts:
1. **Control Unit (CU)**
– Manages the operations of the CPU
– Coordinates activities of input, output, and memory
2. **Arithmetic Logic Unit (ALU)**
– Performs all arithmetic calculations (e.g., +, โ, ร, รท)
– Performs logical operations (e.g., comparisons like >, <, =)
—
### ๐ Summary:
| Component | Description |
|———–|————-|
| Control Unit (CU) | Controls data movement and coordinates tasks |
| ALU | Handles math and logic tasks |
| CPU | Executes instructions and processes data |
Every program you run and every button you click depends on the CPU!
—
๐ In the next lessons, we will explore **RAM, ROM, and memory types** in detail.