Operators
I can create complex conditions using comparison and logic operators.
Operators
I can create complex conditions using comparison and logic operators.
These resources will be removed by end of Summer Term 2025.
Lesson details
Key learning points
- Comparison operators can be used to compare values in expressions.
- Logical operators can be used to compare multiple comparison expressions.
- Selection statements can combine comparison and logical operators to build complex conditions.
Keywords
Comparison operator - an operator that is used to compare one value to another
Condition - used to control the path a program follows
Logic operator - an operator used in a logical expression, for example, AND, OR and NOT
Common misconception
Selection statements can only check one condition at a time.
Complex conditions can be built into selection using a combination of comparison and logical operators. Logical operators join separate conditions and provide one complete statement that still evaluates to only True or False.
To help you plan your year 7 computing lesson on: Operators, download all teaching resources for free and adapt to suit your pupils' needs...
To help you plan your year 7 computing lesson on: Operators, download all teaching resources for free and adapt to suit your pupils' needs.
The starter quiz will activate and check your pupils' prior knowledge, with versions available both with and without answers in PDF format.
We use learning cycles to break down learning into key concepts or ideas linked to the learning outcome. Each learning cycle features explanations with checks for understanding and practice tasks with feedback. All of this is found in our slide decks, ready for you to download and edit. The practice tasks are also available as printable worksheets and some lessons have additional materials with extra material you might need for teaching the lesson.
The assessment exit quiz will test your pupils' understanding of the key learning points.
Our video is a tool for planning, showing how other teachers might teach the lesson, offering helpful tips, modelled explanations and inspiration for your own delivery in the classroom. Plus, you can set it as homework or revision for pupils and keep their learning on track by sharing an online pupil version of this lesson.
Explore more key stage 3 computing lessons from the Using fundamental programming constructs in a block-based language unit, dive into the full secondary computing curriculum, or learn more about lesson planning.
Equipment
All pupils require access to devices that have or can access the online version of Scratch. Starter programs are linked to the lesson and can be remixed as required.
Licence
Starter quiz
6 Questions





