Cognizant interview question

asked about diode, microprocessor and microcontroller and c basics