what is the difference between compiler and interpreter?
give any one example (software product) that act as a
interpreter?

Answer Posted / smile555

Compiler vs. Interpreter

An interpreter translates some form of source code into a
target representation that it can immediately execute and
evaluate. The structure of the interpreter is similar to
that of a compiler, but the amount of time it takes to
produce the executable representation will vary as will the
amount of optimization.

Compiler characteristics:
* spends a lot of time analyzing and processing the program
* resulting executable is some form of machine- specific
binary code
* the computer hardware interprets (executes) the resulting code
* program execution is fast

Interpreter characteristics:
* relatively little time is spent analyzing and processing
the program
* the resulting code is some sort of intermediate code
* the resulting code is interpreted by another program
* program execution is relatively slow

Is This Answer Correct ?    148 Yes 44 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the data types that sas contain?

649


How do you specify the number of iterations and specific condition within a single do loop?

617


Mention how to limit decimal places for the variable using proc means?

639


how to remove duplicates using proc sql?

624


How to read an input file in sas?

652






What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?

2004


Intern stastical programmer written test

282


Given an unsorted data set, how to read the last observation to a new data set?

832


How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?

2381


What is the basic structure of a sas program?

594


for whom is sas data integration studio designed? : Sas-di

554


How many data types are there in SAS?

630


what are the categories that sas informats are used to the place the data? : Sas-administrator

611


what is SAS OPTIMIZATION?

1813


How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?

1096