Skip to main content
EnglandElectronicsSyllabus dot point

What do the logic gates do, and how is each one described by a truth table?

Logic gates: AND, OR, NOT, NAND, NOR and XOR, their symbols and truth tables, and the digital high and low logic levels.

An Eduqas GCSE Electronics answer on logic gates: the AND, OR, NOT, NAND, NOR and XOR gates with their symbols and truth tables, the meaning of logic high and logic low, and how a truth table lists the output for every combination of inputs.

Generated by Claude Opus 4.813 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Examples in context
  4. Try this

What this dot point is asking

Eduqas wants you to know the logic gates (AND, OR, NOT, NAND, NOR, XOR), recognise their symbols, and write their truth tables. You also need to understand logic levels (a high voltage is logic 1, a low voltage is logic 0). Logic gates are the building blocks of every digital subsystem, and the truth table is how each one is defined and tested.

The answer

Logic levels

The AND, OR and NOT gates

The NAND, NOR and XOR gates

Truth tables

Examples in context

Logic gates are the physical building blocks of every digital part of the course. A security system might switch on a siren only when a door sensor and an armed switch are both active (an AND gate); a warning light might come on if either of two sensors trips (an OR gate). Combinational circuits such as adders and decoders are networks of these gates, and the same gates with feedback build the flip-flops and counters of the sequential module. Mastering the truth tables now makes Boolean algebra and circuit design straightforward.

Try this

Q1. State when a two-input AND gate outputs 1. [1 mark]

  • Cue. Only when both inputs are 1.

Q2. Give the output of a two-input XOR gate for inputs A,B=1,0A,B = 1,0. [1 mark]

  • Cue. 1 (the inputs differ).

Q3. How many rows does the truth table of a three-input gate have? [1 mark]

  • Cue. 23=82^3 = 8 rows.

Exam-style practice questions

Practice questions written in the style of WJEC Eduqas exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

Eduqas 20194 marksComplete the truth table for a two-input NAND gate, and state in words when its output is low.
Show worked answer →

Truth table (up to 3 marks): for inputs A,B=00,01,10,11A,B = 00, 01, 10, 11 the AND outputs are 0,0,0,10,0,0,1, so the NAND (the inverse of AND) outputs 1,1,1,01,1,1,0.

In words (1 mark): the NAND output is low only when both inputs are high; for every other combination the output is high.

Markers reward the four correct output values (1,1,1,01,1,1,0) and the statement that the output is low only when both inputs are 1.

Eduqas 20223 marksExplain the difference between an OR gate and an XOR gate, using their outputs for the input combination where both inputs are 1.
Show worked answer →

Difference (up to 2 marks): an OR gate outputs 1 when at least one input is 1 (including when both are 1); an XOR (exclusive-OR) gate outputs 1 only when the inputs are different, so it outputs 0 when they are the same.

Both inputs 1 (1 mark): for A=B=1A = B = 1, the OR output is 1 but the XOR output is 0.

Markers reward the at-least-one versus exclusive distinction and the correct outputs for A=B=1A = B = 1 (OR gives 1, XOR gives 0).

Related dot points

Sources & how we know this