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


Please Help Members By Posting Answers For Below Questions

Explain substr function?

580


what is proc Index? and what is proc document?

1998


How can you create a macro variable with in data step? : sas-macro

578


explain about data integrator metadata reports? : Sas-di

567


What is the use of divide function?

610






What is the difference between where and if statement?

624


why is sas considered self-documenting? : Sas programming

682


where to use sas business intelligence? : Sas-bi

582


hi all, I need the SAS DI DUMP(A00 260) for attending the certification. if any one have, pls provide it.Please Email to vrpotluri@hotmail.com. Thanks - Ramana

4916


How substr function works in sas?

705


What commands are used in the case of including or excluding any specific variables in the data set?

596


What are the default statistics for means procedure?

650


why a stop statement is needed for the point= option on a set statement?

631


What are the functions which are used for character handling functions?

620


How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?

1589