GCSE
Lesson 21 XOR
Learners were introduced to logic operators in Lesson 10. At that point, they could only use AND and OR. Learners also need an understanding of how the XOR operator works. Python doesn’t have an XOR operator, so they will be creating their own function for one this lesson. Learners will be reminded of AND and OR and then introduced to truth tables. They will learn about XOR and complete a truth table for the operator. Next, they will dive into designing and creating a function for an XOR operator using worked examples for support.
Learning objectives
- Use a truth table
- Describe the function of an XOR operator
- Design and create a function for an XOR operator
Package contents
- Lesson plans
- Learning graphs
- Unit overviews
- Activities
Not registered yet?
Create an account and get access to over 500 hours of free teaching resources.
GCSE revision
A comprehensive range of content and helpful practice questions are also available for this topic.