Exclusive-OR Gate, OR gate in DLD Digital Logic Design

What is OR Gate?

The OR Gate performs a Boolean add function. OR Gate can have multiple inputs and a single output. OR gate is represented in the diagram below;

advantages of or logic gate
Figure: OR Logic Gate
Inputs Output
X Y Z
0 0 0
0 1 1
1 0 1
1 1 1

What is Exclusive-OR Gate?

XOR Gate performs a function that is equivalent to the combination of OR, AND and NOT gates.

XOR logic gate
Figure: Exclusive OR gate

            

Inputs Output
X Y Z
0 0 0
0 1 1
1 0 1
1 1 0