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

Questions 31-35 of 50

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

Question 31

MCQ · Single Correct 1 mark

What is the main limitation of the Reference Counting garbage collection algorithm?

Answers for question 31

Question 32

MCQ · Single Correct 1 mark

The Mark-and-Sweep Garbage Collection algorithm operates in two phases. What occurs during the 'Mark' phase?

Answers for question 32

Question 33

MCQ · Single Correct 1 mark

In a loop in a control flow graph, a node $d$ is said to 'dominate' node $n$ (written $d \text{ dom } n$) if:

Answers for question 33

Question 34

MCQ · Single Correct 1 mark

In Control Flow Graphs, what is a 'Back Edge'?

Answers for question 34

Question 35

MCQ · Single Correct 1 mark

What is a 'Natural Loop' in a Control Flow Graph?

Answers for question 35
Scroll to Top