2.5.3: understand the purpose of, and how to use, logic operators (AND, OR, NOT)
Keyword | Definition |
---|---|
AND | a logic operator that combines two boolean inputs into a single output, which is True if both inputs are also True |
Boolean expression | a question with a True / False answer |
Logic Operator | Symbol or symbols that combine Boolean expressions |
NOT | a logic operator that inverts an input so that the output is the opposite boolean value |
OR | a logic operator that combines to boolean inputs into a single output, which is True if either or both inputs are True |