...
NTA UGC NET DEC-2022 Paper-2
October 10, 2023
Code-Optimization
October 10, 2023
NTA UGC NET DEC-2022 Paper-2
October 10, 2023
Code-Optimization
October 10, 2023

Code-Optimization

Question 6
Some code optimization are carried out on the intermediate code because:
A
they enhance the probability of the compiler to other target processors
B
program analysis is more accurate on intermediate code than on machine code
C
the information from data flow analysis cannot otherwise be used for optimization
D
the information from the front end cannot otherwise be used for optimization
Question 6 Explanation: 
The code-optimization on intermediate code generation will always enhance the portability of the compiler to target processors. The main reason behind this is, as the intermediate code is independent of the target processor on which the code will be executed, so the compiler is able to optimize the intermediate code more conveniently without bothering the underlying architecture of the target processor.
Correct Answer: A
Question 6 Explanation: 
The code-optimization on intermediate code generation will always enhance the portability of the compiler to target processors. The main reason behind this is, as the intermediate code is independent of the target processor on which the code will be executed, so the compiler is able to optimize the intermediate code more conveniently without bothering the underlying architecture of the target processor.
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!