Question 5191 – UGC NET CS 2012 Dec-Paper-2
November 5, 2023
UGC NET CS 2012 Dec-Paper-2
November 5, 2023
Question 5191 – UGC NET CS 2012 Dec-Paper-2
November 5, 2023
UGC NET CS 2012 Dec-Paper-2
November 5, 2023

UGC NET CS 2012 Dec-Paper-2

Question 11
In compiler design ‘reducing the strength’ refers to
A
reducing the range of values of input variables.
B
code optimization using cheaper machine instructions.
C
reducing efficiency of program.
D
None of the above
Question 11 Explanation: 
In compiler design ‘reducing the strength’ refers to code optimization using cheaper machine instructions.
Example:
Dividing by 2→ Use right shift by 2.
Multiplication by 2→ Use left shift by 2.
Correct Answer: B
Question 11 Explanation: 
In compiler design ‘reducing the strength’ refers to code optimization using cheaper machine instructions.
Example:
Dividing by 2→ Use right shift by 2.
Multiplication by 2→ Use left shift by 2.

Leave a Reply

Your email address will not be published. Required fields are marked *