Final project: Creating custom truth tables from scratch
For the final project, we’re going to create a truth table for a Boolean equation. Before you can build custom truth tables, you need to thoroughly understand how to solve Boolean equations and understand how the truth tables work from the last section. For this section, we’re going to create a truth table for the following equation:
(A*B) + B
To begin building this truth table, we first need to figure out how many rows are needed to complete the table. To figure this out, we need to count the number of inputs or variables, as the number of rows is equal to the following equation:
Where n is the number variables or inputs for the equation. Since the equation only has variables A and B, we need the following number of rows:
So, there will be four rows that we need to calculate. A good strategy for creating the truth table is to insert all the input combinations first, as this will make keeping...