ALSTOM interview question

Asked about Half adder, boolean properties, difference between microprocessor and microcontroller