Match the columns with appropriate optimization that can be applied to the left column.

Column - I                                     Column - II
I. a = b + 0                                   a.   Constant folding
II. a = b  * 32                                b.  Strength Reduction
III.PI = 3.142; x = PI/2                 c. Code Movement
IV. for(i = 0; i < 10; i++)               d. Algebraic Simplification      
                   a = b * c;                  e. Constant propagation

1
I-a, II-b, III-e, IV-c
2
I-a, II-b, III-e, IV-e
3
I-d, II-b, III-e, IV-c
4
I-d, II-d, III-a, IV-c

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation