CODE GENERATION
ROLE OF CODE GENERATION
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Interpreters translate high-level language into machine code .
|
True
|
|
False
|
|
Either A or B
|
|
None of the above
|
Explanation:
Detailed explanation-1: -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. In simple language, it converts high-level language into machine language.
Detailed explanation-2: -Both compiler and interpreters do the same job which is converting higher level programming language to machine code. However, a compiler will convert the code into machine code (create an exe) before program run. Interpreters convert code into machine code when the program is run.
Detailed explanation-3: -A compiler is a translator program that converts a high-level language source program into a machine language object program.
There is 1 question to complete.