1GATE CSE 2025 | Set 1 | Question 13Code OptimizationMCQ1 markWhich ONE of the following techniques used in compiler code optimization uses live variable analysis?Single correctARun-time function call managementBRegister assignment to variablesCStrength reductionDConstant folding Show answer
2GATE CSE 2014 | Set 1 | Question 17Code OptimizationMCQ1 markWhich one of the following is FALSE?Single correctAA basic block is a sequence of instructions where control enters the sequence at the beginning and exits at the end.BAvailable expression analysis can be used for common subexpression elimination.CLive variable analysis can be used for dead code elimination.Dx=4∗5⇒x=20x = 4 * 5 \Rightarrow x = 20x=4∗5⇒x=20 is an example of common subexpression elimination. Show answer