2.3: be able to use and understand AND, OR, NOT and XOR logical operators as symbols and in selection criteria
Keyword | Definition |
---|---|
and | logical operator which combines two boolean expressions and results in True if both inputs are True |
boolean expression | question which has an answer of either True or False |
logical operator | keyword which allows you to combine boolean expressions into a single boolean value |
not | logical operator which gets the opposite boolean value of a single input |
or | logical operator which combines two boolean expressions and results in True if either or both inputs are True |
xor | logical operator which combines to boolean expressions and results in True if only one of the inputs is True |