Solveeit Logo

Question

Question: The following circuit represents. ![](https://www.vedantu.com/question-sets/de81e52e-8f3e-4987-83f...

The following circuit represents.

A.A. OR gate
B.B. XOR gate
C.C. AND gate

Explanation

Solution

Hint : In order to solve the given question we will see which basic logic gates are present. We need to know that AND gate multiplies the inputs and OR gate adds the inputs.

Complete Step By Step Answer:
Here we have two NOT gates, two AND gates and one OR gate in the given circuit. For simplicity, let’s number the gates 1,2,3,41,2,3,4 and 55 . The upper and lower NOT gates are numbered 11 and 22 , the upper and lower AND gates are numbered 33 and 44 and OR gate is numbered 55 .

Now let’s look upon the Boolean expressions of the gates. The Boolean expression of the NOT gate is Y=AˉY=\bar{A} , AND gate is Y=ABY=A\cdot B and OR gate is Y=A+BY=A+B .
Now the output of first NOT gate is Y1=Aˉ{{Y}_{1}}=\bar{A} , output of second NOT gate is Y2=Bˉ{{Y}_{2}}=\bar{B} .
Now for the third AND gate the inputs will be Y1{{Y}_{1}} and BB . Similarly, for the fourth AND gate the inputs will be Y2{{Y}_{2}} and AA .
Now as we know that AND gate multiplies the inputs, we have output of third AND gate as Y3=Y1B{{Y}_{3}}={{Y}_{1}}\cdot B and fourth AND gate as Y4=Y2A{{Y}_{4}}={{Y}_{2}}\cdot A .
Now we also know that OR gate adds the inputs, so we have output of fifth OR gate as Y5=Y3+Y4 Y5=Y1B+Y2A Y5=AˉB+BˉA \begin{aligned} & {{Y}_{5}}={{Y}_{3}}+{{Y}_{4}} \\\ & {{Y}_{5}}={{Y}_{1}}\cdot B+{{Y}_{2}}\cdot A \\\ & {{Y}_{5}}=\bar{A}\cdot B+\bar{B}\cdot A \\\ \end{aligned}
We know that this is the Boolean expression of XOR gate. Therefore, the above circuit represents XOR gate.
Hence, option (B)(B) is the correct answer.

Note :
Logic gates are used to carry out logical operations on single or multiple binary inputs and result in one binary output. Other name for output 11 is high output and 00 is low output. One must remember Boolean expressions of respective basic gates while solving logic gates related questions.