WBCS.LIVE practice question

What is the main function of the 'ALU' (Arithmetic Logic Unit) in a computer's CPU?

Solve this multiple-choice question and check the correct answer with its explanation below.

Answer options

  1. Storing permanent files
  2. Managing external hardware devices
  3. Controlling the flow of electricity
  4. Performing mathematical and logical operations

Correct answer and explanation

Correct answer: Performing mathematical and logical operations

Explanation: āœ… Correct Answer: D) Performing mathematical and logical operations šŸ“š Explanation: The ALU is a fundamental component of the Central Processing Unit that handles all arithmetic calculations, such as addition and subtraction, and logical comparisons like AND, OR, and NOT. It receives data from registers, processes it according to instructions, and returns the result. Without the ALU, a computer would be unable to perform any data processing or decision-making tasks.