GATE / CS ARCHIVE

GATE CSE 2014 SET 3 / QUESTION 55

GATE CSE 2014 Set 3 Q55

Digital Logic · Boolean Algebra & Logic Gates · Full GATE CSE 2014 Set 3 paper

GATE 2014 Set 3, Q55 2 marks · MCQ
Report issue

Boolean Algebra & Logic Gates

Question 55, GATE 2014: With ⊕ denoting XOR, simplify F(P,Q)=((1⊕P)⊕(P⊕Q))⊕((P⊕Q)⊕(Q⊕0)). A P+Q; B complement of (P+Q); C P⊕Q; D complement of (P⊕Q). Here + is Boolean OR.
Tap to enlarge
Your answer
Answer & solution

Official answer: D

Step 1: XOR is associative and commutative, so flatten the expression into 1⊕P⊕P⊕Q⊕P⊕Q⊕Q⊕0. Step 2: Repeated equal pairs cancel because x⊕x=0; three P terms leave one P and three Q terms leave one Q. Zero is neutral, so F=1⊕P⊕Q. Step 3: XOR with 1 complements its operand: F=¬(P⊕Q), the XNOR function, D. Its output is 1 when P and Q agree, distinguishing it from OR and NOR.

Original paper, page 66 · Answer key