MCQ · 1 mark · Runtime Environments

GATE CS 2021 CS-1 — Q4

Consider the following statements.
S1S_1: The sequence of procedure calls corresponds to a preorder traversal of the activation tree.
S2S_2: The sequence of procedure returns corresponds to a postorder traversal of the activation tree.
Which one of the following options is correct?
Select one option