Computer Science for IGCSE & O level - Software (Section 12 - No. 48)

What distinguishes a compiler from an interpreter?
Compilers execute code line by line, while interpreters translate the entire program at once.
Compilers translate the entire program at once, while interpreters execute code line by line.
Compilers are always faster than interpreters.
Interpreters are always faster than compilers.

Explanation

Compilers translate the whole program at once, interpreters translate and execute line by line.

Comments (0)

Advertisement