NVIDIA interview question

The truth table of basic gate