Multiple choice

Which of the following performs boolean comparisons such as AND, OR, XOR and NOT in a CPU?

  1. Control Unit

  2. Arithmetic and Logic Unit

  3. Primary Memory

  4. Random Access Memory

  5. Read Only Memory

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

ALU (Arithmetic and Logic Unit) is an integrated circuit within a CPU that performs arithmetic and logic operations. Arithmetic instructions include addition, subtraction, and shifting operations, while logic instructions include Boolean comparisons, such as AND, OR, XOR, and NOT operations.