CODE GENERATION
ROLE OF CODE GENERATION
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
True
|
|
False
|
|
Either A or B
|
|
None of the above
|
Detailed explanation-1: -Role of Interpreter. The interpreter converts the source code line-by-line during RUN Time. Interpret completely translates a program written in a high-level language into machine level language. Interpreter allows evaluation and modification of the program while it is executing.
Detailed explanation-2: -The Interpreter translates a program written in a High-level language into machine-understandable code one line at a time during the execution of the program. There is no intermediate code generated during the conversion of the program to machine understandable code.
Detailed explanation-3: -An interpreter translates source code into object code one instruction at a time. It is similar to a human translator translating what a person says into another language, sentence by sentence. The resulting object code is then executed immediately. The process is called interpretation .