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

Discussion

Which one of the following options is CORRECT for the given logic circuit?

P feeds both inputs of a NAND gate and one input of an AND gate whose other input is Q; the NAND and AND outputs feed an OR gate whose output is X

  • A.P = 1, Q = 1; X = 0
  • B.P = 1, Q = 0; X = 1
  • C.P = 0, Q = 1; X = 0
  • D.P = 0, Q = 0; X = 1

Answer: D

The correct option is P = 0, Q = 0; X = 1.

Both inputs of the NAND gate are tied to P, so it acts as an inverter and outputs \(\overline{P}\). The AND gate outputs \(PQ\). The OR gate combines them:

\[ X = \overline{P} + PQ = \overline{P} + Q \]

Check each option: with P = 0, Q = 0, \(X = 1 + 0 = 1\), as stated. With P = 1, Q = 1, \(X = 0 + 1 = 1\), not 0. With P = 1, Q = 0, \(X = 0 + 0 = 0\), not 1. With P = 0, Q = 1, \(X = 1\), not 0. So only the last option is consistent with the circuit.

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

Post your comment

Please log in or register to post a comment.