Multiple choice

When AND gate is used to combine two Boolean expressions, _______.

  1. both the expressions must be true for the entire expression to be true

  2. at least one of the expressions must be true for the entire expression to be true

  3. neither expression should be true for the entire expression to be true

  4. the program stops executing

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The AND gate outputs true only when all input expressions are true. If any input is false, the output is false.