Q1
What does the interpreter do when you reference variables in other scopes?
A.
Traverses the queue
B.
Traverses the stack
AnswerC.
Finds the bugs
D.
None of the mentioned
Answer: Option B
Solution
Answer: Option B
Solution:
Normally when you reference variables in other scopes— at the global level, in other namespaces, and so on—the interpreter needs to traverse the stack to get to the variable.