Logic Truth Tables
Logic Truth Tables
uk
Logic: Truth Tables Truth tables are a useful means of elaborating logical expressions or proving the equivalence of logical statements. The effect of the logical operator not is to change the value of the operand from true to false or from false to true. The truth table for not is as follows: A T F not A F T
The binary logical operators act on two operands and could either be true or false. The truth table for and is as follows A T T F F The truth table for or is as follows A T T F F B T F T F A or B T T T F B T F T F A and B T F F F
Truth tables can also be used to demonstrate the truth of equivalent logical statements. For example in order to demonstrate
follows. B we can develop a truth table as
A T T F F
B T F T F
T F F F
F T T T
F F T T
F T F T
F T T T
Note that columns four and seven are the same, showing the equivalence of the logical expressions.