differentiate between compilor and interpreter
Answers
Answered by
10
An interpreter converts a program written in a High Level Language into machine language program line-by-line .
A compiler converts an entire program written in HLL into machine language in on go.
Interpreter works faster than a compiler and is not needed to be in the memory with program for its execution, unlike a compiler
A compiler converts an entire program written in HLL into machine language in on go.
Interpreter works faster than a compiler and is not needed to be in the memory with program for its execution, unlike a compiler
Answered by
9
Difference Between Interpreter and Compiler
We generally write a computer program using a high-level language. A high-level language is one which is understandable by us humans. It contains words and phrases from the English (or other) language. But a computer does not understand high-level language. It only understands program written in 0's and 1's in binary, called the machine code. A program written in high-level language is called a source code. We need to convert the source code into machine code and this is accomplished my compilers and interpreters. Hence, a compiler or an interpreter is a program that converts program written in high-level language into machine code understood by the computer.
The difference between an interpreter and a compiler is given below:
Attachments:
babydoll:
this answer is very helpful to me
Similar questions