In compiler design “reducing the strength” refers to

2012

In compiler design “reducing the strength” refers to

  1. A.

    reducing the range of values of input variables

  2. B.

    code optimization using cheaper machine instructions

  3. C.

    reducing efficiency of program

  4. D.

    None of the above

Attempted by 45 students.

Show answer & explanation

Correct answer: B

Strength reduction is a compiler optimization technique designed to improve performance. It replaces computationally expensive operations, such as multiplication or division, with cheaper alternatives like addition or bit shifting.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Mppsc Assistant Professor