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.

Answered by Henry S. Computing tutor

2394 Views

See similar Computing A Level tutors

Related Computing A Level answers

All answers ▸

Discuss the differences between operating systems designed for desktop computers and embedded systems.


Given a graph with n nodes and m edges, every edge has a passing cost that can be negative, find the minimum distance between node 1 and every other node


Given an ordered array of integers "V" and a integer "Sum", write a function that would return "true" if it finds two numbers in V that add up to Sum, and "false" otherwise.


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


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences