《计算机科学导论》 (第三版) 第10章

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

1.4
Figure 10.1: The software lifecycle
1.5
Figure 10.2: The waterfall model
1.6
Figure 10.3: The incremental model
1.7
10.2 ANALYSIS PHASE
The development process starts with the analysis phase. This phase results in a specification document that shows what the software will do without specifying how it will be done. The analysis phase can
1.1
Objectives:
❑ ❑
To understand the concept of the software life cycle in software engineering. To describe two major types of development process, the waterfall and incremental models.
❑ ❑ ❑
To describe the implementation phase recognize the quality issues in this phase. and
To describe the testing phase and distinguish between glass-box testing and black-box testing. To recognize the importance of documentation in software engineering and distinguish between user documentation, system documentation, and technical documentation.
1.13
Figure 10.8: A structure chart
1.14
Figure 10.9: Classes with attributes and methods
1.15
10.4 IMPLEMENTATION PHASE
In the waterfall model, after the design phase is completed, the implementation phase can start. In this phase the programmers write the code for the modules in procedure-oriented design, or write the
program units to implement classes in objectoriented design. There are several issues need to mention in each case.
1.16
Figure 10.10: Quality factors
1.17
1.21
1.12
10.3 Design Phase
The design phase defines how the system will accomplish what was defined in the analysis phase. In the design phase, all components of the system are defined.
To understand the design phase and describe two separate approaches in the design phase: procedure-oriented design and object-oriented design.

1.2
Objectives (continued):
10.5 TESTING PHASE
The goal of the testing phase is to find errors, which means that a good testing strategy is the one that finds most errors. There are two types of testing: glass-box and black-box .
use two separate approaches, depending on whether
the implementation phase is done using a procedural programming language or an object-oriented language. We briefly discuss both in this section.
note that documentation is an ongoing process. If
the software has problems after release, they must be documented too. If the software is modified, all modifications and their relationship to the original package must also be documented. Documentation only stops when the package becomes obsolete.
1.18
Figure 10.11: Software testing
1.19
Figure 10.12: An example of basis path testing
1.20
10.6 DOCUMENTATION
For software to be used properly and maintained efficiently, documentation is needed. Usually, three separate sets of documentation are prepared for software: user, system, and technical. However,
1.8
Figure 10.4: An example of a data flow diagram
1.9
Figure 10.5: An example of a state diagram
1.10
Figure 10.6: An example of use case diagram
1.11
Figure 10.7: An example of a class diagram

To understand the analysis phase and desc百度文库ibe two separate approaches in the analysis phase: procedure-oriented analysis and object-oriented analysis.
1.3
10.1 THE SOFTWARE LIFE CYCLE
A fundamental concept in software engineering is the software lifecycle. Software, like many other products, goes through a cycle of repeating phases.
相关文档
最新文档