MEPLAT.

Boolean Circuit evaluation

Rules

A gate expression and a value for each input. Work out the output.

Press 1 for output 1 and 2 for output 0, or click. A wrong pick shows the working and moves on.

Brackets show every nesting, so there is no precedence to remember. NAND, NOR and XNOR are AND, OR and XOR inverted.

Difficulty grows from two inputs with AND, OR and NOT to five inputs, all six gates and three levels of nesting.

Examples

1. A = 1, B = 0: A AND (NOT B)
1

2. A = 1, B = 1, C = 0: (A XOR B) OR C
0

3. A = 0, B = 1, C = 1, D = 0: (A NOR D) XNOR (B NAND C)
0

Time (min/sec):