image description 

Six drawings with the caption "Trick or Treat", illustrating the logical and/or/xor operators.
All drawings are of the same two overlapping circles, with various regions colored in orange and two eyes and a mouth like a pumpkin.


complete image description 

"Trick OR Treat": both discs and the intersection are colored.
"Trick AND Treat": only the intersection.
"Trick XOR Treat": both discs but not the intersection.
"Trick NOR Treat": everything but the two discs.
"Trick NAND Treat": everything but the intersection.
"Trick XNOR Treat": everything but the two discs that aren't intersecting.

Sign in to participate in the conversation – a Fediverse instance for & by the Chaos community