logic gates

this is an 'nand' gate, meaning not and. therefore it does the opposite of what an and gate would do

this gate returns false if both inputs(a and b) are true, then returns false for any other combination

in this interactive demonstration the start button pauses and unpauses the animation and by clicking
a and you can change them between true and false

the red circle represents false and the green line represents true

below is a nor gate, just like with and this does the opposite of an or gate

it only returns true if both values (d and e) are false