These tables show the values of and, or, and not. The two operands of and and or, and the single operand of not, are Boolean variables or expressions.
x | y | x and y | x or y | not x |
---|---|---|---|---|
True | True | True | True | False |
True | False | False | True | False |
False | True | False | True | True |
False | False | False | False | True |
|
MHI 289I, Programming for Health Informatics Version of October 26, 2020 at 11:10PM
|
You can also obtain a PDF version of this. |