7 - Logic Gates - 2025 - New

Guess the topic?
1 / 42
next
Slide 1: Slide
ComputingUpper Secondary (Key Stage 4)GCSE

This lesson contains 42 slides, with interactive quizzes and text slides.

Items in this lesson

Guess the topic?

Slide 1 - Slide

LEARNING LOGIC GATES
What are they 
Why we need them
and how they work

Slide 2 - Slide

Name any electronic device you know

Slide 3 - Mind map

All electronics need logic gates to function

Slide 4 - Slide

Logic Gate
  • Are building blocks in a circuit
  •  Make decisions 
  • Based upon inputs
  • Give an output of either ON or OFF

There are three you need to know well.
AND, OR and NOT gates .

Slide 5 - Slide

AND, OR and NOT gates
Build three simple circuits for each main  AND, OR and NOT gates. Use toggles and lamps for input and outputs
  1. How does the AND gate turn the light on?
  2. How does the OR gate turn the light on?
  3. How does the NOT gate turn the light on?

Slide 6 - Slide

AND
Output is only ON when all inputs are ON

Slide 7 - Slide

Can you think of any device/system that needed you to press two buttons at once to make something happen?

Slide 8 - Open question

Everyday Examples:
Microwave Oven
The microwave starts only if the door is closed AND the start button is pressed.

Lift Safety System
The lift moves only if doors are shut AND floor button is pressed.

Car Starter System
The engine starts only if brake pedal is pressed AND key is turned (or start button is pressed).

Computer Keyboard (Key Combination)
A shortcut like Ctrl + Alt + Delete sends a signal only if all keys are pressed together.
Technical / Digital Examples:
Digital Locks
Opens only if correct code entered AND confirm button pressed.

Alarm Systems
Alarm activates only if motion detected AND system armed.

CPU Control Logic
A processor performs certain operations only when multiple internal control signals are all true.

Traffic Light Controller
Changes state only if timer reached AND no pedestrian button active.

Logic Circuits in Robotics
Robot moves forward only if path is clear AND start signal received.

Slide 9 - Slide

OR
Output is ON if ANY input is ON (including multiples)

Slide 10 - Slide

Can you think or any system where if one of the sensors was triggered, you would want the system do something about it?

Slide 11 - Open question

Everyday Examples:
Room Lighting with Two Switches
The light turns on if switch A OR switch B is on (common in staircases or hallways).

Car Door Alarm System
The alarm sounds if driver’s door OR passenger’s door OR boot is open.

Smoke and Heat Alarms (Combined System)
Alarm triggers if smoke is detected OR heat exceeds threshold.

TV Remote Control
The TV responds if you press the power button on the remote OR on the TV itself.
Technical / Digital Examples:
Security System Alerts
Sends alert if motion sensor triggers OR window sensor triggers.

Computer Interrupts
CPU responds if keyboard input OR mouse click OR hardware request is received.

Robotics Sensors
A robot stops if obstacle detected on left OR right sensor.

Voting Systems in Digital Circuits
A result is considered positive if any one of the inputs signals a "yes".

Heating Systems
Turns on the heater if room temp is too low OR outdoor temp is below freezing.

Slide 12 - Slide

NOT
Output will be the opposite to the input (inverts)

Slide 13 - Slide

Quick Recall - write down the three gates you just learnt

Slide 14 - Open question

Everyday Examples:
Automatic Night Light
The light turns on when it’s dark (i.e., when the light sensor detects no light).
The NOT gate inverts the sensor signal:
Light detected = OFF, so NOT(light) = ON → light turns on in the dark.

Refrigerator Door Alarm
Alarm sounds when door is NOT closed.
A NOT gate inverts the signal from the door switch.

Toilet Cistern Warning Light
Light comes on if the water level is not full (i.e., NOT full = light on).
Technical / Digital Examples:
Digital Logic Control
Used to invert signals in CPUs, microcontrollers, and logic circuits.

Logic Locking
Access granted only if a condition is NOT true (e.g., NOT wrong password).

Robotics – Avoidance Logic
Robot moves forward if an obstacle is NOT detected.

Fan Control Systems
Fan stays on if temperature is NOT cool enough (temp low = 0 → NOT(0) = 1 → fan on).

Computer Memory Control (Inverted Enable)
Memory chips often use NOT gates to respond only when the chip enable signal is low (active-low logic).

Slide 15 - Slide

AND gate with two inputs.
Input A = 1, Input B = 0
What is the output?
A
1
B
0

Slide 16 - Quiz

AND gate with 3 inputs.
Input A = 1, Input B = 1, Input C = 0
What is the output?
A
1
B
0

Slide 17 - Quiz

OR gate with 2 inputs.
Input A = 0, Input B = 0
What is the output?
A
1
B
0

Slide 18 - Quiz

OR gate with 3 inputs.
Input A = 0, Input B = 0, Input C = 1
What is the output?
A
1
B
0

Slide 19 - Quiz

OR gate with 2 inputs.
Input A = 1, Input B = 1
What is the output?
A
1
B
0

Slide 20 - Quiz

Logic Gate Expressions
Output = a AND NOT b
a
b
Output
0
0
1
0
0
1
1
1
Lets complete a truth table.

Slide 21 - Slide

What would the output be in the red highlighted line?
A
0
B
1

Slide 22 - Quiz

What would the output be in the red highlighted line?
A
0
B
1

Slide 23 - Quiz

What would the output be in the red highlighted line?
A
0
B
1

Slide 24 - Quiz

What would the output be in the red highlighted line?
A
0
B
1

Slide 25 - Quiz

Logic Gate Expressions
Output = a AND NOT b
a
b
Output
0
0
0
1
0
1
0
1
0
1
1
0

Slide 26 - Slide

Lets try a harder one :)

Slide 27 - Slide

(a OR b) AND NOT c
A
B
C
Output
0
0
0
0
0
1
0
1
0
1
0
0
0
1
1
1
0
1
1
1
0
1
1
1

Slide 28 - Slide

What would the output be in the yellow highlighted line?
A
0
B
1

Slide 29 - Quiz

What would the output be in the yellow highlighted line?
A
0
B
1

Slide 30 - Quiz

What would the output be in the yellow highlighted line?
A
0
B
1

Slide 31 - Quiz

What would the output be in the yellow highlighted line?
A
0
B
1

Slide 32 - Quiz

What would the output be in the yellow highlighted line?
A
0
B
1

Slide 33 - Quiz

What would the output be in the yellow highlighted line?
A
0
B
1

Slide 34 - Quiz

What would the output be in the yellow highlighted line?
A
0
B
1

Slide 35 - Quiz

What would the output be in the yellow highlighted line?
A
0
B
1

Slide 36 - Quiz

(a OR b) AND NOT c
A
B
C
Output
0
0
0
0
0
0
1
0
0
1
0
1
1
0
0
1
0
1
1
0
1
0
1
0
1
1
0
1
1
1
1
0

Slide 37 - Slide

Which Logic gate is this?
A
AND
B
OR
C
NOT

Slide 38 - Quiz

Which Logic gate is this?
A
AND
B
OR
C
NOT

Slide 39 - Quiz

Which Logic gate is this?
A
AND
B
OR
C
NOT

Slide 40 - Quiz


A
1
B
0

Slide 41 - Quiz

Research task
Research with google:
NAND gates
NOR gates
XOR gates

Create with logic.ly a drawing using all three of these, and write the truth table for it.



Slide 42 - Slide