
Scratch Operators: Code with Logic
Year 7 Computing Understanding Arithmetic and Logical Operators Building Problem-Solving Skills

What Are Operators?
Special blocks that perform operations Help us make calculations and comparisons Essential for creating interactive programs Found in the 'Operators' section of Scratch

Types of Operators in Scratch
{"left":"Arithmetic Operators\nAddition (+)\nSubtraction (-)\nMultiplication (*)\nDivision (/)","right":"Comparison Operators\nEqual to (=)\nLess than (<)\nGreater than (>)\nNot equal (≠)"}

Operator Detective Challenge
Look at the code snippet on screen Identify which operators are being used Predict what the code will do Discuss with your partner

Arithmetic Operators in Action
Addition (+): Increases values Example: score + 10 Subtraction (-): Decreases values Example: lives - 1 Perfect for keeping track of game statistics

Comparison Operators: Making Decisions
Equal to (=): Checks if values are the same Less than (<): Checks if one value is smaller Greater than (>): Checks if one value is bigger Always give true or false answers Essential for if-then statements

Quick Check: Operator Logic
If score = 25 and lives = 3 What happens with: score > 20? What happens with: lives < 5? What happens with: score = 30?

Create Your Operator Challenge
Work in pairs to design a mini Scratch project Use at least 3 different operators Ideas: Quiz game, Score tracker, Simple calculator Test and debug your creation Be ready to share with the class!