Question 8992 – GATE 2011
November 13, 2023Question 14282 – Graphs-and-Tree
November 13, 2023Question 14235 – Graphs-and-Tree
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?
Correct Answer: B
Question 2 Explanation:
The given statements are true, they are well known facts.
- The sequence of procedure calls corresponds to a preorder traversal of the activation tree.
- The sequence of returns corresponds to a postorder traversal of the activation tree.
S1is false and S2is false
S1is true and S2is true
S1is true and S2is false
S1is false and S2is true
Subscribe
Login
0 Comments