Program Design and Development
導入済み
6:10
創造的開発
Here is a program that should print the average of two numbers. It runs. It does not crash. It prints an answer — and the answer is wrong. Give it four and six…
英語のナレーション・英語と中国語の字幕を切り替え可能
このレッスンの内容
| English | 意味 |
|---|---|
| process/ˈprəʊses/ | プロセス |
| development process/dɪˈveləpmənt ˈprəʊses/ | 開発プロセス |
| iterative/ˈɪtərətɪv/ | 反復的 |
| prototype/ˈprəʊtəʊtaɪp/ | プロトタイプ |
| test/test/ | テスト |
| Refining/rɪˈfaɪnɪŋ/ | 改善 |
| incremental/ˌɪŋkrɪˈmentl/ | 増分的 |
| program requirement/ˈprəʊɡræm rɪˈkwaɪəmənt/ | プログラム要件 |
| Pseudocode/ˈsuːdəʊkəʊd/ | 擬似コード |
| comment/ˈkɒment/ | コメント |
コーディングはプロセスであり、一度きりの爆発ではありません
- プログラムを書くことはプロセスであり、一度きりのタイピングの塊ではありません。
- すぐにデザインやコーディングをスキップすることは、通常時間を無駄にします。
- 経験豊富なプログラマーは、繰り返し可能な開発プロセスに従います。
- 最も良い点は、このプロセスがループする — 各サイクルで少し改善できることです。
Good practice is to start coding immediately, skipping design.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Skipping design usually wastes time — plan first, then code.
このカードは修正されたため、翻訳が更新されるまで英語で表示されます。
The iterative cycle
- A common cycle has four stages: investigate, design, prototype 原型, test 测试.
- Investigate: understand the problem and the users — what inputs and outputs matter?
- Design the structure, build a rough prototype, then test it with many inputs.
- The process can be iterative 迭代的, repeating and refining work, and incremental 增量的, building the program in portions.

The stages of program development, with testing feeding back to fix and refine
The iterative development cycle
Development loops through investigate, design, prototype, and test — improving the program a little on each pass.
Order one pass of the development cycle.
難易度 3/5 · 200 コイン + 今日初回達成時の小ボーナス
Investigate → design → prototype → test, then loop back.
A process that repeats its stages, improving a little each time, is ______.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Iterative and incremental development loops to refine the program.
計画ツール
- program requirement (プログラム要件) とは、プログラムが必ず行うべき具体的な事柄 — 焦点を維持するためにこれらを最初にリストアップします。
- 擬似コードは、実際のコードを書く前に論理の自然言語でのスケッチです。
- 英語のように読めますが、プログラムの一連の手順の形に沿っているため、チームで計画に合意できます。
推測ゲームのための擬似コード: 秘密の数字を選ぶ → ユーザーに推測を求める → 高すぎたり低すぎたりすればそう伝えて再度求める → 正しいまで繰り返す。正確な構文はなく、単なる計画です。
Pseudocode is:
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
It reads like English but follows a program's step-by-step shape.
A comment in source code is:
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Comments explain tricky code to human readers.
Refining a program after testing is a normal, expected part of development.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
A first version is rarely the final one.
理解しやすく保つ
- コメントとは、コンピュータが無視するが人間が読むソースコード内の注釈です。
- チームはまた、自身の考えを記録する開発ログも維持します。
- 重要なマインドセット: 最初のバージョンはほぼ最終版ではありません。
- テスト後のプログラムを微調整することは正常であり、当然のことであり、失敗ではありません。
プログラミングは反復的な開発プロセスです:調査 → 設計 → プロトタイプ → テスト、というループを回して、各サイクルごとに少しずつ改善します。明確な要件と擬似コードで計画し、コメントを使ってコードの可読性を保ち、修正を続けることを想定してください。初版が最終版になることはほとんどありません。
何が問題でしたか?この内容はサイトの運営チームだけが確認します。