68 68 votes Let $\oplus$ denote the exclusive OR (XOR) operation. Let '$1$' and '$0$' denote the binary constants. Consider the following Boolean expression for $F$ over two variables $P$ and $Q$: $$F(P,Q)=\left( \left(1 \oplus P \right) \oplus \left( P \oplus Q \right )\right ) \oplus \left(\left(P \oplus Q\right) \oplus \left(Q \oplus 0\right)\right)$$ The equivalent expression for $F$ is $P+Q$ $\overline{P+Q}$ $P \oplus Q$ $\overline {P \oplus Q}$ Digital Logic gatecse-2014-set3 digital-logic normal boolean-algebra + – go_editor 20.5k views answer comment Share Follow Print See all 7 Comments 7 7 Comments reply Show 4 previous comments Deepak Poonia commented Jul 14, 2025 i edited by Deepak Poonia Aug 6, 2025 reply Follow flag Detailed Video Solution: https://youtu.be/NF6DK5sS3S0?t=1616 1 1 replyShare Raj_Dev_Verma commented Jul 5 reply Follow flag Option D 0 0 replyShare nobodysomebody commented Aug 7 reply Follow flag Instead of solving and proving LHS = RHS we should try solving it by using values: first try P=0 and Q=0 u will be left with option B and D then try P=1 and Q = 1 there will be only D option left 1 1 replyShare Please log in or register to add a comment.
Best answer 83 83 votes XOR is associative and commutative. Also, $A \oplus A = 0$ and $A \oplus 1 = \overline{ A}$ and $A \oplus 0 = A$. So $\left( \left(1 \oplus P \right) \oplus \left( P \oplus Q \right )\right ) \oplus \left(\left(P \oplus Q\right) \oplus \left(Q \oplus 0\right)\right)$ $\implies \left(1 \oplus P \right) \oplus \left( \left( P \oplus Q \right ) \oplus \left(P \oplus Q \right) \right) \oplus \left(Q \oplus 0\right)$ $\implies \left(1 \oplus 0 \right) \oplus \left( P \oplus Q \right) $ $\implies 1 \oplus \left( P\oplus Q \right)$ $\implies \overline {\left( P \oplus Q\right)}$ Correct Answer: $D$ Arjun answered Oct 14, 2014 • edited May 20, 2019 by Naveen Kumar 3 Arjun comment Share Follow See all 7 Comments 7 7 Comments reply Show 4 previous comments ShamikBanerjee commented Mar 1, 2019 reply Follow flag It is such a relief to not have to expand the options. -_- 1 1 replyShare Arnav Singh_01 commented Dec 16, 2023 reply Follow flag Sir but A (EXOR) 1 = A’ or A only ? 0 0 replyShare halfcodeblood commented Apr 8, 2025 reply Follow flag @Arnav Singh_01 A' 0 0 replyShare Please log in or register to add a comment.
18 18 votes D) Since there are only 2 variables putting in pair of values of P and Q in F and checking with the options is a time saving method. But Lets solve it. Srinath Jayachandran answered Oct 13, 2014 Srinath Jayachandran comment Share Follow See 1 comment 1 1 comment reply Deepak Poonia commented Jul 14, 2025 i edited by Deepak Poonia Jun 24 reply Follow flag Painful to see.Efficient Approach: https://youtu.be/NF6DK5sS3S0?t=1616 17 17 replyShare Please log in or register to add a comment.
15 15 votes Using the properties of associativity and commutativity, and the below mentioned properties we can find the correct answer: 1. $X⊕X = 0$ 2. $X⊕1=X'$ 3. $X⊕0=X$ $F(P,Q)=((1⊕P)⊕(P⊕Q))⊕((P⊕Q)⊕(Q⊕0))$ $=(P'⊕(P⊕Q))⊕((P⊕Q)⊕(Q⊕0))$ $=((P'⊕P)⊕Q))⊕((P⊕Q)⊕(Q⊕0))$ $=((1⊕Q)⊕((P⊕Q)⊕(Q⊕0))$ $=(Q'⊕((P⊕Q)⊕(Q⊕0))) $ $=(Q'⊕((P⊕Q)⊕Q)) $ $=(Q'⊕(P⊕(Q⊕Q))) $ $=(Q'⊕(P⊕0)) $ $=(Q'⊕P) $ $=(Q⊕P)'$ So, the correct option is, option no. D. HeartBleed answered Sep 23, 2019 • edited Sep 24, 2019 by HeartBleed HeartBleed comment Share Follow 0 reply Please log in or register to add a comment.
7 7 votes Alternatively, You can follow this approach too: bruce-bayne answered Jan 3, 2019 bruce-bayne comment Share Follow See 1 comment 1 1 comment reply Abhineet Singh commented Nov 10, 2020 reply Follow flag exactly the way I did... 0 0 replyShare Please log in or register to add a comment.
4 4 votes We need to simplify the above expression. As the given operation is XOR, we shall see property of XOR. Let A and B be boolean variable. In A XOR B, the result is 1 if both the bits/inputs are different, else 0. Now, ( ( 1 X P) X (P X Q) ) X ( (P X Q) X (Q X 0) ) ( P' X P X Q ) X ( P X Q X Q ) ( as 1 X P = P' and Q X 0 = Q ) (1 X Q) X ( P X 0) ( as P' X P = 1 , and Q X Q = 0 ) Q' X P ( as 1 X Q = Q' and P X 0 = P ) PQ + P'Q' ( XOR Expansion, A X B = AB' + A'B ) This is the final simplified expression. Now we need to check for the options. If we simplify option D expression. ( P X Q )' = ( PQ' + P'Q )' ( XOR Expansion, A X B = AB' + A'B ) ((PQ')'.(P'Q)') ( De Morgan's law ) ( P'+ Q).(P + Q') ( De Morgan's law ) P'P + PQ + P'Q' + QQ' PQ + P'Q' ( as PP' = 0 and QQ' = 0 ) Hence both the equations are same. Therefore Option D. Regina Phalange answered Apr 1, 2017 Regina Phalange comment Share Follow See all 2 Comments 2 2 Comments reply Chandrabhan Vishwa 1 commented Dec 12, 2017 reply Follow flag you know the property from truth table of xor gate that is A(xor)0=A and A(xor)1=A' A(xor)A=0 apply this rule on the above expression F(P,Q)=(1XOR P)XOR(PXORQ)XOR(PXORQXORQXOR 0) =P'XOR(PXORQ)XOR(PXORQXORQ) =P'XORPXORQXORP =1XORQXORP =Q'XORP =(Q+P)'1 0 0 replyShare Ram Swaroop commented Dec 11, 2018 reply Follow flag Great explanation 1 1 replyShare Please log in or register to add a comment.
1 1 vote observe the common term p ex or q in both consider a case where p and q are equal then p ex or q results in 0 1)in first p is ex ored with 1 2)in second q is ex ored with 0 so if p, q are same then either of one oresults in 1 and another to 0 1 ex or 0 it is exnor tocshark answered Oct 18, 2016 tocshark comment Share Follow 0 reply Please log in or register to add a comment.