BPSC TRE – Compiler Design: Runtime Environments & Code Optimization | Test 1

Questions 21-25 of 50

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

Question 21

MCQ · Single Correct 1 mark

Combining two loops that have the same iteration space and do not depend on each other's computations into a single loop is called:

Answers for question 21

Question 22

MCQ · Single Correct 1 mark

Which graph algorithm technique is used to solve the Register Allocation problem by modeling register conflicts between variable live ranges?

Answers for question 22

Question 23

MCQ · Single Correct 1 mark

In a register allocation interference graph, what do the nodes and edges represent?

Answers for question 23

Question 24

MCQ · Single Correct 1 mark

When a compiler runs out of physical hardware registers during register allocation, variables are saved to stack memory. This process is called:

Answers for question 24

Question 25

MCQ · Single Correct 1 mark

What is a 'Live Variable' at a given program point?

Answers for question 25
Scroll to Top