what is the difference between compiler and interpreter?
give any one example (software product) that act as a
interpreter?

Answer Posted / deependra kushwaha

Compiler

A compiler is defined as a computer program that is used to
convert high level instructions or language into a form that
can be understood by the computer. Since computer can
understand only in binary numbers so a compiler is used to
fill the gap otherwise it would have been difficult for a
human to find info in the 0 and 1 form.

Earlier the compilers were simple programs which were used
to convert symbols into bits. The programs were also very
simple and they contained a series of steps translated by
hand into the data. However, this was a very time consuming
process. So, some parts were programmed or automated. This
formed the first compiler.

More sophisticated compliers are created using the simpler
ones. With every new version, more rules added to it and a
more natural language environment is created for the human
programmer. The complier programs are evolving in this way
which improves their ease of use.

There are specific compliers for certain specific languages
or tasks. Compliers can be multiple or multistage pass. The
first pass can convert the high level language into a
language that is closer to computer language. Then the
further passes can convert it into final stage for the
purpose of execution.

Interpreter

The programs created in high level languages can be executed
by using two different ways. The first one is the use of
compiler and the other method is to use an interpreter. High
level instruction or language is converted into intermediate
from by an interpreter. The advantage of using an
interpreter is that the high level instruction does not goes
through compilation stage which can be a time consuming
method. So, by using an interpreter, the high level program
is executed directly. That is the reason why some
programmers use interpreters while making small sections as
this saves time.

Almost all high level programming languages have compilers
and interpreters. But some languages like LISP and BASIC are
designed in such a way that the programs made using them are
executed by an interpreter.

Read more:
http://www.differencebetween.com/difference-between-compiler-and-vs-interpreter/#ixzz1c0wkx8B1

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does P-value signify about the statistical data?

860


Mention common programming errors committed in sas ?

658


please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??

1670


What are the default statistics that proc means produce?

610


Hi, Does anybody has lastest SAS certification(base, adv., clinical)dumps,if anybody has please email me at mailtorajani76@gmail.com. Thanks

1808






Mention some common errors that are usually committed in sas programming.

596


what is sas and what are the functions? : Sas-administrator

546


How does the internal authentication work in sas? : sas-grid-administration

591


If money were no object, what would you like to do?

2697


what are sas bi dashboard components? : Sas-bi

669


I need level 2 to 5 sas using companies in india

1939


what is the purpose of _error_? : Sas programming

618


Approximately what date is represented by the SAS date value of 730?

758


why a stop statement is needed for the point= option on a set statement?

633


what is sas metadata server? : Sas-di

602