Logic Gate Simulator

Classroom worksheet · Interactive simulation: https://lkforge.com/tools/physics/logic-gate-simulator/
Download PDFEditable Word (.docx)Open the simulation
Name:   Date:

Learning objectives

Variables to change

Procedure

  1. Select each gate and toggle its inputs through all combinations.
  2. Record the output for every input combination (its truth table).
  3. Wire two gates together and predict, then check, the output.

Observations

Fill in a truth table for each gate you test.

Questions

  1. When is an AND gate’s output 1?
  2. When is an OR gate’s output 1?
  3. What does a NOT gate do?
  4. How does XOR differ from OR?
  5. Why are NAND and NOR called universal gates?

Answer key (instructors)

Logic gates output a 1 or 0 from their inputs by fixed rules: AND needs all inputs true, OR any, NOT inverts, XOR needs them different. Their truth tables fully define them, and NAND or NOR alone can build any digital circuit.