Computer Science for IGCSE & O level - Software (Section 4 - No. 47)

What is one key difference between compilers and interpreters?
Compilers execute programs one line at a time; interpreters translate the entire program at once.
Compilers translate the entire program at once; interpreters execute programs one line at a time.
Compilers are typically used for low-level languages; interpreters are used for high-level languages.
Compilers are easier to debug than interpreters.

Explanation

Compilers translate an entire program, whereas interpreters execute the program line by line.

Comments (0)

Advertisement