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 ▸

What is the difference between an array and a record?


What are firewalls? Explain and discuss three methods they employ to secure a network. [8]


Represent the denary number 5.625 as an unsigned binary fixed point number with three bits before and five bits after the binary point.


Describe the difference between passing parameters into a function by reference and by value? Indicating how this may lead to unexpected outputs.