Free practice · single-choice · easy
Practice
Read a traceback first
A reproducible Python failure includes a traceback. What should the reviewer inspect first?
Evidence-led debugging
Change code only after the failure and cause are reproducible
- ReproduceCapture exact observed behavior
- ClassifySyntax, runtime, or logic
- IsolateReduce input and inspect state
- HypothesisTest one possible cause
- FixChange the proven cause only
- VerifyRerun and retain regression tests
A focused debugging record connects exact inputs, observed state, one falsifiable hypothesis, a minimal change, and regression evidence.