construct the truth table for each of the logic gates above
derive a truth table for a given logic circuit