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
Answered by Jack C. Computing tutor

2420 Views

See similar Computing A Level tutors

Related Computing A Level answers

All answers ▸

What is an Algorithm?


What is method "Overloading" in object-oriented programming (OOP) ?


Why indentation is important in Python and what is the scope of a global variable?


What do I need to know about operating systems?


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2025 by IXL Learning