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

for report generation which one you used proc report or data_null_?

7791


how would you create multiple observations from a single observation? : Sas programming

1005


How do you add a number to a macro variable? : sas-macro

1010


Mention sas system options to debug sas macros.

1177


what is the difference between nodup and nodupkey options? : Sas programming

1192


How to sort in descending order?

1258


What do you know about symput and symget?

1248


Explain what Proc glm does?

1215


Describe the ways in which you can create macro variables?

1193


What are the data types that sas contain?

1185


I have a SCD Type 2 Dimention for Location In which A Sales Office in Having two Surrogate Keys just because of the change in it's Sales Group. SKey SalesGroup Sales Office BeginDate EndDate 280 SG1 SO1 01APR2000 01APR2010 281 SG2 SO1 02APR2010 31MAR2999 Now while loading the Fact, the Lookup ir returning SKey 280 for records before and after 01APR2010. I am not able to give WHERE condition in the Lookup Properties (TranDate between BeginDate and EndDate). Please help.

2152


What are the functions which are used for character handling functions?

1146


hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?

2071


What is the difference between nodupkey and nodup options?

1039


If you were told to create many records from one record, show how you would do this using array and with proc transpose?

1491