Logic gate simulator

Place AND, OR, NOT, XOR, NAND and NOR gates on the canvas, drag from an output to an input to wire them, flip the inputs, and read the full truth table and Boolean expression the circuit produces.

A logic circuit is easier to understand when you can flip an input and watch the answer change. Build the circuit from the question, switch the inputs through every combination, and the truth table fills itself in.

Logic gate simulator

Build a circuit from gates, wire it up, and see the truth table fill in as you go. This tool needs JavaScript, so turn it on to use it. Everything you need to answer the exam question is explained in the text above.

Try these

  1. Build Q = A AND B, then change the AND to a NAND and watch every output flip
  2. Build Q = (A AND B) OR C using three inputs
  3. Build Q = NOT (A OR B) with an OR and a NOT, then check it matches a single NOR gate
  4. Build an XOR from AND, OR and NOT gates only, and prove the truth tables match
Prove it, do not assert it

An A star answer to "show that these two circuits are equivalent" is a full truth table for each, side by side, with a sentence saying the output columns are identical.