logic gates truth table questions - Search