NEET 2018 · Question 17 · Physics · Multiple choice (MCQ) · 4 marks · −1 for a wrong answer

In the combination of the following gates the output Y can be written in terms of inputs A and B as

Figure for this question
  1. (1) A̅.B̅ + A.B
  2. (2) A.B̅ + A̅.B
  3. (3) A̅.̅B̅
  4. (4) A + B̅
Answer and solution

Answer (2)

Answer from the official final answer key (NEET (UG) 2018, CBSE).

Solution

Trace each AND gate's two inputs from the wiring, then OR the two products together.

  1. A and B feed two AND gates, each with one input passed through a NOT gate; both AND outputs go into an OR gate giving Y.
  2. Upper AND gate. A reaches it directly and B reaches it through a NOT gate. Its output is A·B̅.
  3. Lower AND gate. The branch from A passes through the lower NOT gate, and the branch from B goes straight in. Its output is A̅· B.

    Y = A·B̅ + A̅· B

  4. So. The OR gate adds the two products, which is the XOR function. The answer is option (2).

The idea to keep. For gate combinations, write the output of each gate in turn from input to output. Two AND gates with crossed inverted inputs feeding an OR gate form XOR: AB̅ + A̅B.

Solution by PrepWiser.