Discussion
In compiler design 'reducing the strength' refers to
Answer: B
Reducing the strength in a compiler means replacing an expensive operation with a cheaper machine instruction, for example replacing a multiplication by 2 with a shift or an addition, or a multiplication inside a loop by a repeated addition. It is therefore a code optimization using cheaper machine instructions.
It has nothing to do with reducing the range of the input values, and it is the opposite of reducing the efficiency of the program, since its purpose is to make the generated code faster. So the other options are wrong.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development