GATE CSE SDT, Intermediate Code, Optimization & Code Generation – Compiler Design | Set 1

Questions 56-60 of 100

0% completed (0/100 answered)
Your score 0/100 0 answered
Correct 0 Incorrect 0 Unanswered 100 Accuracy 0%

Question 56

MCQ · Single Correct 1 mark

If 'x = 5' is assigned, and subsequent statement 'y = x + 2' is replaced by 'y = 5 + 2' at compile time, this optimization is:

Answers for question 56

Question 57

MCQ · Single Correct 1 mark

What is 'Loop-Invariant Code Motion' (Code Motion)?

Answers for question 57

Question 58

MCQ · Single Correct 1 mark

What is 'Dead Code Elimination'?

Answers for question 58

Question 59

MCQ · Single Correct 1 mark

In Data-Flow Analysis, an expression 'x + y' is said to be 'Available' at point p if:

Answers for question 59

Question 60

MCQ · Single Correct 1 mark

A variable 'x' is defined as 'Live' at point p if:

Answers for question 60
Scroll to Top