4.2.3 Describe the operation of a compiler and an interpreter, including how high-level language is translated by each and how errors are reported
A compiler translates the whole code at once before executing it, producing an executable file
An interpreter translates and executes the code line-by-line
A compiler provides an error report for the whole code if errors are detected
An interpreter stops execution when an error is found