Skip to content
Sharp

Project Tooling · interview question

A bug appears around virtual environments. What is the strongest first debugging move?

Multiple choiceMediumchapter-6-curatedpremiumproject-toolingvirtual-environments
bash
python -m venv .venv
source .venv/bin/activate
python -m pip install -U pip
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. Global-package drift creates confusing machine-specific bugs that look like code problems.

Test yourself on Project Tooling

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

Start free test
All Project Tooling questions →