WeLearn

Grade 12 Physics · Lesson 5.6

Logic Gates and Logic Circuits

Unit 5: Basics of Electronics

Digital electronics uses only two voltage levels, written as 1 (high, true) and 0 (low, false). A logic gate is a circuit, made of transistors, that takes one or more binary inputs and gives a single binary output according to a fixed rule. The behaviour of a gate is shown by a truth table listing the output for every combination of inputs, and by a Boolean expression.

Key terms

Binary
number system using only 0 and 1
Logic gate
circuit giving a binary output from binary inputs
Truth table
table of outputs for all input combinations
AND, OR, NOT
basic gates
NAND, NOR
universal gates
XOR
output 1 when inputs differ
Half-adder
circuit adding two bits (XOR sum, AND carry)
All Grade 12 Physics key terms →

Key formulas

AND.
OR.
NOT.
De Morgan's law.

Summary

  • Logic gates process binary 0/1 signals.
  • AND, OR, NOT are basic; NAND and NOR are universal.
  • Truth tables have 2ⁿ rows for n inputs.
  • Gates combine into decision circuits and adders.

In everyday life: Ethiopian Airlines' aircraft systems and the ticket machines of the Addis Ababa light rail rely on millions of logic gates making yes/no decisions every second.

Check yourself

  • Write the truth table of a 2-input NOR gate.
  • Why are NAND gates called universal?
  • Find Y = A·B̄ + Ā·B for A = 1, B = 1.
  • Which gates make a half-adder?

Practice questions

  1. 1. What is the output of an AND gate with inputs 1 and 0?

    • A. 1
    • B. 0
    • C. Undefined
    • D. 2
    Show answer

    Answer: 0

    AND gives 1 only if all inputs are 1.

On WeLearn

The full lesson: reading notes, worked examples, class activities and the Unit 5 quiz

Study Logic Gates and Logic Circuits on WeLearn

Teach Logic Gates and Logic Circuits with WeLearn

We will bring a demo to your school: a lesson on your interactive TV, a virtual lab and a classroom game, with your own teachers.