ITPEC FE Morning October 2022 Question 48

Source exam: ITPEC FE Morning October 2022Topic: Software Development

ITPEC FE Morning October 2022 — Question 48 of 80

Stack Trace — a record of active call stack frames used for debugging.

A stack trace shows the sequence of method/function/subroutine calls that were active at the point where an error occurred.

Why not others:
- (b) Stacking/gathering traces left by other programs — stack trace relates to a single program's call stack, not other programs

- (c) Traces left in memory from a stack data structure — confuses the call stack with the abstract data structure "stack"

- (d) Tracing stack data structure used in the program — same confusion; stack trace refers to the call stack, not a stack data structure

Key rule: Stack trace = call stack snapshot at the point of failure, showing the chain of function calls.

AI-generated — may contain errors

The original exam layout is preserved in the image so diagrams, formulas, tables, and code remain accurate.

This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official FE past-paper collection or Report an issue.