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

In SAS explain which statement does not perform automatic conversions in comparisons?

1263


What is the role of unrestrictive users? : sas-grid-administration

953


Hi all, If Anybody has Advance SAS Certification dumps??? Please share with me. Email: pramod.kalugade03@gmail.com

1977


What is the difference between input and infile statement?

1112


data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.

2163


what is sas enterprise intelligence architecture? : Sas-bi

934


What are the scrubbing procedures in sas?

947


Mention the validation tools used in SAS?

1105


What does P-value signify about the statistical data?

1303


How do you debug and test your SAS programs?

1501


what is the one statement to set the criteria of data that can be coded in any step? : Sas programming

1090


Do you need to rearrange the order of the data for the report?

2252


What will calendar procedure do?

1020


Give an example where SAS fails to convert character value to numeric value automatically?

1027


name the scheduler for scheduling job and explain the scheduler? : Sas-di

998