COMPILER DESIGN

CODE GENERATION

ROLE OF CODE GENERATION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Interpreters translate source code all at once .
A
True
B
False
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -Both compilers and interpreters are programs that convert the source code (high-level language) into machine-level language so that the computers can understand them.

Detailed explanation-2: -A compiler translates complete high-level programming code into machine code at once. An interpreter translates one statement of programming code at a time into machine code. As the source code is already converted into machine code, the code execution time becomes short.

Detailed explanation-3: -The correct answer is Compiler.

There is 1 question to complete.