Given that in Boolean Algebra you can only have zero or one (this is not the same as binary where you can have any number, it's just expressed with less digits).
In Boolean, anything above zero is one and that's it. There isn't anything else.
So, applying the rules of basic arithmetic:
0 . 0 = 0 ( 0 times 0)
0 . 1 = 0
1 . 1 = 1
That's AND explained arithmetically.
0 + 0 = 0
0 + 1 = 1 (zero add one)
1 + 1 = 1 ( remember anything that's not zero is one)
That's OR explained arithmetically.
...
Is there anything like that for XOR?
1+1 does not equal 1, therefore it equals zero?
Kind of invalidates normal OR though.
In Boolean, anything above zero is one and that's it. There isn't anything else.
So, applying the rules of basic arithmetic:
0 . 0 = 0 ( 0 times 0)
0 . 1 = 0
1 . 1 = 1
That's AND explained arithmetically.
0 + 0 = 0
0 + 1 = 1 (zero add one)
1 + 1 = 1 ( remember anything that's not zero is one)
That's OR explained arithmetically.
...
Is there anything like that for XOR?
1+1 does not equal 1, therefore it equals zero?
Kind of invalidates normal OR though.
Statistics: Posted by morphy_richards — Thu Sep 12, 2024 3:24 pm — Replies 10 — Views 149