GATE Compiler Design Full Mock Test SET-1

Questions 81-85 of 100

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

Question 81

MCQ · Single Correct 1 mark

In compiler back-ends, Register Allocation via Graph Coloring maps variables to registers by modeling variables as nodes and drawing an edge between two nodes if:

Answers for question 81

Question 82

MCQ · Single Correct 1 mark

If a Register Interference Graph (RIG) cannot be colored using K available physical registers, what action must the compiler perform?

Answers for question 82

Question 83

MCQ · Single Correct 1 mark

What NP-complete problem does Chaitin's register allocation algorithm solve using heuristics?

Answers for question 83

Question 84

MCQ · Single Correct 1 mark

The Sethi-Ullman algorithm (Ershov numbers) is used in code generation for:

Answers for question 84

Question 85

MCQ · Single Correct 1 mark

In runtime environment organization, an Activation Record (Stack Frame) contains:

Answers for question 85
Scroll to Top