In analyzing the compilation of PL/I program, the term "Machine independent optimization" is assosiated with
A. | recognization of basic syntactic construction through reductions |
B. | recognition of basic elements and creation of uniform symbols |
C. | creation of more optical matrix |
D. | use of macro-processor to produce more optimal assembly code |
Option: C Explanation : Click on Discuss to view users comments. |
In analyzing the compilation of PL/I program the description " resolving symbolic address ( lables ) and generating machine language " is associated with
A. | assembly and output |
B. | code generation |
C. | storage assignment |
D. | syntax analysis |
Option: A Explanation : Click on Discuss to view users comments. |
In analyzing the compilation of PL/I program the description " creation of more optimal matrix " is assosiated with
A. | assembly and output |
B. | code generation |
C. | syntax analysis |
D. | machine independent optimization |
Option: D Explanation : Click on Discuss to view users comments. |
Peep-hole optimization is a form of
A. | loop optimization |
B. | local optimization |
C. | constant folding |
D. | data flow analysis |
Option: C Explanation : Redundant instructions may be discarded during the final stage of compilation by using a simple optimizing technique called peephole optimization.It is a kind of optimization performed over a very small set of instructions in a segment of generated code. The set is called a "peephole" or a "window". It works by recognising sets of instructions that can be replaced by shorter or faster sets of instructions and it uses some common techniques : Constant folding. So option (C) is correct Click on Discuss to view users comments. thangamari said: (9:54am on Thursday 6th October 2016)
local optimization..............bcoz isro 2016.....answer is B...objection question..for many people the correct answer is C..but isro is not changed the answer...
|
Syllabus Covered in this section is
This Section covers Multiple Choice Questions Answers in Compiler Design .
Who can benefit -
Various Search Terms used for this section are