Apple Interview Question

coding: write a function that implemet the operator "!" Logic design: difference between Full Adder and half Adder and implementing a serial adder.