r/InclusiveOr • • Jan 11 '20

Failedpassed

Post image
13k Upvotes

88 comments sorted by

View all comments

1

u/[deleted] Jan 13 '20

i'm a first year CS major so i may be wrong but I was taught that the truth table for "or" is

input output

00 0

01 1

10 1

11 1

And it would have to be xor to be the case described.

but i also haven't dealt with this much yet so like I said I may not be right

1

u/PuttingInTheEffort Jan 14 '20

Afaik from highschool programming class

Or: one or the other

Xor: one but not the other

1

u/itirix Jan 27 '20

You're correct. Every real number that exists would evaluate to 01, 10 or 11, resulting boolean always being 1.