Complete the sentence to describe what a compiler does.
A compiler translates the entire [1] into machine code before execution.A compiler takes the whole source code and converts it into machine code before the program runs.
Complete the sentence to describe how an interpreter works.
An interpreter translates and executes the program [1] at a time.
An interpreter reads and runs the program one line at a time, translating as it goes.
Fix the error in the statement about compilers and interpreters.
A compiler translates the program [1] executing it.A compiler translates the whole program before execution, unlike an interpreter.
Fill both blanks to complete the comparison between compiler and interpreter.
A compiler translates [1] program, while an interpreter translates [2].
A compiler translates the whole program at once, but an interpreter translates the program line by line.
Fill all three blanks to explain the main difference in execution between compiler and interpreter.
A compiler produces [1] code that runs [2], while an interpreter runs [3] code directly.
Compilers create machine code that runs faster, while interpreters run source code directly, which is slower.