Arithmetic Logic Unit (ALU)
The ALU is the part of the CPU that does all the calculations and logical decisions.
It performs two key types of tasks:
-
Arithmetic operations – like addition, subtraction, multiplication, and division.
-
Logical operations – like comparing numbers (e.g. is one number bigger, smaller, or equal to another?).
The ALU is essential for carrying out instructions and making decisions in a program.