this post was submitted on 03 Jul 2023
9 points (100.0% liked)
minecraft
404 readers
1 users here now
Lemmycraft is down
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I have no idea what those are lmao, all I know about computers I got off a 1980s children's book about machines.
A regular “or” gate will turn on when:
An x-or gate will only turn on when:
It will not turn on if both A and B are on. This differs from the “and” gate because an “and” gate activate while A and B are the same state (both either on or off)
I hope I explained this sufficiently!
For a real-life example of an x-or gate, think of a long hallway with a light switch on either end.
If both are on, the light is off. If both are off, the light is off. However if they are different, one on and one off, the light will be on in the hallway
It really depends. I've seen hallways with OR logic for the switches. But I feel like that was not on purpose, because I really can't think of a proper use case for that.