A truth table is a mathematical table used in logic—specifically in connection with Boolean algebra, boolean functions, and propositional calculus—which sets out the functional values of logical expressions on each of their functional arguments, that is, for each combination of values taken by their logical variables.

For now we are only concerned with boolean algebra.

In mathematics and mathematical logic, Boolean algebra is the branch of algebra in which the values of the variables are the truth values true and false, usually denoted **1 and 0**, respectively.

Consider the truth table given below:

It is evident that 1 represents true and 0 represents false. The given truth table is for AND logical operator.