
Arithmetic logic unit (ALU)
An Arithmetic Logic Unit (ALU) is a core part of a computer's processor responsible for performing calculations and decision-making tasks. It executes basic operations like addition, subtraction, and logical comparisons (e.g., checking if one number is greater than another). Think of it as the computer’s calculator and decision-maker combined, enabling the system to process data and make choices based on logical conditions. The ALU works swiftly and efficiently, forming the foundation for more complex functions within the computer's central processing unit (CPU).