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
Are you sensitive to code walk-throughs peer review or QC review?
What are common programming errors committed in sas
How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?
Describe the ways in which you can create macro variables? : sas-macro
what is the use of proc sql? : Sas programming
What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?
what is PhaseIII, ODS, TLG, Macro and Proc in SAS
How do you control the number of observations and/or variables read or written?
What is the function of output statement in a SAS Program?
explain the main difference between the nodup and nodupkey options? : Sas-administrator
Are you involved in writing the inferential analysis plan? Tables specifications?
Explain the special input delimiters used in sas programming.
How we can create SAS USER DEFINED CODE?
Differences between where and if statement?
what is star schema? : Sas-di