Computer Science for IGCSE & O level - Software (Section 10 - No. 26)

In the context of translators, what distinguishes a compiler from an interpreter?
A compiler executes the code line by line, while an interpreter translates the entire program at once.
A compiler translates the entire program at once, while an interpreter executes the code line by line.
Both translate and execute the code line by line.
Both translate the entire program at once.

Explanation

Compilers translate the entire program at once, while interpreters execute code line by line.

Comments (0)

Advertisement