Computer Science, asked by Nilkanth1, 1 year ago

differentiate between compilor and interpreter

Answers

Answered by Anonymous
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
Answered by pipi
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
babydoll: nilkanth1,,you can mark this as brainliest
Anonymous: wat abt mine?
babydoll: it is short
babydoll: compared to pipi's
Anonymous: but it is copiedlink:https://www.programiz.com/article/difference-compiler-interpreter
babydoll: but it is helpful
babydoll: I lik that answer
babydoll: like*
Similar questions