ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Software that translates and executes a high level language program one line at a time is known as a?
|
Compiler
|
|
Interpreter
|
|
Assembler
|
|
Executor
|
Explanation:
Detailed explanation-1: -The correct answer is Interpreter. A computer program that translates one program’s instructions at a time into machine language is called an Interpreter. An interpreter translates one instruction at a time and executes that instruction immediately.
Detailed explanation-2: -A program that converts a high-level language source file into a machine-language file is called a compiler.
Detailed explanation-3: -The correct answer is Compiler. It is a program that translates a source program written in some high-level programming language into machine code for some computer architecture. In simple language, it converts high-level language into machine language.
There is 1 question to complete.