CPU (Central Processing Unit) is the main basic device in a computer, which acts as the brain of the computer system. It is the part that processes and performs calculations based on the instructions given by the program. The CPU is also called "Processor" or "Microprocessor".
Main functions of the CPU:
1. Processing:
The CPU processes commands and data from RAM to perform the requested actions.
2. Control:
It controls the entire system by controlling the various parts of the computer.
3. Calculation:
The CPU can perform arithmetic operations, addition, subtraction, multiplication, division, and logical operations.
Main parts of the CPU:
1. ALU (Arithmetic Logic Unit):
For calculations and logical operations.
2. CU (Control Unit):
Controls and coordinates the activities in the system.
3. Registers:
Store temporary data for processing.
Main features of the CPU:
- Clock Speed: Refers to the speed at which the CPU can process commands (e.g. GHz).
- Cores: The number of cores indicates the ability to perform multiple tasks at the same time (Multitasking).
- Cache: A fast data storage core for fast processing.
In short, the CPU is the main part for the overall performance of the computer.