ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Compiler
|
|
Assembler
|
|
Interpreter
|
|
Executor
|
Detailed explanation-1: -Compilers are a type of translator that support digital devices, primarily computers. The name compiler is primarily used for programs that translate source code from a high-level programming language to a lower level language (e.g., assembly language, object code, or machine code) to create an executable program.
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. A compiler takes the program code (source code) and converts the source code to a machine language module (called an object file).
Detailed explanation-4: -A compiler is a special program that translates a programming languageās source code into machine code, bytecode or another programming language. The source code is typically written in a high-level, human-readable language such as Java or C++.