The correct answer is: B. arithmetic-logic unit (ALU).
The ALU is a part of the CPU that performs arithmetic and logical operations on data. It is responsible for carrying out the instructions that are stored in the program memory. The ALU is made up of a number of logic gates that can perform basic operations such as addition, subtraction, multiplication, and division. It can also perform more complex operations such as comparison and logical AND and OR.
The control unit is responsible for fetching instructions from memory, decoding them, and executing them. It also controls the flow of data between the CPU and other components of the computer.
The primary storage unit is where the program memory and data memory are located. The program memory stores the instructions that the CPU is currently executing. The data memory stores the data that the CPU is currently working on.
E is not the correct answer because all calculations and comparisons are performed in the ALU.