

InterviewSolution
Saved Bookmarks
1. |
What is the common feature between intrepreter and compiler |
Answer» Similarities between compiled and interpreted languages are given below:<br>\tCompiler transforms code written in a high-level programming language into the machine code, at once, before program runs, whereas an Interpreter coverts each high-level program statement, one by one, into the machine code, during program run.\tCompiled code runs faster while interpreted code runs slower.\tCompiler displays all errors after compilation, on the other hand, the Interpreter displays errors of each line one by one.\tCompiler is based on translation linking-loading model, whereas Interpreter is based on Interpretation Method.\tCompiler takes an entire program whereas the Interpreter takes a single line of code. | |