boolean expression

noun
UK /ˈbuːliən ɪkˈspreʃən/
US /ˈbuliən ɪkˈspreʃən/

A boolean expression is a question a computer answers with just yes or no.

The boolean expression 'is the light on?' is true when the switch is up.


OTHER MEANINGS

2. In programming, a statement that evaluates to either true or false and is used in if-statements and loops.

The loop runs while the boolean expression i < 10 stays true.

3. In mathematics and logic, a formula built from variables and logical operators like AND, OR, and NOT.

A AND (NOT B) is a boolean expression that is false when A is false.

4. In digital circuits, a way to describe how logic gates combine input signals.

Engineers simplify the boolean expression to use fewer gates on the chip.