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 / osama

tax of programme where as Interpreter
checks the keywords of a prog.

2. compiler checks at a time all the prog, But interpreter
checks simultaneously in the eidtor.

3.Interpretor provides colour coding to the prog and helps
in self debugging while writing a prog.

Is This Answer Correct ? 127 Yes 59 No
3
Rajaanku11

Re: what is the difference between compiler and interpreter? give any one example (software product) that act as a interpreter?
Answer
# 2
A compiler compiles the source code in a form that can be
used directly by the computer. At run time the code is to
run the programme is already there.

An interpreter reads each line of the source code and
converts it to machine code on the fly. This happens every
time the programme is run. Consequently it is very slow as
it is converting source code to machine code while the
programme is running.

A compiler does it once and thats it.

So the trade off is speed.

DOS BASIC was interpreted. QBASIC could be either. VB, C++
and all modern high level languages are compliled. Nobody
uses an interpreter for anything serious although an
interpreted programme can be a good teaching aid

Is This Answer Correct ? 103 Yes 24 No
3
Sanjay





Re: what is the difference between compiler and interpreter? give any one example (software product) that act as a interpreter?
Answer
# 3
Compiler vs. Interpreter

An interpreter translates some form of source code into a
target representation that it can immediately execute and
evaluate. The structure of the interpreter is similar to
that of a compiler, but the amount of time it takes to
produce the executable representation will vary as will the
amount of optimization.

Compiler characteristics:
* spends a lot of time analyzing and processing the program
* resulting executable is some form of machine- specific
binary code
* the computer hardware interprets (executes) the resulting code
* program execution is fast

Interpreter characteristics:
* relatively little time is spent analyzing and processing
the program
* the resulting code is some sort of intermediate code
* the resulting code is interpreted by another program
* program execution is relatively slow

Is This Answer Correct ? 62 Yes 16 No
1
Smile555

Re: what is the difference between compiler and interpreter? give any one example (software product) that act as a interpreter?
Answer
# 4
compiler compile the source code while interpreter compile
the code that is allready compiled that is in the form of
bytecode
compiler scan whole code at once so it is fast incompare
with interpreter while interpreter comiled the byte code
line by line and convert in machine code so it is slow in
compare with compiler

Is This Answer Correct ? 28 Yes 17 No
3
Mehboob Alam

Re: what is the difference between compiler and interpreter? give any one example (software product) that act as a interpreter?
Answer
# 5
compiler takes whole program at a time and executes it.....


where as interpreter executes the program line by line.....

Is This Answer Correct ? 47 Yes 12 No
3
Praveena

Re: what is the difference between compiler and interpreter? give any one example (software product) that act as a interpreter?
Answer
# 6
A compiler, in general, reads higher level language computer
code and converts it to either p-code or native machine
code. An interpreter runs directly from p-code or an
interpreted code such as Basic or Lisp. Typically, compled
code runs much faster, is more compact and has already found
all of the syntax errors and many of the illegal reference
errors. Interpreted code only finds such errors after the
application attempts to interpret the affected code.
Interpreted code is often good for simple applications that
will only be used once or at most a couple times, or maybe
even for prototyping. Compiled code is better for serious
applications.

Is This Answer Correct ? 14 Yes 16 No
5
Gautam Menariya

Re: what is the difference between compiler and interpreter? give any one example (software product) that act as a interpreter?
Answer
# 7
Compiler:-

-Generates code to implement meaning of a source program in
the execution domain.
-Checks the code entirely in one go.
-It checks the legality of the operations(assigning or
manipulating variables)

Interpreteres:-

-bridges execution gap without generating a machine
language program.
-Meaning of source statement is implemented by finding
appropriate data manipulation routines and invokes it with
appropriate parameters.(instead of code generation)
-works line by line
-Avoiding generation of machine language makes interpreter
portable.

Is This Answer Correct ? 19 Yes 6 No
0
Anuja

Re: what is the difference between compiler and interpreter? give any one example (software product) that act as a interpreter?
Answer
# 8
Compiler compiles source code into byte code, it takes whole
code and executes,

Interpreter excuts bytecode line by line, and it converts
byte code into Machine code.

Compiler is faster compater to Interpreater.


By,
Durgam S

Is This Answer Correct ? 17 Yes 8 No
0
Sri

Re: what is the difference between compiler and interpreter? give any one example (software product) that act as a interpreter?
Answer
# 9
-An interpreter translates some form of source code into a
target representation that it can immediately execute and
evaluate. The structure of the interpreter is similar to
that of a compiler, but the amount of time it takes to
produce the executable representation will vary as will the
amount of optimization.

-Interpreter excuts bytecode line by line, and it converts
byte code into Machine code.


-compiler takes whole program at a time and executes it.....


-where as interpreter executes the program line by line.....

Is This Answer Correct ? 16 Yes 6 No
0
P.rakesh Kumar Reddy

Re: what is the difference between compiler and interpreter? give any one example (software product) that act as a interpreter?
Answer
# 10
The main difference between an compiler and an interpreter
is that a compiler executes the program entirely at a time
and that of a interpreter is that it goes on line by line
storing each lines output separately i.e interpreter
executes only when there is a need for the execution. the
best example of a software product is that acts as an
interpreter is a JVM which is nothing but a interpreter. lot
of them say that java is a language but there as as many
proofs that argue that java is a package to those who say it
a language.

* one more diff. is that the time of execution of a compiler
is very high when compared to an interpreter .........

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Given an unsorted data set, how to read the last observation to a new data set?

1403


What is the length assigned to the target variable by the scan function?

1200


Describe the ways in which you can create a macro variable?

1128


what are _numeric_ and _character_ and what do they do? : Sas programming

1190


What is the difference between %put and symbolgen? : sas-macro

1291


Hello Friends, am new to this forum and am not good at sas progarmming. please can any one of you send me couple of sample large sample SAS Jobs which can you use 200 MB of data and other sas job upto 25GB of data. am doing a performance testing on our legacy systems and new upgraded system. I would really appreciate if you can do me this favor Thank you Priya

1992


do you need to know if there are any missing values? : Sas programming

1118


which date function advances a date, time or datetime value by a given interval? : Sas programming

1093


What is the SAS data set?

1172


What areas of SAS are you most interested in?

1578


What are the data types that sas contain?

1244


i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;

2550


What is the maximum length of the macro variable?

1222


What are the applications primarily used by business analyst? : Sas-bi

1049


How do you specify the number of iterations and specific condition within a single do loop?

1151