Class 12 > Unit # 23: Digital Electronics > XOR & XNOR Gate


Exclusive Logic Gates: XOR and XNOR Gates - Talha's Physics Academy

Talha's Physics Academy

Exclusive Logic Gates: XOR and XNOR Gates

Video Lecture: XOR and XNOR Gates

Watch the complete video lecture explaining the definitions, boolean expressions, and truth tables of XOR and XNOR gates:

6. XOR Gate (Exclusive-OR Gate)

“The logic gate which produces a high output only when high inputs are in odd number is known as Exclusive OR Gate (XOR Gate).”

Boolean Expressions

  • Two Inputs: $X = A \oplus B = \bar{A}B + A\bar{B}$
  • Three Inputs: $X = A \oplus B \oplus C$
  • Four Inputs: $X = A \oplus B \oplus C \oplus D$
Fig: Logic symbols for XOR gates.

Truth Tables

i) Two Inputs

InputOutput
ABX
000
011
101
110

ii) Three Inputs

InputOutput
ABCX
0000
0011
0101
0110
1001
1010
1100
1111

iii) Four Inputs

InputOutput
ABCDX
00000
00011
00101
00110
01001
01010
01100
01111
10001
10010
10100
10111
11000
11011
11101
11110

7. XNOR Gate (Exclusive-NOR Gate)

“The logic gate which produces a high output only when high inputs are in even number is known as Exclusive NOR Gate (XNOR Gate).”

Boolean Expressions

  • Two Inputs: $X = \overline{A \oplus B} = AB + \bar{A}\bar{B}$
  • Three Inputs: $X = \overline{A \oplus B \oplus C}$
  • Four Inputs: $X = \overline{A \oplus B \oplus C \oplus D}$
Fig: Logic symbols for XNOR gates.

Truth Tables

i) Two Inputs

InputOutput
ABX
001
010
100
111

ii) Three Inputs

InputOutput
ABCX
0001
0010
0100
0111
1000
1011
1101
1110

iii) Four Inputs

InputOutput
ABCDX
00001
00010
00100
00111
01000
01011
01101
01110
10000
10011
10101
10110
11001
11010
11100
11111

© 2026 Talha's Physics Academy. All rights reserved.

No comments:

Post a Comment