Skip to content
Sharp

Automation Scripts · interview question

What is the clearest sign that code around import/export mini project should be refactored?

Multiple choiceHardchapter-4-curatedpremiumautomation-scriptsimport-export-mini-project
Choose one answer
Answer and explanation

Correct answer

A. When the rule is no longer easy to trace, explain, or change without breaking nearby behavior.

Why

A refactor is justified when the code stops communicating its intent. Combine file reading, row normalization, and output writing into one coherent chapter project that can be tested later.

Test yourself on Automation Scripts

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

Start free test
All Automation Scripts questions →