CPU Notes - Page 1
Introduction to CPU
The Central Processing Unit (CPU) is the electronic circuit within a computer that carries out the
instructions of a program. It is often referred to as the 'brain of the computer' because it performs
calculations, logical operations, and controls the execution of instructions. Every action in a
computer—from opening an application to browsing the internet—depends on the CPU.
Main Components
1. Arithmetic Logic Unit (ALU) – performs all mathematical and logical operations.
2. Control Unit (CU) – directs the flow of data and instructions within the system.
3. Registers – very small, fast memory locations used to store temporary data.
4. Cache Memory – high-speed memory that stores frequently used instructions.
CPU Notes - Page 2
Working of a CPU
The CPU works in a Fetch–Decode–Execute cycle:
1. Fetch – instruction is retrieved from memory.
2. Decode – instruction is translated into a form the CPU understands.
3. Execute – the operation is carried out (mathematical, logical, or data transfer).
CPU and Memory
The CPU works closely with RAM (Random Access Memory) to store and retrieve data quickly.
Buses such as the data bus, address bus, and control bus are used for communication between the
CPU, memory, and input/output devices.
Multi-Core CPUs
Modern CPUs are multi-core (dual-core, quad-core, octa-core). Multiple cores allow parallel
processing, which improves performance in multitasking, gaming, and high-performance
applications.
CPU Notes - Page 3
Types of CPUs
1. CISC (Complex Instruction Set Computer) – used in Intel x86 processors.
2. RISC (Reduced Instruction Set Computer) – used in ARM processors for mobile devices.
3. Server CPUs – designed for high workloads and multiple users.
4. Supercomputer CPUs – built for scientific simulations and complex tasks.
Applications
• Desktops & Laptops – for general computing tasks.
• Mobile Phones & Tablets – use ARM-based CPUs for energy efficiency.
• Servers & Data Centers – handle massive workloads and network services.
• Supercomputers – used in research, simulations, and AI.
Future of CPUs
The future of CPUs includes quantum processors that use the principles of quantum mechanics for
ultra-fast calculations. AI-specific processors are also being developed to accelerate artificial
intelligence and machine learning tasks.