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 are _numeric_ and _character_ and what do they do? : Sas programming
For clinical entire study how many tables will create approx?
if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...
Have you used macros? For what purpose you have used? : sas-macro
explain the use of % includes a statement in sas? : Sas-administrator
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.
describe about physical data integration? : Sas-di
What is run-group processing?
Mention what is SAS data set?
how can you put a "trace" in your program? : Sas programming
What are the scrubbing procedures in sas?
what is sas data set?
What’s the difference between var b1 – b3 and var b1 — b3?
how will you locate the sas platform applications? : Sas-bi
What would you change about your job?