Answer
An $interpreter$ translates and executes a program one statement at a time.
A $compiler$ translates the entire source program into a machine-language file for execution
Work Step by Step
$Compiler$
-Convert the code as a whole
-Compiler creates object code file
-Program execution is fast
$Interpreter$
-Converts the code line by line
-Interpreter does not create object file
-Program execution is slow