How do you use truth tables in logic
Writing truth table:
A truth table represents how the truth or falsity of a compound statement depends on the truth or falsity of the simple statements from which it is constructed. A logic gate truth table shows the possible resultant output depending upon the combination of input(s).
If a two-input logic circuit with input variables and is used, then there are “four” possible input combinations these are as follows:
Truth table for -input AND gate:
For AND gate, the output is true if both inputs “AND” input are true.
A | B | C |
Truth table for -input OR Gate:
For OR gate, the output is true if either of input “OR” input is true.
A | B | Q |
Truth table for -input NOT gate:
For NOT gate, the output Q is only true when the input is “NOT” true.
A | B |
Hence, We can use truth tables by this manner to determine the truth or falsity of propositional statements by listing all possible outcomes of the truth-values for the included propositions.