For a two-input XOR gate, when is the output high?
Correct answer
A. Output is high when inputs differ
15 views
A. Output is high when inputs differ
15 views
An XOR gate gives a high output only when the two inputs differ, so its truth table reads 0,1,1,0 for the input pairs 00, 01, 10 and 11. A high output for any high input describes the OR gate, and a high output only when both are high describes AND. XOR is the basis of half-adders and of parity checking in digital circuits.
Asked in: MDCAT, ECAT, PPSC
Not sure why the answer is A? Ask here and get an explanation.