Truth Tables: and, or, and not

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.

xyx and yx or ynot xnot y
   True      True      True      True      False      False   
   True      False      False      True      False      True   
   False      True      False      True      True      False   
   False      False      False      False      True      True   


UC Davis sigil
Matt Bishop
Office: 2209 Watershed Sciences
Phone: +1 (530) 752-8060
Email: mabishop@ucdavis.edu
MHI 289I, Programming in Health Informatics
Version of September 29, 2022 at 11:28PM

You can also obtain a PDF version of this.

Valid HTML 4.01 Transitional Built with BBEdit Built on a Macintosh