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 |
Hi Friends, My name is Priya,am new to this Forum. am looking for SAS Platform Administration Interview Questions.I searched every where but I couldn't find any where.please can anyone help me with the FAQ's. It would be a great favor to me if you can email the Interview Questions to priyafeb84@gmail.com
Mention what is PROC in SAS?
Which command is used to perform sorting in sas program?
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
Given an unsorted data set, how to read the last observation to a new data set?
I have 2 data sets A & B. Both have a variable called Age in them, each of them specifying a different functionality. In my program I use bot these data sets. How do I specify which Age variable I want to use?
What are the functions done while Compilation...?
How to get the repeated values by using sql in sas ?
name some data transformation used in sas di? : Sas-di
What are the features of base sas system?
what is the one statement to set the criteria of data that can be coded in any step? : Sas programming
% let A=3+4 what is result