What a logic gate is
An electronic component that takes one or two binary inputs (0 or 1) and gives one binary output (0 or 1) by a fixed rule. Processors are built from many gates.
Understanding What a logic gate is in IGCSE Computer Science Paper 2
What it does: Every input (A, B) and the output (X) hold only the binary values 0 or 1, never any other number. An OR gate's rule never changes: with inputs 1 and 0 it always outputs 1, every time. A logic gate always gives a single output, which is either 0 or 1. The NOT gate has one input. AND, OR, NAND, NOR and XOR have two inputs. A processor is built from many logic gates. Other chips use them as well. A gate processes its inputs into one output. It does not store data.
Common mistakes: A logic gate's output can only be binary, 0 or 1. The value 2 is not allowed, so the line should be OUTPUT X = 0. Gate inputs are binary, so they can only be 0 or 1. The line should be INPUT A = 1.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 539–551) and word search (Modules 539–580).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
logic gateFill in the Blanks
Spot the Error
Student with a class code? Join your class →