QuestenaPractice that shows what to review next
Question 87

A traceback contains several call frames. In what order are ordinary frames presented as the display approaches the site where the exception arose?

  1. In alphabetical order by function name
  2. From the failure site back to the outermost call only
  3. From the outermost reported call toward the failure siteCorrect answer
  4. In an unspecified order that changes each run

Explanation

The display proceeds from the outermost reported call toward progressively newer calls and ends at the most recent frame where the failure surfaced. Treating the earliest frame as the exact site ignores the call chain recorded below it.

Continue with this test

Start practice
Question 87: A traceback contains several call frames. In what order are… · Python Fundamentals · Questena