Time Left - 15:00 mins

GATE CS 2021: Compiler design Quiz 5 (App update required to attempt this test)

Attempt now to get your rank among 518 students!

Question 1

Compile Time stacks are not used for

Question 2

Which languages necessarily need heap allocation in the runtime environment?

Question 3

Which of the following are correct?

1) Control stack keeps track of live procedure activations

2) Activation records can be managed with the help of stack

3) Dangling reference is a reference to storage that has been deallocated.

Question 4

Block Structures, procedures and recursion can be handled in compiler by a

Question 5

What is output by calling P in a language with static scope will be?

procedure P;

x: integer

procedure q;

begin

x = x + 1;

end;

procedure r;

x: integer;

begin x=5;

q;

write(x);

end;

begin //procedure starts here

x = 3;

r;

end;

Question 6

Match the following objects to the storage they use in memory:
  • 518 attempts
  • 3 upvotes
  • 4 comments
Oct 14GATE & PSU CS

Posted by:

Harshita AgarwalHarshita AgarwalMember since Jul 2020
Share this quiz   |