how does a nor gate work code example Example: nor gate NOR gate or a "not or gate" A B Output 0 0 = 1 1 0 = 0 0 1 = 0 1 1 = 0