Pergunta de entrevista da empresa Capgemini

What is difference between compiler and interpreter?