The development life cycle and design tools
แนะนำใหม่
9:16
รอบชีวิตการพัฒนาโปรแกรม
ทุกแอปในโทรศัพท์ของคุณเขียนโดยบุคคลเช่นนี้ แต่เขาไม่ได้เริ่มด้วยการพิมพ์โค้ด ก่อนบรรทัดแรก ปัญหาถูกศึกษา, ทางออก…
บรรยายภาษาอังกฤษ · สลับคำบรรยายภาษาอังกฤษและภาษาจีนได้
ในบทเรียนนี้
| English | ความหมาย |
|---|---|
| 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/ | วงจรชีวิตการพัฒนาโปรแกรม |
| design/dɪˈzaɪn/ | การออกแบบ |
| 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ɪŋ/ | การทดสอบ |
| 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/ | การ abstraction |
| decomposition/ˌdiːkɒmpəˈzɪʃn/ | การแยกส่วน |
| 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/ | แผนภาพไหล |
| 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 |
การสร้างโปรแกรม
- โปรแกรมถูกสร้างเป็นขั้นตอน — วงจรการพัฒนาโปรแกรม
- เราวางแผนด้วย เครื่องมือออกแบบ แล้วเขียนอัลกอริทึม
- ทุกอัลกอริทึมแบ่งออกเป็น อินพุต → การประมวลผล → เอาต์พุต
สี่ขั้นตอน
- การวิเคราะห์ — ศึกษาปัญหาและพิจารณาว่าต้องการอะไร
- การออกแบบ — วางแผนว่าโปรแกรมจะทำงานอย่างไร
- การเขียนโค้ด — เขียนโค้ด, ทดสอบส่วนย่อยๆ ไปพร้อมกัน (การทดสอบแบบวนซ้ำ)
- การทดสอบ —รันโปรแกรมที่เสร็จสมบูรณ์ด้วยข้อมูลทดสอบเพื่อหาข้อผิดพลาด
- ทักษะการวิเคราะห์สองอย่าง: การ_rpc (เก็บรายละเอียดที่สำคัญเท่านั้น) และ การแยกย่อย (แบ่งปัญหายิ่งใหญ่ให้อยู่ในส่วนย่อยๆ)

สี่ขั้นตอนของการพัฒนาโปรแกรม; การทดสอบส่งผลลัพธ์กลับเพื่อแก้ไขและปรับปรุงการออกแบบ.

วงจรการพัฒนาโปรแกรม
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.
ความยาก 3/5 · 200 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Analysis (what is needed) → design (plan) → coding (write) → testing (check).
Abstraction means:
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Abstraction simplifies; decomposition breaks a problem into parts.
Match each design concept to what it means.
ความยาก 2/5 · 140 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Abstraction simplifies, decomposition splits up, pseudocode plans the steps, and IPO is the overall flow.
เครื่องมือออกแบบ
- แผนผังโครงสร้าง — แสดงส่วนประกอบของระบบและวิธีการเข้าด้วยกัน
- แผนผังการทำงาน — กล่องและลูกศรแสดงขั้นตอนตามลำดับ
- 伪代码 — ขั้นตอนในรูปแบบภาษาอังกฤษที่เรียบง่ายคล้าย โค้ด (ไม่ใช่ภาษาจริง)

ซอฟต์แวร์ถูกเขียนโดยนักพัฒนาซอฟต์แวร์ที่ปฏิบัติตามวงจรการพัฒนาโปรแกรม.


Pseudocode is:
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Pseudocode describes an algorithm in readable, code-like English without being a real language.
อินพุต, การประมวลผล, เอาต์พุต
- ทุกอัลกอริทึมจะแยกย่อยออกเป็น อินพุต (ข้อมูลเข้า), การประมวลผล (งานที่ทำ), และ เอาต์พุต (ผลลัพธ์)
- เช่น "ค่าเฉลี่ยของคะแนนสามตัว": กรอบคะแนน 3 ตัว → บวกกันแล้วหารด้วย 3 → ออกค่าเฉลี่ย

แผนผังการทำงานของโปรแกรมแสดงขั้นตอนและการตัดสินใจของโปรแกรมในช่วงการออกแบบ.

Every algorithm can be decomposed into:
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Input (data in) → processing (the work) → output (the result).
คุณเข้าใจแล้ว
- วงจรชีวิต: การวิเคราะห์ → การออกแบบ → การเขียนโค้ด → การทดสอบ
- _rpc = เก็บสิ่งที่สำคัญ; การแยกย่อย = แยกเป็นส่วนย่อย
- เครื่องมือออกแบบ: แผนผังโครงสร้าง, แผนผังการทำงาน, 伪代码
- ทุกอัลกอริทึม = อินพุต → การประมวลผล → เอาต์พุต
Removing details that are not needed to solve a problem is called:
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
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.
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Processes are rectangles, input and output are parallelograms, and decisions are diamonds.
การ์ดนี้เป็นการ์ดใหม่ จึงแสดงเป็นภาษาอังกฤษจนกว่าคำแปลจะพร้อม
You've got it
- life cycle: analysis → design → coding → testing
- abstraction = keep what matters; decomposition = break into parts
- design tools 设计工具: structure diagram, flowchart, pseudocode
- every algorithm = input → processing → output
เกิดปัญหาอะไรขึ้น? เฉพาะทีมเว็บไซต์เท่านั้นที่เห็นข้อมูลนี้