Creating an XOR function
Lesson 13 / 13
Lesson video
The video is not available yet.
Lesson slides
not available yet
Lesson details
Lesson outcome
I can write a function that replicates the output of an XOR gate.
Show transcript
A logic gate is a fundamental component of a digital circuit.
A truth table shows all possible combinations of inputs and the output that a circuit will produce.
An XOR logic gate is True when either input is True, but not both.
Unlike AND, OR and NOT, Python does not have a built-in operator for XOR.
Worksheet
not available yet
Quizzes
This quiz is not available yet.
What pupils see
The same lesson as a pupil sees it. You can set any section as work on its own.
- IntroductionPrepare · Not available
- Starter quizActivate · Not available
- Lesson videoLearn · Not available
- Exit quizCheck · Not available
This content is by Cashar and published under an open licence.