What the main differences between an interpreter and a compiler?

A compiler produces an object or executable file that can be manually run after the source code is compiled. On the other hand, the interpreter doesn't produce an executable file, rather it will simulate line bu line what has already been entered, this means the source code is automatically and immediately run. Once compiled, the source code and its respective compiler are no longer needed for execution. Whereas the interpreter is always needed at run-time and its respective code.

HS

Related Computing A Level answers

All answers ▸

Write a Pseudocode function that returns the factorial of an integer input.


Describe the operations of an optical disk drive used to read data from an optical disk, such as a CD or DVD.


Discuss the differences between operating systems designed for desktop computers and embedded systems.


What is the decimal equivalent of the following sequence of bits, which represents an unsigned binary integer: 1101001. What is the decimal equivalent if the sequence in bits encodes a two’s complement binary integer.