Skip to content
Sharp

Project Tooling · interview question

A bug appears around module boundaries. What is the strongest first debugging move?

Multiple choiceEasychapter-6-curatedpremiumproject-toolingmodule-boundaries
python
from order_ops.pricing import compute_total
from order_ops.validation import ensure_valid_order
Choose one answer
Answer and explanation

Correct answer

A. Trace one concrete example, inspect the state transitions, and compare them to the intended rule before rewriting anything.

Why

That approach is reliable because it creates evidence. Throwing unrelated helpers into one file makes import boundaries meaningless and future edits riskier.

Test yourself on Project Tooling

A free test with instant, explained results. No account needed.

Start free test
All Project Tooling questions →