In which of the following units does a computer perform arithmetic operations…
2010
In which of the following units does a computer perform arithmetic operations and compare data?
Answer: A. CPU — ConceptA processor executes instructions using coordinated functional units. The arithmetic logic unit (ALU) performs arithmetic operations and logical…
- A.
CPU
- B.
Memory
- C.
Hard disk
- D.
Floppy disk
Attempted by 88 students.
Show answer & explanation
Correct answer: A
Concept
A processor executes instructions using coordinated functional units. The arithmetic logic unit (ALU) performs arithmetic operations and logical comparisons, while the control unit directs the flow of instructions and data.
Application
Among the listed units, the CPU contains the ALU. Therefore, the addition and comparison operations described in the question are carried out during processing within the CPU.
Contrast
CPU: the processing unit that contains the control unit, registers, and ALU.
Memory: primary storage that holds instructions and working data for quick access.
Hard disk: non-volatile secondary storage for programs and files.
Floppy disk: removable magnetic secondary storage with limited capacity.
Cross-check
If power is removed, disks may retain stored data, but storage alone does not execute arithmetic or comparison instructions. Those operations require the processor and its ALU.
Result
The applicable unit is the CPU.