what is the difference between compiler and interpreter?
give any one example (software product) that act as a
interpreter?
Answers were Sorted based on User's Feedback
Answer / sahim
compiler and interpreter is same thing but a little difference
between both compiler is compile our program at a time but interpreter check our program line by line.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / charulata
1: A compiler generally takes source code and turns it into
instructions that run on the hardware directly.
4: A compiler searches all the errors of a program and
lists them. If the program is error free then it converts
the code of program into machine code and then the program
can be executed by separate commands.
1: An interpreter generally processes the source code
directly or first tokenizes it into a byte-code type form
to interpret that.
2: An interpreter checks the errors of a program statement
by statement. After checking one statement, it converts
that statement into machine code and then executes that
statement. The process continues until the last statement
of program occurs.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / urvashi sahu
#Compiler produce the object code and interpreter doesn't
produce the object code
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / krishna gavidi
compiler compile the source code while interpreter compile
the code that is allready compiled that is in the form of
bytecode
compiler scan whole code at once so it is fast incompare
with interpreter while interpreter comiled the byte code
line by line and convert in machine code so it is slow in
compare with compiler
Is This Answer Correct ? | 6 Yes | 7 No |
Answer / sushant tambad
compiler:translates the entire program.
interpreter:translates the program line by line.
compiler:requires more main memory.
interpretor:requires less memory.
compiler:converts the entire program to machine code,where all the syntax error are removed and executes the machine code.
interpretor:each time the program is executed every line is checked for syntax then converts to equivalent object code directly.
compiler : execution time is less
interpretor: execution time is more
Is This Answer Correct ? | 3 Yes | 4 No |
Answer / avm
interpreter is one type of compiler it convert machine code
to byte code in java only
Is This Answer Correct ? | 1 Yes | 4 No |
What are the different servers in sas? : sas-grid-administration
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?
how does sas know on which server the piece of code to be executed ? say if a proc olap code is written then how the sas application would detect on which server to execute.
if a program has some 1000 or more line and how to know whether the syntax of the particular code is correct without checking it manually
Explain the difference between using drop = data set option in set and data statement?
explain about data integrator metadata reports? : Sas-di
data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.
what are all the default values getting in PROC MEANS...???
What is the difference between INPUT and INFILE ?
what is the function of catx syntax? : Sas-administrator
How would you determine the number of missing or nonmissing values in computations?
what does .. meant in sas macros