In compiler terminology reduction in strength means

20112025

In compiler terminology reduction in strength means

  1. A.

    Replacing run time computation by compile time computation

  2. B.

    Removing loop invariant computation

  3. C.

    Removing common subexpressions

  4. D.

    replacing a costly operation by a relatively cheaper one

Attempted by 127 students.

Show answer & explanation

Correct answer: D

In compiler terminology, reduction in strength refers to replacing expensive operations with cheaper equivalents. For example, substituting multiplication by a constant with bit shifts or addition.

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

Explore the full course: Isro