Runtime Environment: GATE CS Previous Year Questions

Runtime Environment · Compiler Design

10 questions · asked in 9 of 27 years (2000–2026)

MCQ 101-mark 8 · 2-mark 2

2000Questions per year2026

Questions 1–5 of 10

Q1GATE 2026 (Session 2)1 markMCQ−0.33 if wrong
In C runtime environment, which one of the following is stored in heap?

Q2GATE 2021 (Session 1)1 markMCQ−0.33 if wrong
Consider the following statements.

S1: The sequence of procedure calls corresponds to a preorder traversal of the activation tree.
S2: The sequence of procedure returns corresponds to a postorder traversal of the activation tree.

Which one of the following options is correct?

Q3GATE 2016 (Session 2)1 markMCQ−0.33 if wrong
Match thefollowing:
(P) Lexical analysis(i) Leftmost derivation (Q) Top down parsing(ii) Type checking (R) Semantic analysis(iii) Regular expressions (S) Runtime environments(iv) Activation records

Q4GATE 2014 (Session 2)1 markMCQ−0.33 if wrong
Which one of the following is NOT performed during compilation?

Q5GATE 2014 (Session 3)1 markMCQ−0.33 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.

Keep practising

Topics in Compiler Design

All CS topics ›