Logic Gate Simulation with iCircuit

Trace the input signals A and B to each of the 5 logic gates in this simulation. Can you determine the output rule for each gate based on its input signals?  Do you see where each gate gets its name based on the rule? 

Legend – Trace Description

Yellow – Input A – Voltage A, 5V = Logic 1, 0V = Logic 0, at a rate of 1 Hz.

Green – Input A – Voltage B, 5V = Logic 1, 0V = Logic 0, at a rate of 1/2 Hz.

Blue – AND Gate Output, C = AB

Red  – NAND Gate Output, C = !(AB)

Purple – OR Gate Output, C = A+B

Green – NOR Gate Output, C = !(A+B)

Blue – XOR Gate Output, C = !AB + A!B