Question: what are the similarities between a truth table and a state table?
Answer: A state table looks similar to a truth table, except that in addition to the inputs, the left part of the table also contains the values of the outputs. The right part of the table does not contain the values of the outputs, but the values of the outputs after the next clock transition.