I have constructed dangerous thinking machine components in my no-chamber
Across the river from the main city you will find a scaffold in the ground near a stonecutter. If you go down it, you'll find my no-chamber for experimentations--- it's completely invisible to and devoid of influences from the outside world.
I've successfully constructed prototype logic gates--- an and gate and a not gate, and I probably shouldn't have to test an or gate. If I have enough time, I might even construct a half adder somewhere.
A is on while B is off
A is off while B is on
A is on while B is on
An x-or gate will only turn on when:
A is on while B is off
A is off while B is on
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)
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.