COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
converts the code written in high-level language into object file, translate entire programs into machine code, which can be run later on the target computer
A
ASSEMBLER
B
INTERPRETER
C
COMPILER
D
None of the above
Explanation: 

Detailed explanation-1: -A compiler is a special program that translates a programming languageā€™s source code into machine code, bytecode or another programming language.

Detailed explanation-2: -Detailed Solution. 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.

Detailed explanation-3: -A program that converts a high-level language source file into a machine-language file is called a compiler.

Detailed explanation-4: -A compiler is a translator program which translates a high level programming language into equivalent machine language programs.

There is 1 question to complete.