Differentiate between compiler and interpreter?

Answers were Sorted based on User's Feedback



Differentiate between compiler and interpreter?..

Answer / jo

Compiler compiles the whole code and generates the error at
the end whereas interpreter compiles the code line by line
and generates the error immediately.

Is This Answer Correct ?    45 Yes 7 No

Differentiate between compiler and interpreter?..

Answer / somenath

compiler is a program that translates code of a programming
language in machine code. it is a special program that
processes statements written in a particular programming
language ang converts them into machine language, a "binary
program" or "code", that a computer processor uses while
interpreters translate code one line a time, executing each
line as it is "translated" much the way a foreign language
interpreter would translate a book, y translating one line
it a time. interpreters do generate bnary code, but that
code is never compiled into one program entity.so tht is
very help full to computer programing language.

Is This Answer Correct ?    17 Yes 1 No

Differentiate between compiler and interpreter?..

Answer / hikaru lee

compiler is a program that translates code of a programming
language in machine code. it is a special program that
processes statements written in a particular programming
language ang converts them into machine language, a "binary
program" or "code", that a computer processor uses while
interpreters translate code one line a time, executing each
line as it is "translated" much the way a foreign language
interpreter would translate a book, y translating one line
it a time. interpreters do generate bnary code, but that
code is never compiled into one program entity.

Is This Answer Correct ?    20 Yes 8 No

Differentiate between compiler and interpreter?..

Answer / bhakti thakre

Hi All.
I think compiler do the compilation of the program
completely and then give error. But interpreter compiles the
whole code line by line.

Is This Answer Correct ?    11 Yes 3 No

Post New Answer

More Operating Systems General Concepts Interview Questions

How do I copy a path to a shared drive?

0 Answers  


How do I sort files?

0 Answers  


What is cache memory?

1 Answers  


Explain thrashing.

0 Answers  


State the main difference between logical from physical address space.

0 Answers  






How does the system detect thrashing?

0 Answers  


How do I know if my cpu is overheating?

0 Answers  


How do I find recently downloaded files?

0 Answers  


Explain a heavy weight process?

0 Answers   Aricent,


What is the advantage of a multiprocessor system?

0 Answers  


What do you understand by multi-threading and multi-tasking?

0 Answers   Tech Mahindra,


How to stop running thread?

0 Answers  


Categories