Computer Science, asked by Anonymous, 1 year ago

what is the difference between compiler and interpreter

Answers

Answered by priya901
56
we generally write a computer program using a high level language has a compiler and interpreter is a program that converts program written in high level language into machine code understood by the computer .

Anonymous: ri8
priya901: ok thanks
Answered by siddhartharao77
127
Short note on compiler vs interpreter:

Compiler:

(i) It generates Intermediate object code. 

(ii) It reads entire program for compilation.

(iii) Memory management is high.

(iv) Execution time is less.

(v) Examples : C, C++.



Interpreter:

(i) It won't generate intermediate code.

(ii) It reads the single instruction as input.

(iii) Memory management is less.

(iv) Execution time is fast.

(v) Python, Ruby.





Hope this helps!

siddhartharao77: :-0
siddhartharao77: :-)
Similar questions