Nand vs. Xor

Nand vs. Xor — Is There a Difference?
ADVERTISEMENT

Difference Between Nand and Xor

Nandnoun

A logical operator that consists of a logical AND followed by a logical NOT and returns a false value only if both operands are true.

Xornoun

A logical operator that returns a true value if one, but not both, of its operands is true. Also called exclusive OR.

Xornoun

The logic function exclusive OR (as opposed to inclusive OR), whose output is true only when exactly one of its inputs is true.

Xorconjunction

(rare) or (but not both)

ADVERTISEMENT