A truth table lists all possible input combinations and their resulting output. For example, the XOR truth table:
Digital circuits can be divided into two main categories: logic gates circuits processors compilers and computers pdf