No products in the cart.

Difference between complier and interpreter

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Difference between complier and interpreter
  • 1 answers

Varun Banda 6 years, 6 months ago

The difference between an interpreter and a compiler is given below:

 

Interpreter       /     Compiler

1)Translates program one statement at a time.     /   Scans the entire program and translates it as a whole into machine code.

2)It takes less amount of time to analyze the source code but the overall execution time is slower.    /    It takes large amount of time to analyze the source code but the overall execution time is comparatively faster.

3)No intermediate object code is generated, hence are memory efficient.   / Generates intermediate object code which further requires linking, hence requires more memory.

4)Continues translating the program until the first error is met, in which case it stops. Hence debugging is easy  ./     It generates the error message only after scanning the whole program. Hence debugging is comparatively hard.

5) Programming language like Python, Ruby use interpreters.   /     Programming language like C, C++ use compilers.

http://mycbseguide.com/examin8/

Related Questions

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App