Which logic gate produces an output of HIGH (1) if and only if its two binary inputs have differing values (one HIGH and one LOW)?

Answer and explanation

Correct answer: D. XOR gate

  1. Step 1: Examine truth tables: inputs (0,0)->0, (0,1)->1, (1,0)->1, (1,1)->0.
  2. Step 2: An Exclusive-OR (XOR) gate outputs 1 strictly when inputs are distinct, functioning as an odd parity or inequality detector.
Answer
XOR gate.
Why not the others: NOR gate outputs 1 only when both inputs are 0; NAND gate outputs 0 only when both are 1; AND gate outputs 1 only when both are 1.

Practise more Computer Systems, Networks and Cybersecurity.

Free questions with an explanation for every one, and full timed EmSAT Achieve (UAE) mock tests.

Which logic gate produces an output of
 | EmSAT Achieve (UAE)