The function of the six logic gates

15 min · 3 IGCSE exam questions

Syllabus: Cambridge IGCSE Computer Science 0478 (2026–2028), topic 10.2 Define and understand the functions of logic gates.

Learning objectives. By the end of this lesson you should be able to define the function of the NOT, AND, OR, NAND, NOR and XOR gates, give the binary output of each gate for every possible combination of inputs, and write each gate as a logic expression (with the Boolean algebra version as an optional extra).

In this lesson

  • Reading a gate’s function
  • NOT gate
  • AND gate
  • OR gate
  • NAND gate (NOT AND)
  • NOR gate (NOT OR)
  • XOR gate (exclusive OR)
  • All the gates together
  • Logic notation and Boolean algebra
  • Practice
  • Revision checklist