Getting to know truth tables
What are truth tables? In short, they are easy-to-read tables that show all the outputs for all the combinations of inputs. In this section, we’re going to explore the basic truth tables for the standard operators as well as for custom Boolean equations.
Basic operators
The following are the truth tables for the standard operators. Typically, you shouldn’t have to worry about memorizing complex truth tables. However, of all the truth tables, these are the ones you should memorize because they correspond to basic operators.
NOT table
The first truth table that we need to memorize is the table for the NOT
operator:
Input |
Output |
1 |
0 |
0 |
1 |
Table 6.1 – NOT truth table
Reading truth tables is quite easy. All one needs...