GATE Compiler Design Full Mock Test SET-1

Questions 91-95 of 100

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

Question 91

MCQ · Single Correct 1 mark

In expression tree labeling, if label(left) = l1 and label(right) = l2 with l1 != l2, what is the label of the parent node?

Answers for question 91

Question 92

MCQ · Single Correct 1 mark

Which garbage collection technique maintains an explicit count of references to each heap object, reclaiming memory immediately when the count drops to 0?

Answers for question 92

Question 93

MCQ · Single Correct 1 mark

What is a major limitation of basic Reference Counting garbage collection?

Answers for question 93

Question 94

MCQ · Single Correct 1 mark

Which garbage collection algorithm operates in two phases: first traversing root pointers to flag reachable objects, and second scanning heap memory to collect unflagged objects?

Answers for question 94

Question 95

MCQ · Single Correct 1 mark

In runtime environments, parameter passing by 'Reference' means:

Answers for question 95
Scroll to Top