Machine-translated by Google. Questions are authored in English.
Top

Discussion

What will be the output of the following logic diagram ?

Logic diagram with inputs x and y. Each input is also inverted. One AND gate takes x and NOT y; a second AND gate takes NOT x and y. The outputs of the two AND gates feed an OR gate, which gives the output.

  • A.x OR y
  • B.x AND y
  • C.x XOR y
  • D.x XNOR y

Answer: C

The circuit gives x XOR y. The top AND gate receives x and the complement of y, and the bottom AND gate receives the complement of x and y. The OR gate combines them:

\[ F = x \cdot \bar{y} + \bar{x} \cdot y \]

This expression is the exclusive-OR, which is 1 only when x and y differ. OR and AND would not need the inverters, and XNOR is the complement, 1 when the inputs are equal.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.