演習 › 全問
問題 Q3-16
72 / 120分野3・反復的な改良
まだ解いていません。
移行用のスクリプトで、値が空(null)のときの扱いだけがうまくいかない。直すのに最も効果的な伝え方はどれか。
正解は C
- A曖昧な依頼では、期待が伝わりません。
- B全部の書き直しは、過剰で、うまくいっている部分まで壊れる恐れがあります。
- C正解です。例外的なケースの入力と期待する出力を、具体的なテストにして渡すと、狙いどおりに直せます。
- D問題を放置することになります。
考え方:例外的なケースは、入力と期待する出力の具体的なテストで伝える。
出典:Claude Certified Architect – Foundations Exam Guide v1.0(英語)
Concrete input/output examples as the most effective way to communicate expected transformations when prose descriptions are interpreted inconsistentlyhttps://everpath-course-content.s3-accelerate.amazonaws.com/instructor…(取得 2026-11-20)
出典:Claude Certified Architect – Foundations Exam Guide v1.0(英語)
Test-driven iteration: writing test suites first, then iterating by sharing test failures to guide progressive improvementhttps://everpath-course-content.s3-accelerate.amazonaws.com/instructor…(取得 2026-11-20)