Thus, if we have n inputs, there are 2n input combinations and thus the truth table has 2n rows. These rows are nor-
mally written in the binary order of the inputs (if, for no other reason, than to make sure that we do not leave any out). The truth table has two sets of columns: n input columns, one for each input variable, and m output columns, one for each of the m outputs.