Explore

Learn: The ALU - Arithmetic vs Logic
OCR GCSE J277 Computer Science specification
Ready to start this lesson?
Sign in to track your progress. 12 steps including 6 interactive questions.
Sign In to Start LearningStudents also studied
Browse allSteps in this lesson (12)
Welcome!You've already learned about the CPU's role, the fetch-decode-execute cycle, and how registers help manage instructions. Today, we'll focus on the ALU (Arithmetic Logic Unit) and its role in processing data.
What is the ALU?The Arithmetic Logic Unit (ALU) is part of the CPU that performs calculations and logical operations. It handles tasks like addition, subtraction, and comparisons (e.g., greater than, equal to). This allows the computer to make decisions and process data.
Quick check: What does the ALU do?
Start the lesson to answer this multiple choice question
Arithmetic OperationsThe ALU performs arithmetic operations like addition, subtraction, multiplication, and division. For example, if the computer needs to calculate 5 + 3, the ALU handles this task.
Logical OperationsThe ALU also performs logical operations. These include comparisons (e.g., is one number greater than another?) and decisions based on conditions (e.g., 'If this is true, do X'). Logical operations are essential for decision-making in programs.
The ALU performs {{blank0}} operations like addition and {{blank1}} operations like comparisons.
Start the lesson to answer this fill in the blank question
Inputs and OutputsThe ALU takes inputs from registers, processes them using arithmetic or logical operations, and then outputs the results to registers. These results can be used in the next steps of the fetch-decode-execute cycle.
Match the items on the left with their correct pairs on the right
Start the lesson to answer this matching question
Review Time!Great work! You've learned about what the ALU does, its arithmetic and logical operations, and how it processes data. Let's test your understanding with a few questions.
Which of the following is an example of an arithmetic operation?
Start the lesson to answer this multiple choice question
Which of the following are tasks the ALU performs? (Select all that apply)
Start the lesson to answer this multi-select question
The ALU outputs results to {{blank0}} after processing {{blank1}} or logical operations.
Start the lesson to answer this fill in the blank question

Want to Learn More?
Get personalised lessons, quizzes, and instant feedback from your AI tutor.
Explore More Topics