In analyzing the compilation of PL/I program, the description “resolving symbolic address (labels) and generating machine language” is associated with A. Assembly and output B. Code generation C. Storage assignment D. Syntax analysis E. None of the above

[amp_mcq option1=”Assembly and output” option2=”Code generation” option3=”Storage assignment” option4=”Syntax analysis E. None of the above” correct=”option2″]

The correct answer is B. Code generation.

Code generation is the process of converting a high-level program into a low-level program, such as machine code. This is the final step in the compilation process, and it is where the symbolic addresses (labels) are resolved and the machine language is generated.

Assembly and output is the process of assembling the machine language into a binary file that can be executed by the computer. This is the next step after code generation, and it is not associated with the description “resolving symbolic address (labels) and generating machine language”.

Storage assignment is the process of allocating memory for the variables and data structures in a program. This is done during the compilation process, but it is not associated with the description “resolving symbolic address (labels) and generating machine language”.

Syntax analysis is the process of checking the program for syntax errors. This is the first step in the compilation process, and it is not associated with the description “resolving symbolic address (labels) and generating machine language”.

None of the above is not the correct answer.