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 do the pad and dim functions do? : Sas programming
Do you need to rearrange the order of the data for the report?
What would you change about your job?
Explain what is data step?
I have a dataset concat having variable a b & c. How to rename a b to e & f?
what are sas bi dashboard components? : Sas-bi
what is program data vector? : Sas-administrator
If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?
Mention what are the data types does SAS contain?
in the flow of data step processing, what is the first action in a typical data step? : Sas programming
what are _numeric_ and _character_ and what do they do? : Sas programming
What are the scrubbing procedures in sas?
Give an example where SAS fails to convert character value to numeric value automatically?
how do you debug and test your sas programs? : Sas programming
What are SAS/ACCESS and SAS/CONNECT?