what is the difference between compiler and interpreter?
give any one example (software product) that act as a
interpreter?
Answer Posted / sanjay
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 ? | 236 Yes | 58 No |
Post New Answer View All Answers
what is enterprise guide? What is the use of it? : Sas programming
how could you generate test data with no input data? : Sas programming
How do you define proc in sas? : sas-grid-administration
what versions of sas have you used (on which platforms)? : Sas programming
How to include or exclude specific variables in a data set?
please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??
What is interleaving in SAS?
What are the prime responsibilities of data integration administrator? : Sas-di
Give some examples where proc report’s defaults are different than proc print’s defaults?
What is the work of tranwrd function?
How would you include common or reuse to be processed along with your statements?
How do you control the number of observations and/or variables read or written?
which date functions advances a date time or date/time value by a given interval? : Sas programming
What is the difference between using drop = data set option in data statement and set statement?
Explain proc sort?