Logic Gates - Technical MCQs

Q1:

A 2-input gate that can be used to pass a digital waveform unchanged at certain times and inverted at other times is a(n) ________.

A AND gate

B OR gate

C NAND gate

D XOR gate

ANS:D - XOR gate

XOR gate: Suppose for 2 input X-OR if one input is fixed to 0 then output would be second input, while if one input is fixed to 1 then output would be inverted form of second input(due to un-equality detection property).