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
- Step 1: Examine truth tables: inputs (0,0)->0, (0,1)->1, (1,0)->1, (1,1)->0.
- 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.
More Computer Systems, Networks and Cybersecurity questions
- What is the decimal equivalent of the hexadecimal number 2Fââ?
- In computer architecture, which component of the central processing unit (CPU) directs system operations and manages the fetch-decode-executâŠ
- Which layer of the OSI reference model is responsible for end-to-end process-to-process communication, flow control, and error recovery usinâŠ
- What is the 8-bit two's complement binary representation of the decimal integer -6?
- Which cryptographic algorithm is an asymmetric (public-key) cipher commonly used for secure key exchange and digital signatures?
- In Boolean algebra, what is the simplified equivalent of the expression NOT(A AND B) according to De Morgan's laws?