Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Mention few capabilities of sas framework.

1126


What do the PUT and INPUT functions do?

1268


How does proc sql work?

1026


What are the functions used for character handling?

1173


What is the basic structure of a sas program?

1056


How you can read the variables that you need?

1068


What is the difference between order and group variable in proc report?

1364


what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming

1173


What is slibref?

1211


What is the use of the %include statement?

1084


how does sas handle missing values in formats? : Sas programming

1077


what does the run statement do? : Sas programming

989


What is the difference between class statement and by statement in proc means?

1193


what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming

1168


I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com

2655