Logic Gate Chain

TRUE or FALSE — that's all a computer thinks about


Year 8 Computer Science — Boolean Logic

Stand up if...

Stand up if you are a student AND you have a bag with you.


Now stand up if you are taller than 160cm OR you are wearing something blue.


Why did more people stand for the OR rule?

AND, OR, NOT

AND
T+TT
T+FF
F+TF
F+FF
OR
T+TT
T+FT
F+TT
F+FF
NOT
TF
FT

Flips the value

Build the Chain!

5 volunteers. Each person has a role:

[Input A] → [NOT] → [AND with Input B] → [Output]

Run 4 different input combinations!

At Your Desks

Draw this gate chain and complete the full truth table:

A → [NOT] → [AND with B] → [OR with C] → Output

Complete all 8 rows (A,B,C can each be T or F).


Challenge: which input combinations give Output = TRUE?

Reverse Challenge

Given: the output must be TRUE.

Work BACKWARDS through the chain.

Find ALL valid input combinations that produce TRUE.


How many are there? Check your truth table.

Real World

Logic gates are used in:


A modern CPU has billions of gates, switching billions of times per second.

Key Takeaway

Every decision a computer makes is built from AND, OR, and NOT gates.

Billions of them. Nanosecond speed.

Every IF statement you write compiles down to gate logic.

Discussion

1 / 9