IGDTUW 2026 — Computer PYQ
IGDTUW | Computer | 2026What is the result of the XOR (Exclusive OR) operation on 1 and 1?
Choose the correct answer:
- A.
1
- B.
0
(Correct Answer) - C.
2
- D.
Undefined
0
Explanation
The correct option is (b) 0.
Detailed Solution & Explanation
The XOR (Exclusive OR) gate is a digital logic gate that implements an exclusive disjunction. The fundamental rule for an XOR operation is that it outputs a 1 (HIGH) if and only if the inputs are different. If the inputs are the same, the output is 0 (LOW).
Boolean Expression:
For two inputs A and B, the output Y of an XOR gate is represented mathematically as:
Y=A⊕B=ABˉ+AˉB
Truth Table of an XOR Gate:
The truth table clearly defines all possible input-output conditions for a 2-input XOR operation:
Input A | Input B | Output Y=A⊕B |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
Calculation for the Given Question:
Substituting A=1 and B=1 into the algebraic expression:
Y=1⊕1
Y=(1⋅1ˉ)+(1ˉ⋅1)
Y=(1⋅0)+(0⋅1)
Y=0+0=0
Since both inputs are identical (1 and 1), the XOR logic rules specify that they cancel each other out, resulting in an output of 0.
