Study Guide Instructor view
Introduction to Logic Gates
Teaching notes for Lesson 2.1, with controls for presenting it.
Keep this page on your own screen. Share only the lesson window. The lesson window holds no teaching notes, so sharing it cannot show them.
Presenting
- Open the lesson in its own window and share that window, not this one.
- Use Next and Previous here, or the lesson’s own, to move through the lesson. Next reveals one thing at a time: the next idea, or the answer to the question on screen, then the next step. Previous takes the last reveal back. The line below says what is on screen and what Next will show.
- Reveal hints and answers when the class is ready, and reset a demonstration before using it again.
The controls need JavaScript and a browser that supports BroadcastChannel. Without them, open the lesson in presentation mode and use its own controls.
The two windows talk to each other only inside this browser, on this device. Nothing is sent to a server, and no account is needed. A second device (a phone or another tablet) cannot follow the lesson window yet.
Now on the lesson window
- On screen
- Next teaching point
Guidance for this point
Lesson plan
- Level
- Beginner
- Time
- About 60 minutes; the steps below add up to 60
Pupils meet logical decisions through two school systems they can picture, find each gate's rule by predicting and testing every combination, and only then learn the names AND, OR and NOT. The lesson ends with pupils completing truth tables on their own and explaining a row, so the teacher sees whether the pattern has been understood, not just remembered.
Objectives
- Explain what an input and an output are in a system that makes a decision
- Explain why a computer can record a yes-or-no condition as 1 (true) or 0 (false)
- List every combination of two inputs and record them in a truth table
- Describe what AND, OR and NOT gates do and complete their truth tables
- Choose AND, OR or NOT to describe an everyday rule, and explain the choice
Before the lesson
- Decide whether pupils will use their own devices for the investigations or watch you test on the shared screen; both work, but pupils predicting on mini whiteboards before each test keeps everyone thinking.
- Mini whiteboards or paper, one per pupil, for predictions.
- Optional: two cards per pupil, one showing 1 and one showing 0, for quick show-me answers.
Steps
Introduction Opening
On the lesson window now
On screen: the lesson’s title, module and number; Next adds its objectives and key terms, as the lesson page lists them; Next again begins the first step.
Objectives on screen
- Explain what an input and an output are in a system that makes a decision
- Explain why a computer can record a yes-or-no condition as 1 (true) or 0 (false)
- List every combination of two inputs and record them in a truth table
- Describe what AND, OR and NOT gates do and complete their truth tables
- Choose AND, OR or NOT to describe an everyday rule, and explain the choice
Purpose: Pupils meet logical decisions through two school systems they can picture, find each gate's rule by predicting and testing every combination, and only then learn the names AND, OR and NOT. The lesson ends with pupils completing truth tables on their own and explaining a row, so the teacher sees whether the pattern has been understood, not just remembered.
1. A door that decides Think 5 min
On the lesson window now
Purpose: Start from a rule pupils already understand in words, before any notation, so that AND is later a name for something they know.
Ask
- What should the door do? Why?
- Why would the school want two checks instead of one?
Responses to expect
- It stays locked
- A lost card should not be enough
Misconceptions to challenge
- A learner may believe: “A valid card should always open the door.” Respond: Ask what happens if a pupil finds a teacher's lost card. The second check is there for exactly that.
On the board or with the pen
- Underline “card” and “PIN” on the slide with the pen; write “both?” beside them.
What learners should notice
- The door uses two separate pieces of information.
Checking understanding: Every pupil writes locked or unlocked on a mini whiteboard and shows it together.
Depending on the answers
- If several pupils say the door opens: ask them to argue it from the school's side: what is the PIN for? Return to the lost-card case before moving on.
English as an additional language
- Check the words valid, PIN and keypad before asking the question; draw a card and a keypad if needed.
Discussion pause: Thirty seconds of silent thinking, then pairs agree an answer before anyone shares.
In the lesson window
- Think it through: A teacher taps a valid staff card, but types the wrong PIN. What should the door do, and why?
2. Every possible situation Discover 6 min
On the lesson window now
Purpose: Pupils generate all four combinations themselves, then meet input, output and 1 or 0 at the point they are needed.
Ask
- How many different situations can the door be in?
- How do you know you have not missed one?
Responses to expect
- Four
- Do the card one way, then the other, with both PIN answers each time
Misconceptions to challenge
- A learner may believe: “There are only two situations: it works or it does not.” Respond: Separate the situations (the inputs) from the result (the output): the result is decided by four different situations.
- A learner may believe: “The input is the card reader.” Respond: The input is the information, valid or not, not the device.
On the board or with the pen
- On the whiteboard, draw a 2 × 2 grid: card valid yes / no across, PIN correct yes / no down. Fill in each cell as the class finds it.
Follow-up questions
- What would change if the door also checked the time of day?
Support
- Give pupils the four situations as cards to sort into “opens” and “stays locked” before testing.
English as an additional language
- Introduce input and output with gestures: information going in, decision coming out.
In the lesson window
- Think it through: How many different situations can the door be in? Write each one down.
3. Test the door’s rule Experiment 8 min
On the lesson window now
Purpose: Discover the rule by prediction and test: each pupil commits to a prediction for every combination before seeing the result.
Ask
- Predict first: what will the door do for this combination?
- Which test surprised anyone?
Responses to expect
- Most predict correctly for both-right and both-wrong
- Some expect one correct input to be enough
Misconceptions to challenge
- A learner may believe: “One correct input is enough.” Respond: Test card valid, PIN wrong on screen. The output is 0: either input being 0 keeps the door locked.
On the board or with the pen
- Write the class's predictions in the explorer's record with the pen before pressing Test, so the comparison is visible.
What learners should notice
- Only one row of the record shows 1.
Checking understanding: The check question after the investigation shows who has generalised the pattern from the tests.
Depending on the answers
- If more than a few choose “two situations”: go back to the explorer and test card valid, PIN wrong together, asking each time: is one right input enough?
- If nearly everyone is correct: move on quickly; ask a pupil to state the rule in words as the bridge to the next step.
Stretch
- What if the door had three checks: card, PIN and fingerprint? How many situations, and how many unlock it?
In the lesson window
- Check your understanding: In how many of the four situations does the door unlock?
- Logic gate explorer
4. Naming the pattern: AND Explain 6 min
On the lesson window now
Purpose: Pupils state the rule in their own words first; the name AND and the truth table then label what they have already found.
Ask
- Say the rule as a sentence starting “The door unlocks only when…”.
- Why are the rows always in the order 00, 01, 10, 11?
Responses to expect
- …the card is valid and the PIN is correct
- So none is missed
Misconceptions to challenge
- A learner may believe: “A truth table is something to memorise.” Respond: It is a record of tests; anyone can rebuild it by trying each combination.
On the board or with the pen
- Write the pupils' sentence above the truth table, then circle the one row with Q = 1.
English as an additional language
- Display the sentence frame “The output is 1 only when…” for pupils to complete.
In the lesson window
- Think it through: Before reading on, write the door’s rule as one sentence that starts “The door unlocks only when…”.
5. A different kind of rule Predict 9 min
On the lesson window now
Purpose: A contrasting rule: pupils discover OR, and confront the everyday meaning of or.
Ask
- Alarm and switch together: do the lights come on?
- Is there any situation where the lights stay off?
Responses to expect
- Yes
- Only when neither happens
Misconceptions to challenge
- A learner may believe: “OR means one or the other but not both.” Respond: Test both inputs at 1 in the explorer: the lights stay on. Point to the callout about everyday “or”.
- A learner may believe: “Two inputs means AND.” Respond: Both the door and the lights have two inputs; the rules differ.
On the board or with the pen
- Put the door's and the lights' records side by side on the whiteboard and ask pupils to spot the rows that differ.
Follow-up questions
- Which single row tells AND and OR apart most quickly?
Checking understanding: The lights-pattern question: the “exactly one” option diagnoses the everyday-or misconception.
Depending on the answers
- If many choose “exactly one input”: test 1, 1 live and discuss the tea-or-coffee example before continuing.
In the lesson window
- Think it through: The fire alarm is sounding and someone has also pressed the switch. Do the lights come on?
- Check your understanding: Compare the lights with the door. Which statement describes the lights’ rule?
- Logic gate explorer
6. Turning a value round: NOT Discover 7 min
On the lesson window now
Purpose: NOT through a one-input situation, then a check in a new context.
Ask
- Daylight 1: light on or off?
- What does NOT do, in one word?
Responses to expect
- Off
- Flips, reverses, turns round
Misconceptions to challenge
- A learner may believe: “NOT means the output is 0.” Respond: NOT turns its input round: it gives 1 when the input is 0.
On the board or with the pen
- Draw an arrow from 1 to 0 and from 0 to 1 beside the record.
Support
- Ask pupils to say each row aloud: “daylight yes, so light no”.
In the lesson window
- Think it through: The sensor reports daylight = 1. Should the light be on? And when daylight = 0?
- Check your understanding: A classroom fan is set to run when the window is NOT open. The input “window open” is 1. What is the fan’s output?
- Logic gate explorer
7. Which gate fits? Apply 7 min
On the lesson window now
Purpose: Apply the three gates to new rules, separate inputs from outputs, and correct a plausible piece of faulty reasoning.
Ask
- Which words in the console rule tell you the gate?
- What is wrong with Sam's reasoning?
Responses to expect
- “only if … and …”
- Having two inputs does not make a rule AND
Misconceptions to challenge
- A learner may believe: “The output is one of the conditions.” Respond: Ask what the system decides: that decision is the output.
Checking understanding: Three questions, each diagnosing a different confusion: gate choice, input against output, and number of inputs against rule.
Depending on the answers
- If pupils agree with Sam: ask them to test the lights with only the switch pressed and compare with AND's table.
English as an additional language
- Highlight the signal words only if, and, or, not in each question.
In the lesson window
- Apply it: A games console downloads an update only if it is connected to the internet and the user has agreed to updates. Which gate describes the decision?
- Check your understanding: In the console example, which of these is the output?
- Apply it: Sam says: “The emergency lights use AND, because the alarm and the switch both control the lights.” What is wrong with Sam’s reasoning?
8. Complete the truth tables yourself Experiment 7 min
On the lesson window now
Purpose: Pupils complete truth tables on their own, with feedback, and explain one row.
Ask
- Which rows give a merit?
- Explain one row in a sentence.
Responses to expect
- Three rows: every one except 00
- A sentence naming the inputs and the rule
Misconceptions to challenge
- A learner may believe: “OR gives 1 only in the two rows with one input 1.” Respond: Use the hint: is at least one input 1 in the row 11?
On the board or with the pen
- Ask one pupil to fill in the merit table on the shared screen with the pen while the class checks.
Checking understanding: The tables show at a glance who can apply each rule without the tester; the explanation shows whether they know why.
Depending on the answers
- If a pupil gets the 11 row wrong in the merit table: pair them with someone who got it right to explain the row aloud.
Stretch
- Write a truth table for a rule of your own with two inputs, and swap with a partner.
In the lesson window
- Think it through: Choose one row of the merit table and explain, in a sentence, why its output is what it is.
- Truth table task
- Truth table task
9. Show what you know Consolidate 5 min
On the lesson window now
Purpose: Explanation, application and an honest statement of what is still unclear, before the summary is shown.
Ask
- Explain AND and OR with your own example.
- What are you least sure about?
Responses to expect
- Own examples; the best name the row where only one input is 1
Checking understanding: Collect the “least sure” questions: they decide how the next lesson starts.
Depending on the answers
- If several pupils are unsure about OR including both: start the next lesson with a two-minute test of the 1, 1 row before NAND.
In the lesson window
- Think it through: Explain the difference between AND and OR to someone who missed this lesson, using an example of your own (not the door or the lights).
- Apply it: A school’s heating comes on when the building is in use and the temperature is below 18 °C. A pupil wants to model it with one gate. Which gate, and why?
- Think it through: Which part of today’s lesson are you least sure about? Write one question you would ask your teacher.
Lesson recap Closing
On the lesson window now
On screen: the lesson’s objectives again; Next adds the closing question, which asks the class to explain each one in their own words without looking back. It says nothing about what anyone has learnt: use the answers to decide what to revisit.
Points to listen for
- Inputs go in, the output is the decision; each is 1 or 0.
- AND: both inputs 1. OR: at least one input 1. NOT: turns its one input round.
- A truth table records every combination, in the order 00, 01, 10, 11.
- The number of inputs does not decide the gate; the rule does.
Consolidation
- Inputs go in, the output is the decision; each is 1 or 0.
- AND: both inputs 1. OR: at least one input 1. NOT: turns its one input round.
- A truth table records every combination, in the order 00, 01, 10, 11.
- The number of inputs does not decide the gate; the rule does.