Logic Gates

Boolean logic · IGCSE Computer Science

Six gates, one idea: on or off.

Every logic gate takes binary inputs and produces a binary output. Flip the switches below and watch the signal travel through each gate — then test yourself in the practice section.

Try a gate

Choose a gate, toggle its inputs, and watch the output and truth table respond live.

Gate reference

The six standard gates, their symbols, and both ways of writing them: logic notation and Boolean algebra.

Practice

You're given a gate and its input values. Work out the output before you click.

— 0 / 0 correct

Exam-style questions

Ten questions in the style of Cambridge IGCSE Computer Science (0478). Work each one out on paper, then reveal the answer to check.