ETAS interview question

Difference between compiler and interpreter