A1.2.4

Construct and analyse truth tables (Exclude K-Map)

A truth table shows every possible input combination and the corresponding output. Uses: describe behavior of a logic gate analyse a logic circuit compare…

2 min read409 words
  • A truth table shows every possible input combination and the corresponding output.
  • Uses:
    • describe behavior of a logic gate
    • analyse a logic circuit
    • compare logical expressions
    • verify whether two circuits are equivalent
  • For n inputs → 2^n rows.

Standard truth tables

NOT gate

ANOT A
01
10

AND gate

ABA AND B
000
010
100
111

OR gate

ABA OR B
000
011
101
111

XOR gate

ABA XOR B
000
011
101
110

NAND gate

ABA NAND B
001
011
101
110

NOR gate

ABA NOR B
001
010
100
110

How to construct a truth table

  1. List all input variables.
  2. Write every possible input combination in binary order.
  3. Evaluate the expression step by step.
  4. Fill in the final output column.

Worked example

ABCA AND BNOT CQ
000011
001000
010011
011000
100011
101000
110111
111101

How to analyse a truth table

  • Look for when the output is 1.
  • Identify which input combinations trigger the output.
  • Match the pattern to a known gate or logic expression.

Example patterns:

  • output 1 only when both inputs are 1AND
  • output 1 when inputs are different → XOR
  • output always opposite of one input → NOT

Logic gate precedence

When no brackets are given, evaluate in this order:

  1. NOT
  2. AND
  3. OR
  • XOR usually treated at the same level as OR unless brackets specify otherwise.
  • Brackets always override the default precedence.

Diagrams of the boolean operators

AND, OR, and NOT gate symbols with their functions and truth tables. NAND, NOR, XOR, and XNOR gate symbols with their functions and truth tables.

Start typing to search all published objectives.