
The CPU has two main components, the Control Unit & Arithmetic Logical Unit (ALU).
The Control Unit controls getting the instructions from the main memory and its execution. Other tasks include, control of input and output devices and passing the data to the ALU for computation.
The Arithmetic Logical Unit (ALU) performs arithmetic operations on integer (whole number) and real (with a decimal point) operands. It also performs logical operations (equality, greater than and less than) between operands.










