Processing is the core function of a computer where raw data is converted into meaningful information.
Computers are digital machines that can only understand two states: On (represented by 1) and Off (represented by 0). This is known as the Binary Number System.
For every single instruction, the CPU goes through a series of steps called the Machine Cycle. It consists of four main stages:
| Stage | Action | Description |
|---|---|---|
| Fetch | Instruction Retrieval | The Control Unit gets the instruction from the main memory (RAM). |
| Decode | Translation | The Control Unit translates the instruction into commands the computer can understand. |
| Execute | Action | The Arithmetic Logic Unit (ALU) carries out the actual mathematical or logical operation. |
| Store | Write Back | The result of the execution is written back into the memory for later use. |
Main memory or RAM holds the instructions and data that the CPU is currently processing. It is volatile, meaning its contents are lost when power is turned off.
Registers are high-speed, small-capacity storage locations directly inside the CPU. They hold data that the CPU is working on at that exact moment to avoid the "bottleneck" of reaching out to the slower RAM.
Cache Memory is a specialized, high-speed memory area located between the RAM and the CPU.
Definition: A Bus is a set of parallel electrical wires that transmit data and signals between computer components.
The System Bus connects the CPU to other parts like memory and I/O devices. It includes:
Exam Tip: When asked about the "Brain" of the computer, always refer to the CPU. If asked for the Machine Cycle, remember the acronym F-D-E-S (Fetch, Decode, Execute, Store).
Common Pitfall: Do not confuse Registers with Cache. Registers hold the current instruction, while Cache holds frequently used instructions for future use.
Data is the raw input; information is the processed, meaningful output.
It significantly speeds up the processing by reducing the time the CPU spends waiting for data from the main memory.
A wider bus can transmit more bits of data simultaneously, improving the overall speed of the computer.