The development life cycle and design tools
Diperkenalkan
9:16
Siklus Hidup Pengembangan Program
Setiap aplikasi di telepon Anda ditulis oleh seseorang seperti ini. Namun mereka tidak mulai dengan mengetik kode. Sebelum baris pertama, masalah dipelajari, solusinya dirumuskan…
Narasi bahasa Inggris · takarir bahasa Inggris dan 中文 yang dapat dipilih
Dalam pelajaran ini
| English | Makna |
|---|---|
| program/ˈprəʊɡræm/ | A set of instructions specifying operations for a computer to carry out. |
| program development life cycle/ˈprəʊɡræm dɪˈveləpmənt laɪf ˈsaɪkl/ | siklus hidup pengembangan program |
| design/dɪˈzaɪn/ | desain |
| algorithm/ˈælɡərɪθəm/ | A finite sequence of precise steps for solving a problem or carrying out a task. |
| input/ˈɪnpʊt/ | A value, signal or resource supplied to a function, program, device or process. |
| processing/ˈprəʊsesɪŋ/ | |
| output/ˈaʊtpʊt/ | A result produced by a function, calculation, device or program. |
| Analysis/əˈnæləsɪs/ | Study the problem and work out what's needed. |
| Coding/ˈkəʊdɪŋ/ | Write the code , testing small parts as you go (iterative testing ). |
| code/kəʊd/ | |
| testing/ˈtestɪŋ/ | pengujian |
| iterative testing/ˈɪtərətɪv ˈtestɪŋ/ | Repeated cycles of testing and revision during development, using each result to guide improvements. |
| test data/test ˈdeɪtə/ | Inputs chosen to check how a program behaves, including valid values and values it should reject. |
| abstraction/əbˈstrækʃn/ | abstraksi |
| decomposition/ˌdiːkɒmpəˈzɪʃn/ | dekomposisi |
| design tools | Structure diagram, flowchart, pseudocode. |
| structure diagram/ˈstrʌktʃə ˈdaɪəɡræm/ | A diagram showing how a system or problem is divided into related components or levels. |
| system/ˈsɪstəm/ | The object or collection of objects chosen for analysis, separated conceptually from its surroundings. |
| flowchart/ˈfləʊtʃɑːt/ | diagram alir |
| Pseudocode/ˈsuːdəʊkəʊd/ | A language-independent description of an algorithm using structured, programming-like statements. |
| Top-down design/tɒp daʊn dɪˈzaɪn/ | Each box is split into smaller sub-tasks .*. |
| sub-tasks | |
| IPO |
Membangun program
- Program dibangun secara bertahap — siklus pengembangan program.
- Kami merancananya dengan alat desain, lalu menulis algoritma.
- Setiap algoritma terurai menjadi input → pemrosesan → output.
Empat tahap
- Analisis — mempelajari masalah dan menentukan apa yang diperlukan.
- Desain — merencanakan bagaimana program akan bekerja.
- Pemrograman — menulis kode, menguji bagian kecil saat bergerak (penguji iteratif).
- Pengujian — menjalankan program selesai dengan data uji untuk menemukan kesalahan.
- Dua keterampilan analisis: abstraksi (hanya menyimpan detail penting) dan dekomposisi (memecah masalah besar menjadi bagian-bagian lebih kecil).

Empat tahap pengembangan program; pengujian memberikan umpan balik untuk memperbaiki dan menyempurnakan desain.
Siklus hidup pengembangan perangkat lunak
Step through the stages every project follows — work out what's needed, plan it, build it, then check it. Getting analysis right first saves a lot of rework later.
Put the development life cycle stages in order.
Kesulitan 3/5 · 200 koin + bonus kecil pada penyelesaian pertama hari ini
Analysis (what is needed) → design (plan) → coding (write) → testing (check).
Abstraction means:
Kesulitan 1/5 · 100 koin + bonus kecil pada penyelesaian pertama hari ini
Abstraction simplifies; decomposition breaks a problem into parts.
Match each design concept to what it means.
Kesulitan 2/5 · 140 koin + bonus kecil pada penyelesaian pertama hari ini
Abstraction simplifies, decomposition splits up, pseudocode plans the steps, and IPO is the overall flow.
Alat desain
- Diagram struktur — menunjukkan bagian-bagian sistem dan bagaimana mereka saling terhubung.
- Flowchart — kotak dan panah yang menunjukkan langkah-langkah secara berurutan.
- Pseudocode — langkah-langkah dalam Bahasa Inggris bergaya kode yang sederhana (bukan bahasa asli).

Perangkat lunak ditulis oleh programmer yang mengikuti siklus pengembangan.


Pseudocode is:
Kesulitan 1/5 · 100 koin + bonus kecil pada penyelesaian pertama hari ini
Pseudocode describes an algorithm in readable, code-like English without being a real language.
Input, pemrosesan, output
- Setiap algoritma terurai menjadi input (data masuk), pemrosesan (pekerjaan yang dilakukan), dan output (hasil).
- mis. "rata-rata tiga nilai": masukkan 3 nilai → tambahkan dan bagi dengan 3 → hasilkan rata-ratanya.

Flowchart program menyusun langkah-langkah dan keputusan program selama tahap desain.

Every algorithm can be decomposed into:
Kesulitan 1/5 · 100 koin + bonus kecil pada penyelesaian pertama hari ini
Input (data in) → processing (the work) → output (the result).
Kartu ini baru, jadi ditampilkan dalam bahasa Inggris sampai terjemahannya siap.
Worked example: a car-park payment machine
A car park needs a payment machine. Use decomposition and IPO 输入-处理-输出 to plan it.
- Decomposition splits the problem into sub-tasks: read the number plate, calculate the charge, take payment, print a receipt. Abstraction keeps only what matters: arrival time and plate matter, the car's colour does not.
- For the "calculate charge" part: input the arrival and leaving times; process: hours = leaving − arrival, charge = hours × rate; output the charge on the screen.
Removing details that are not needed to solve a problem is called:
Kesulitan 1/5 · 100 koin + bonus kecil pada penyelesaian pertama hari ini
Decomposition breaks a problem into parts; abstraction removes unneeded detail.
In a flowchart, a decision is drawn as a diamond with a yes and a no exit.
Kesulitan 1/5 · 100 koin + bonus kecil pada penyelesaian pertama hari ini
Processes are rectangles, input and output are parallelograms, and decisions are diamonds.
Anda telah memahaminya
- siklus hidup: analisis → desain → pemrograman → pengujian
- abstraksi = simpan yang penting; dekomposisi = pecah menjadi bagian
- alat desain: diagram struktur, flowchart, pseudocode
- setiap algoritma = input → pemrosesan → output
Apa yang salah? Hanya tim situs yang dapat melihatnya.