ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
A program that translates high-level language into machine language line-by-lineWhat is this Translator?
|
Assembler
|
|
Interpreter
|
|
Compiler
|
|
None of the above
|
Explanation:
Detailed explanation-1: -A program that converts a high-level language source file into a machine-language file is called a compiler.
Detailed explanation-2: -A compiler translates the entire program written in a high-level language to machine language prior to execution. An interpreter translates a program line by line during execution.
Detailed explanation-3: -A compiler is a computer program that translates a program written in a high-level language to the machine language of a computer.
There is 1 question to complete.