Truth Tables: A truth table is a handy little logical device that shows up not only in mathematics, but also in Computer Science and Philosophy…