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
- Slide decks
- Learner resources
- Homework
Don't have an account?
GCSE revision
A comprehensive range of content and helpful practice questions are also available for this topic.
View on Ada Computer ScienceEnjoyed teaching these lessons? Found a mistake?
Fill in a short form to give feedback on these resources.