GeekInterview.com
Series: Subject: Topic:
Question: 133 of 142

Differentiate between Complier and Interpreter?

An interpreter reads one instruction at a time and carries out the actions implied by that instruction.  It does not perform any translation.  But a compiler translates the entire instructions.
Asked by: Interview Candidate | Asked on: Mar 6th, 2005
Showing Answers 1 - 1 of 1 Answers
Sandhya.Kishan

Answered On : Apr 23rd, 2012

View all answers by Sandhya.Kishan

The compiler converts a high level language instruction into into machine language where as an interpreter converts the high level instruction into some intermediate form and after that, the instruction is executed.

The entire program is executed by the compiler before execution,whereas the interpreter translates the first line, and then executes it and so on.

List of errors is created by the compiler after the compilation process where as an interpreter stops translating until the first error is rectified.

An independent executable file is created by the compiler whereas interpreter is required by an interpreted program each time.








  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.