gate and truth table diagram - Search