what is the difference between compiler and interpreter?
give any one example (software product) that act as a
interpreter?
Answer Posted / shajin
The translator programs that convert high-level language
programs into machine language are called compilers. High
level languages allow programmers to write instructions that
are similar to everyday English and contain commonly used
mathematical notations. A payroll program written in a
high-level language might contain the statement:
grossPay = basePay + overTimePay
From this, it is easy to see that programmers find
high-level languages more desirable than either machine
languages or assembly languages. C, C++, Visual Basic and
Java are among the most powerful and most widely used
high-level programming languages. The process of compiling a
high-level language program into machine language can
take a considerable amount of computer time.
Interpreter programs were developed to execute high-level
language programs directly, without the need for compiling
those programs into machine language. Although compiled
programs execute faster than interpreted programs,
interpreters are popular in program-development
environments, in which programs are recompiled frequently as
new features are added and errors are corrected
.Interpreters have played an especially important role in
helping scripting languages achieve their goal of
portability across a variety of platforms.
Interpreters have an advantage over compilers in the
scripting world. An interpreted program can begin executing
immediately as soon as it is downloaded to the client’s
machine, whereas a source program must first be compiled
before it can execute.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain proc univariate?
Difference between SAS STATA & SPSS?
Enlist the functions performed by sas.
what are some differences between proc summary and proc means? : Sas programming
If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro
what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?
What is maximum number of rows and cols can be handled in SAS?
what is data integration? : Sas-di
How would you include common or reuse to be processed along with your statements?
Explain proc sort?
what is sas olap server? : Sas-di
What is the order of application for output data set options, input data set options and SAS statements?
how to debug and test the sas program? : Sas-administrator
what are input dataset and output dataset options? : Sas programming
What is the role of administrative users? : sas-grid-administration