COMPILER DESIGN

TOOLS AND TECHNIQUES FOR COMPILER DESIGN

MISCELLENOUS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The whole program is translated into machine code before it is run
A
Assembler
B
Compiler
C
Interpreter
D
None of the above
Explanation: 

Detailed explanation-1: -A compiler takes the source code as a whole and translates it into object code all in one go. Once converted, the object code can be run at any time. This process is called compilation . All of the object files used in a program must be combined before the program can be run.

Detailed explanation-2: -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-3: -In order to translate source code into machine code, a compiler or interpreter must be used. Machine translation is the process of translating text from one language to another. In order to translate source code into machine code, a compiler or interpreter must be used.

There is 1 question to complete.