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 the maximum length of the macro variable?
Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?
what is ae onset date n what is RDS
Differentiate between ceil and floor functions.
Explain the special input delimiters used in sas programming.
What are the statements in proc sql?
what is business intelligence? : Sas-bi
What is the use of function Proc summary?
how does sas handle missing values in assignment statements? : Sas programming
What are the limitations for memory allocation for SAS variables
explain about data integrator metadata reports? : Sas-di
Do you know the features of sas?
what do the sas log messages "numeric values have been converted to character" mean? What are the implications? : Sas programming
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.
What is program data vector (pdv) and what are its functions?