Computer Science, asked by pratikshadegave, 5 months ago


(a) What is the difference between compiler and interpreter ?​

Answers

Answered by vishnu223020
2

Answer:

1. Compiler:

It is a translator which takes input i.e., High Level Language and produces an output of low level language i.e. machine or assembly language.

Compiler is more intelligent than an assembler it checks all kinds of limits, ranges, errors etc.

But it’s program run time is more and occupies a larger part of memory. It has slow speed because a compiler goes through the entire program and then translates the entire program into machine codes.

2. Interpreter:

An interpreter is a program which translates a programming language into a comprehensible language. –

It translates only one statement of the program at a time.

Interpreters, more often than not are smaller than compilers.

Hope it will help you

Mark me the branliest

Answered by saurabh292
1

Answer:

Interpreter.

Interpreter translates just one

statement of the program at a

time into machine code.

Compiler

Compiler scans the entire

program and translates the whole

of it into machine code at once

Similar questions