Math with Bad DrawingsCartoon Archive

Fries XOR a Salad

2022

A programmer answers 'yes, both' to 'fries or salad?' (inclusive or) until the server rephrases it as XOR.

Use this cartoon

Free for classrooms, worksheets, slides and other non-commercial use under CC BY-NC 4.0, with credit to Ben Orlin.

Cartoon by Ben Orlin, Math with Bad Drawings. https://cartoons.mathwithbaddrawings.com/2022-01-01-fries-xor-a-salad/ (CC BY-NC 4.0)
Transcript

Server: "Would you like fries or a salad?" Customer: "Yes, both." Server: "Sorry, fries XOR a salad?" Customer: "Oh. Fries."

[Caption] "It turns out the only person who can effectively wait on a computer programmer is another computer programmer."

Topics
Logic & Proof › Logical Connectives › Exclusive OrLogic & Proof › Logical Connectives › OrComputer Science › Programming
Level
Middle SchoolHigh SchoolCollege
Themes
FoodLanguage & WordplayWork & Jobs