ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
the language processor translates the program into object code as a whole ____
|
linker
|
|
debugger
|
|
compiler
|
|
interpreter
|
Explanation:
Detailed explanation-1: -The correct answer is Compiler. A compiler takes the program code (source code) and converts the source code to a machine language module (called an object file).
Detailed explanation-2: -Computer programs are usually written in high-level programming languages (like C++, Python, and Java). Further, to make them understandable by the computer, a language processor needs to translate the source code into machine code (also known as object code, which is made up of ones and zeroes).
Detailed explanation-3: -2. Assembler: An assembler converts programs written in assembly language into machine code. It is also referred to assembler as assembler language by some users.
There is 1 question to complete.