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 ▸

Show how the decimal number -183 would be represented as an 8-bit two's complement arithmetic


Taken from an AQA paper: A common misconception is that the Internet is the World Wide Web. Explain the differences between the Internet and the World Wide Web.


When a stack is implemented using a 1-D array, adding a valid item can cause an execution error. Explain why an execution error can occur in this situation.


Describe the 4 layers of the TCP/IP model