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
What is the function of Stop statement in a SAS Program?
If a variable contains only numbers, can it be a character data type?
Describe 5 ways to do a “table lookup” in SAS?
describe the interaction table in sas di? : Sas-di
what are the component of range? : Sas-bi
Do you need to know if there are any missing values?
explain about data integrator metadata reports? : Sas-di
Explain proc sort?
how do the in= variables improve the capability of a merge? : Sas programming
what is broad cast agent? : Sas-bi
Are you involved in writing the inferential analysis plan? Tables specifications?
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
Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?
what are several options for creating reports in web report studio? : Sas-bi
What are the special input delimiters used in SAS?