nerdexam
Python_Institute

PCEP-30-02 · Question #118

What do you call a tool that lets you launch your code step-by-step and inspect it at each moment of execution?

The correct answer is B. A debugger. A debugger is specifically designed to pause execution at defined breakpoints, let you step through code line by line, and inspect variable values and program state at each moment - exactly what the question describes. An editor (A) is a text tool for writing and editing source…

Question

What do you call a tool that lets you launch your code step-by-step and inspect it at each moment of execution?

Options

  • AAn editor
  • BA debugger
  • CA console

How the community answered

(31 responses)
  • A
    6% (2)
  • B
    81% (25)
  • C
    13% (4)

Explanation

A debugger is specifically designed to pause execution at defined breakpoints, let you step through code line by line, and inspect variable values and program state at each moment - exactly what the question describes. An editor (A) is a text tool for writing and editing source code, but it doesn't execute or inspect runtime behavior. A console (C) lets you view output and run commands, but it doesn't offer step-by-step execution control or live inspection of program state. Memory tip: Think of a debugger like a "pause button" for your code - it de-bugs by letting you watch the bug happen in slow motion, step by step.

Community Discussion

No community discussion yet for this question.

Full PCEP-30-02 Practice