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

2239 Views

See similar Computing A Level tutors

Related Computing A Level answers

All answers ▸

How can I decide whether Quicksort or Mergesort is better for a given situation?


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


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.


What is the difference between compile-time errors and runtime errors?


We're here to help

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

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences