Any function can be expressed in a truth table.A truth table lists all possible combinations ofinputs and gives the output produced in eachcase.Truth tables must include all combinations ofinputs.So for n inputs there are 2n rows in the table.For 3 inputs there are 8 lines in the truth table.The order of the lines is not important.