GCSE · Computer Science · AQA · Spec 8525
AND logic gate
One gate, two inputs, one rule — AND is the gatekeeper of Boolean logic.
What you need to know
- AND outputs 1 only when ALL inputs are 1 — any 0 input gives a 0 output.
- The truth table for a two-input AND gate has four rows (00, 01, 10, 11) with only the last row outputting 1.
- The Boolean expression for AND is written as A·B or A AND B.
- AND gates can have more than two inputs — ALL must be 1 for the output to be 1.
The big picture
The AND logic gate outputs TRUE (1) only when ALL of its inputs are TRUE (1). If any input is FALSE (0), the output is always FALSE (0). This mirrors everyday language: 'You can enter IF you have a ticket AND an ID.' AND gates are fundamental building blocks of digital circuits, used in everything from CPUs to security systems.
TONIGHT'S REVISION
AND Logic Gate
Output is 1 only when ALL inputs are 1 — the gatekeeper of Boolean logic.
Computer Science · Logic gates
Logic gates — build the truth table
Toggle inputs A and B — watch when the AND gate outputs 1 and compare with OR and XOR.
| A | B | AND out |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
Predict, then check
Read the inputs carefully before committing — AND is strict.
A two-input AND gate has A = 1 and B = 0. Before checking the truth table, what is the output?
How the AND gate processes its inputs
Follow one signal through — notice where a single 0 stops everything.
Cross-subject · Exam skill
Command Word Coach
AND logic gate — AQA exam language
01Definition
Fill in every missing cell of a truth table following the gate's rule exactly.
02Mark-band signal
A strong answer covers every input combination and gets every output cell correct.
03Sentence stems
- Complete the truth table for the AND gate below.
- Complete the truth table to show the output for each combination of inputs.
04Common mistake
Leaving a row out or repeating one — working in binary counting order (00, 01, 10, 11) helps you cover all four.
Key points
Worked example
Problem
A security system uses an AND gate. Input A = door sensor (1 = open), Input B = motion sensor (1 = motion detected). What is the output when the door is closed (A=0) and motion is detected (B=1)?
Memory hook
Think of AND as a bouncer with TWO rules — you need BOTH to get in. No ticket? Out. No ID? Out. Both? Welcome.
★ Exam tip
When you complete a truth table for an AND gate, working through the input combinations systematically (00, 01, 10, 11) helps make sure you do not miss a row. Remember that only 1 AND 1 gives an output of 1.
⚠ Watch out
Confusing AND with OR — AND needs ALL inputs to be 1; OR only needs ONE input to be 1.
Check yourself
Without looking — what is the only input combination for a two-input AND gate that gives an output of 1?
Flashcards
(22)What does an AND gate output when both inputs are 1?
What does an AND gate output when one input is 0 and one is 1?
What does an AND gate output when both inputs are 0?
How many rows are in the truth table for a two-input AND gate?
Write the Boolean expression for an AND gate with inputs A and B.
Which row in the AND truth table gives an output of 1?
What is the shape of the AND gate symbol?
How does AND differ from OR?
What is the output of the AND gate when A=1 and B=0?
What is the output of the AND gate when A=1 and B=1?
Give a real-world analogy for an AND gate.
Can an AND gate have more than two inputs?
What is the output of a three-input AND gate when inputs are 1, 1, 0?
In Boolean algebra, what symbol represents AND?
How many outputs of 1 appear in the full two-input AND truth table?
Write the full truth table for a two-input AND gate.
What does HIGH and LOW mean in logic gate contexts?
A three-input AND gate has inputs A=1, B=1, C=1. What is the output?
Why is the AND gate useful in CPU instruction decoding?
What is the output of NOT(A AND B) when A=1 and B=1?
Which gate has exactly ONE output of 1 in its two-input truth table?
State the AND gate rule in one sentence.
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learn AND logic gate properly — interactive practice, marked questions and flashcards.
Start this lesson freeMore AQA GCSE Computer Science topics
How this lesson was checked. This AQA GCSE Computer Science (specification 8525)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 3 August 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.