In programming, some languages are compiled and others are interpreted. Define the difference between the two.

An interpreter translates a program into machine code one line at a time. A compiler, however, scans the entire document and translates it into machine code as a whole. The overall execution time of an interpreter is longer than that of a compiler. Languages such as Python use are interpreted, and languages such as C and C++ are compiled.

JC

Related Computing A Level answers

All answers ▸

Explain how the even parity system works when transmitting ASCII codes. Include a description of the roles of the sending device and the receiving device during transmission.


What is an ALU?


What is 'Virtual Memory', and how does it work?


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.