Nokia Interview Question

Basic electronics questions, diode and MOSFET and gates