recategorized by
1,397 views
3 votes
3 votes

In digital logic, if $A\oplus B=C$, then which one of the following is true?

  1. $A\oplus C=B$
  2. $B\oplus C=A$
  3. $A\oplus B\oplus C=0$
  4. Both (A) and (B)
recategorized by

2 Answers

3 votes
3 votes
XOR is associative and commutative,given $C=A \oplus B$

Option A

$A \oplus C$ Put value of C

$A \oplus A \oplus B$

$0 \oplus B$

$B$  equal to RHS  so OPTION A is TRUE

 

Option B

$B \oplus C$  Put value of C

$B \oplus A \oplus B$

$B \oplus B \oplus A$

$0 \oplus A$

$A$ equal to RHS  so OPTION B is TRUE

 

Option C

$A \oplus B \oplus C$

$C \oplus C$

$0$ not equal toRHS so it is false

OPTION D IS ANSWER
1 votes
1 votes
We can make a truth table and observe that, which one is true.
$${\begin{array}{|c|c|c|}\hline
A& B& C&A\oplus B &B\oplus C&A\oplus C &A\oplus B \oplus C\\\hline
{\color{Magenta} {0}}& {\color{Blue} {0}}& {\color{Red} {0}} & {\color{Red}{0} } & {\color{Magenta} {0}} & {\color{Blue} {0}} & {\color{Purple} {0}} \\\hline   
0& 0& 1&0 & 1 & 1 & 1 \\\hline 0& 1& 0&1 & 1 & 0 & 1 \\\hline
{\color{Magenta} {0}}&{\color{Blue} {1}}&{\color{Red} {1}}&{\color{Red} {1}} & {\color{Magenta} {0}}& {\color{Blue} {1}} &  {\color{Purple} {0}}\\\hline
1&0&0&1& 0 & 1 & 1 \\\hline
{\color{Magenta} {1}} &{\color{Blue} {0}}&{\color{Red} {1}}&{\color{Red} {1}} & {\color{Magenta} {1}}  & {\color{Blue} {0}} & {\color{Purple} {0}}  \\\hline
{\color{Magenta} {1}} &{\color{Blue} {1}}&{\color{Red} {0}}&{\color{Red} {0}}  & {\color{Magenta} {1}}& {\color{Blue} {1}} & {\color{Purple} {0}}   \\\hline
 1&1&1&0 & 0 & 0  & 1\\\hline
\end{array}}$$
From the above truth table, if $A\oplus B = C, $ then $A\oplus C= B,\;B\oplus C= A,\;A\oplus B \oplus C = 0.$

So, the correct answer is $(D).$
Answer:

Related questions

3 votes
3 votes
1 answer
2
admin asked Mar 30, 2020
529 views
Which one of the following is true?NAND gate and AND gate both are universal gatesNOR gate and OR gate both are universal gatesNAND gate and OR gate both are universal ga...
1 votes
1 votes
3 answers
3
admin asked Mar 30, 2020
1,516 views
Which one of the following is the function of a multiplexer?To decode informationTo select $1$ out of $N$ input data sources and to transmit it to single channelTo transm...
0 votes
0 votes
1 answer
4
admin asked Mar 30, 2020
9,936 views
Given an undirected graph $G$ with $V$ vertices and $E$ edges, the sum of the degrees of all vertices is$E$$2E$$V$$2V$