What is the primary function of the Arithmetic Logic Unit (ALU) in a microprocessor?
a) To fetch instructions from memory
b) To perform arithmetic and logical operations
c) To control the flow of data between input/output devices
d) To decode instructions
Answer:
b) To perform arithmetic and logical operations
Explanation:
The Arithmetic Logic Unit (ALU) is responsible for performing arithmetic and logical operations within a microprocessor.