Learning Rooms/△ Level 2 · Builder/Computing and algorithms
Boolean Logic & Logic Gates: Crash Course Computer Science #3
CrashCourse · 10 min 7 s · captions on YouTube · nothing loads until you press play
By the end you can…
- Write the truth tables of NOT, AND, OR, NAND, NOR and XOR.
- Explain that a truth table with n inputs has 2ⁿ rows and describes a gate completely.
- Connect a logic level to a voltage and a gate to transistors made of doped silicon.
Watch it all: no segment has been checked by hand for this video yet.
1.Predict before you press play
A truth table lists the output for every possible combination of inputs. How many rows does a gate with three inputs need?
Pick one before you press play. A wrong guess is fine: it is what makes the video stick.
2.See the idea first
Play with this diagram for a minute. It gives you something to hang the video on.
Loading the interactive…
Can't use the diagram? Read a description instead
The logic gate diagram lets you choose AND, OR, NOT, NAND, NOR or XOR, flip inputs A and B between 0 and 1, and see the output lamp. A truth table lists every input combination with its output and highlights the current row. AND gives 1 only for 1,1; OR gives 0 only for 0,0; NOT flips its one input.
3.Watch, actively
Introduces AND, OR, NOT and XOR, the building blocks behind every digital decision a computer makes.
10 min 7 s · captions on YouTube · source
Nothing loads from YouTube until you press play.
Watch for…
- → Watch for the truth tables of AND, OR and NOT, then pause before each one and predict it.
- → Watch for the truth tables for AND and OR, and how NOT flips a value.
- → Notice how each gate is first built from transistors acting as switches, before it becomes a symbol.
Pause whenever you like. Rewatching a hard minute is a good habit, not a failure.
Can't stream it? Read the idea instead
Logic gates combine true/false values. AND is true only when both inputs are true, OR when at least one is, and NOT flips its input. A truth table lists every input combination, and every digital decision a computer makes is built from gates like these.
What the video covers (our own note, written when we verified it): Introduces AND, OR, NOT and XOR, the building blocks behind every digital decision a computer makes.
Written by Tactiverge in our own words, not a transcript. The full lessons below explain the idea without the video.
Jot down one thing that surprised you and one question you still have.
4.Practise what you just saw
These come from the lessons that use this video and are checked on the server. Wrong answers get a hint and another try.
Practice 1 · a fresh version every time
A NAND gate gets A = 0 and B = 1. What is its output (0 or 1)?
Practice 2
A burglar alarm should sound if the door opens or a window breaks. Which word joins the two conditions?
Practice 3
How many rows does the truth table of a 4-input gate have?
Practice 4
A microwave heats only if the door is shut and you pressed start. Which gate?
6.Build something with it
Follow-up project
Choose a machine at home or school (a microwave, a lift, a printer). Write three of its rules as gates, for example 'heat only if door closed AND timer running'. For one rule, write the full truth table and test it in the logic lab.
Where this video lives
- AND, OR, NOT: the three little deciders · Level 1, week 16
- AND, OR, NOT: combining conditions · Level 1, week 22
- Logic gates and truth tables · Level 2, week 15
In the course catalogue: CSE-101 Algorithms without code · ARCH-101 Bits and logic · ARCH-220 Digital logic and binary arithmetic
The video is by CrashCourse, embedded from YouTube with privacy-enhanced mode and never autoplayed. The room around it (prompts, notes, practice, projects) is Tactiverge's, written with AI assistance and checked by automated tests only.