Prepare for the A Level Computer Science OCR Exam with comprehensive quizzes that cover essential topics, flashcards, and detailed explanations to help you excel. Ace your exam with confidence!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


What type of operations does the ALU perform in a CPU?

  1. Input/output operations

  2. Arithmetic and logical operations

  3. Data storage operations

  4. Instruction fetching operations

The correct answer is: Arithmetic and logical operations

The correct answer focuses on the role of the Arithmetic Logic Unit (ALU) within the CPU. The ALU is specifically designed to perform arithmetic operations, such as addition, subtraction, multiplication, and division, as well as logical operations, which include comparisons and bitwise operations like AND, OR, and NOT. This functional capability makes the ALU a critical component in executing the instructions that a CPU processes, allowing it to manipulate data and make decisions based on logical conditions. The other options represent different functions in a computer system. Input/output operations involve communication between the CPU and external devices, data storage operations pertain to saving and retrieving data from memory or storage devices, and instruction fetching refers to the process of retrieving executable code from memory. While these processes are essential elements of a CPU's functioning, they fall outside the specific capabilities of the ALU.