COMPUTER SOFTWARE
PROGRAMMING LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Language Translator
|
|
Compiler
|
|
Interpreter
|
|
None of the above
|
Detailed explanation-1: -2)Interpreter-An interpreter also translates a program written in high level language into machine language but it executes one statement at a time and is therefore, slower than a compiler.As the interpreter checks a program line by line, it stops whenever an error is encountered.
Detailed explanation-2: -In translating, a translator program converts the program into a form the computer can understand and, in the process, detects programming language errors, which are called syntax errors. A common translator is a compiler, which translates the entire program at one time and gives error messages called diagnostics.
Detailed explanation-3: -An interpreter translates source code into object code one instruction at a time. It is similar to a human translator translating what a person says into another language, sentence by sentence. The resulting object code is then executed immediately. The process is called interpretation .