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
explain the use of % includes a statement in sas? : Sas-administrator
Give some ways by which you can define the variables to produce the summary report (using proc report)?
what is treatment emergent events and treatment emregent adverse event
How do you use the do loop if you don’t know how many times you should execute the do loop?
how the sas basic syntax style described? : Sas-administrator
List down the reasons for choosing sas over other data analytics tools.
what is sas metadata server? : Sas-di
Give an example where SAS fails to convert character value to numeric value automatically?
How would you identify a macro variable?
To what type of programms have you used scratch macros?
where are dashboard components are created and maintained? : Sas-bi
how many display types available in sas bi dashboard? : Sas-bi
What is the maximum and minimum length of macro variable
Approximately what date is represented by the SAS date value of 730?
What would be the value of month at the end of data step execution and how many observations would be there?