PS Logical Operators Flashcards
1
Q
Logical and. TRUE only when both statements are TRUE.
A
-and
2
Q
Logical or. TRUE when either or both statements are TRUE.
A
-or
3
Q
Logical exclusive or. TRUE only when one of the statements is TRUE and the other is FALSE.
A
-xor
4
Q
Logical not. Negates the statement that follows it.
A
-not