General Question G7B03
G7B: Digital circuits; amplifiers and oscillators
Which of the following describes the function of a two-input AND gate?
- Output is high when either or both inputs are low
- Output is high only when both inputs are high (correct answer)
- Output is low when either or both inputs are high
- Output is low only when both inputs are high
Correct answer: B, Output is high only when both inputs are high
Explanation
An AND gate works like two switches in series. Its output is high only when input 1 AND input 2 are both high. Any low input forces the output low. In truth-table form, only the 1,1 input row gives a 1 output.
Why the other answers are wrong
- A, Output is high when either or both inputs are low: A high output when either or both inputs are low describes a NAND gate, which is the inverse of AND.
- C, Output is low when either or both inputs are high: A low output when either or both inputs are high describes a NOR gate, the inverse of OR.
- D, Output is low only when both inputs are high: A low output only when both inputs are high is again a NAND gate; an AND gives a high output in that case.