Runtime Storage Organization questions

Q18

GATE CS 2014 CS-2Runtime EnvironmentsMCQ1 mark−1/3 if wrong
Which one of the following is NOT performed during compilation?
Show answer without attempting

Answer: A

Q18

GATE CS 2014 CS-3Runtime EnvironmentsMCQ1 mark−1/3 if wrong
Which of the following statements are CORRECT?

1) Static allocation of all data areas by a compiler makes it impossible to implement recursion.
2) Automatic garbage collection is essential to implement recursion.
3) Dynamic allocation of activation records is essential to implement recursion.
4) Both heap and stack are essential to implement recursion.
Show answer without attempting

Answer: D

0/20 correct0 marks