计算机专业英语unit 6 Software Engineering_第1页
计算机专业英语unit 6 Software Engineering_第2页
计算机专业英语unit 6 Software Engineering_第3页
计算机专业英语unit 6 Software Engineering_第4页
计算机专业英语unit 6 Software Engineering_第5页
已阅读5页,还剩35页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、西南大学 计算机与信息科学学院专专 业业 外外 语语西南大学西南大学 计算机与信息科学学院计算机与信息科学学院Faculty of Computer & Information Science , Southwest-China University 陈陈 璐璐西南大学 计算机与信息科学学院Unit 6 Software Engineering Section A Software Life Cycle Section B Model Driven Development Section C What Is a Design Pattern 西南大学 计算机与信息科学学院life cy

2、cle 生命周期,生存周期生命周期,生存周期obsolete a. 过时的;淘汰的过时的;淘汰的obsolescence n. 过时;淘汰过时;淘汰validity n. 有效(性)有效(性)inefficiency n. 无效率,低效率无效率,低效率package n. 包,包裹;程序包包,包裹;程序包analyst n. 分析员,分析师分析员,分析师system analyst 系统分析员系统分析员New Words and Expressions西南大学 计算机与信息科学学院generic a. 通用的,一般的通用的,一般的customized a. 定制的,专用化的定制的,专用化的we

3、ll-established a. 得到确认的;固定下来的得到确认的;固定下来的module n. 模块模块modularity n. 模块化模块化structure chart 结构图结构图flowchart n. 流程图流程图pseudocode n. 伪代码伪代码algorithm n. 算法;运算法则算法;运算法则algorithmic a. 算法的算法的西南大学 计算机与信息科学学院test engineer 测试工程师测试工程师black box testing 黑盒测试黑盒测试white box testing 白盒测试白盒测试test data 测试数据测试数据test cas

4、e 测试用例测试用例unit testingmodule testingcomponent testing 单元测试单元测试 integration testingsystem testing 集成测试集成测试系统测试系统测试validation testingacceptance testing 确认测试确认测试验收测试验收测试西南大学 计算机与信息科学学院1.A fundamental concept in software engineering is the software life cycle. Software, like many other products, goes th

5、rough a cycle of repeating phases. 译文:软件生命周期是软件工程中的一个基本概念。软件译文:软件生命周期是软件工程中的一个基本概念。软件和许多其他产品一样,周期性地重复着一些阶段。和许多其他产品一样,周期性地重复着一些阶段。 Key Sentences西南大学 计算机与信息科学学院否否使用系统使用系统修改系统修改系统终止终止图图6A-1: 系统的生命周期系统的生命周期开始开始开发系统开发系统是是废弃?废弃?NoUse the SystemModifythe SystemSTOP Figure 6A-1: System life cycleSTARTDevelo

6、pthe SystemYesObsolete?西南大学 计算机与信息科学学院2.Modification is often needed due to errors found in the software, changes in the rules or laws, or changes in the company itself. The software should be modified before further use. 译文:由于软件中发现的错误、法规的变更或公司本身的译文:由于软件中发现的错误、法规的变更或公司本身的变化,软件经常需要修改。在进一步使用之前,软件应该变化,

7、软件经常需要修改。在进一步使用之前,软件应该被修改。被修改。 西南大学 计算机与信息科学学院 software moves into the modification phase because errors are discovered;changes in the software application environment occur; user needs;the developer wants to improve the maintainability and reliability of the software for its further use.西南大学 计算机与信息

8、科学学院3.By “obsolete”, we mean the software loses its validity because of inefficiency, obsolescence of the language, major changes in the company, or other factors. 译文:译文:“废弃废弃”意味着,因效率低下、语言过时、公司重意味着,因效率低下、语言过时、公司重大变化或其他因素,软件失去了有效性。大变化或其他因素,软件失去了有效性。 西南大学 计算机与信息科学学院4.The development process in the sof

9、tware life cycle involves four phases: analysis, design, implementation, and testing. 译文:在软件生命周期中,开发过程包括四个阶段:分析、译文:在软件生命周期中,开发过程包括四个阶段:分析、设计、实现和测试。设计、实现和测试。 西南大学 计算机与信息科学学院系统开发系统开发实现实现测试测试设计设计分析分析图图6A-2:系统开发的阶段:系统开发的阶段SystemDevelopmentImplement-ationTestingDesignAnalysisFigure 6A-2: System developme

10、nt phases 西南大学 计算机与信息科学学院Typical Development model: waterfall model(瀑布模型)(瀑布模型) incremental model(增量模型)(增量模型) prototype model(原型模型)(原型模型) spiral model(螺旋模型)(螺旋模型)西南大学 计算机与信息科学学院waterfall model The waterfall model derives its name due to the cascading effect from one phase to the other as is illustra

11、ted in the figure. Its a software life-cycle or product life-cycle model, in which development is supposed to proceed linearly through the phases of requirements analysis, design, coding, testing, and maintenance.西南大学 计算机与信息科学学院incremental model This model derives its name from the way in which the

12、software is built. More specifically, the model is designed, implemented and tested as a series of incremental builds until the product is finished. A build consists of pieces of code from various modules that interact together to provide a specific function. At each stage of the IM a new build is c

13、oded and then integrated into the structure, which is tested as a whole. Note that the product is only defined as finished when it satisfies all of its requirements. 西南大学 计算机与信息科学学院prototype model In many instances the client only has a general view of what is expected from the software product. In

14、such a scenario where there is an absence of detailed information regarding the input to the system, the processing needs and the output requirements, the prototyping model may be employed. This model reflects an attempt to increase the flexibility of the development process by allowing the client t

15、o interact and experiment with a working representation of the product. The developmental process only continues once the client is satisfied with the functioning of the prototype. At that stage the developer determines the specifications of the clients real needs.西南大学 计算机与信息科学学院spiral model This mo

16、del of development combines the features of the prototyping model and the waterfall model. The idea is evolutionary development, using the waterfall model for each step, and Introducing prototyping in a software process aims at risk reduction at the requirements level. The developers should only def

17、ine the highest priority features and implement those, then get feedback from users. With this knowledge, they should then go back to define and implement more features in smaller chunks.西南大学 计算机与信息科学学院5.The development process starts with the analysis phase, which shows what the package should do.

18、In this phase, the systems analyst defines requirements that specify what the proposed system is to accomplish. 译文:整个开发过程始于分析阶段,这个阶段显示程序包译文:整个开发过程始于分析阶段,这个阶段显示程序包应该做什么。在这个阶段,系统分析员定义需求,指出拟应该做什么。在这个阶段,系统分析员定义需求,指出拟议中的系统所要实现的目标。议中的系统所要实现的目标。 西南大学 计算机与信息科学学院6.There are four steps in the analysis phase:

19、define the user: a generic user or a specific user ? define the needs: the user defines his/her expectations of the software . define the requirements: what the software should do ? define the methods: how to meet those requirements ?西南大学 计算机与信息科学学院7.The design phase defines how the system will acco

20、mplish what was defined in the analysis phase. In the design phase, the systems are determined, and the design of the files and/or the databases is completed. 译文:设计阶段定义系统将如何完成分析阶段所定义的需译文:设计阶段定义系统将如何完成分析阶段所定义的需求。设计阶段需要确定系统,完成文件和(或)数据库的求。设计阶段需要确定系统,完成文件和(或)数据库的设计。设计。西南大学 计算机与信息科学学院8.Today, the design

21、phase uses a very well-established principle called modularity. The whole package is divided into small modules. Each module is designed and tested and is linked to other modules through a main program. 译文:现今,设计阶段使用一条得到充分确认的原则,称译文:现今,设计阶段使用一条得到充分确认的原则,称为模块化。整个程序包划分成若干个小模块。每个模块经为模块化。整个程序包划分成若干个小模块。每个

22、模块经过设计与测试之后,通过主程序与其他模块连接起来。过设计与测试之后,通过主程序与其他模块连接起来。 西南大学 计算机与信息科学学院9.A structure chart shows how to break your package into logical steps; each step is a separate module. The structure chart also shows the interaction between all the parts(modules). 译文:结构图显示了如何将软件包分解成逻辑步骤,每个译文:结构图显示了如何将软件包分解成逻辑步骤,每个

23、步骤就是一个独立的模块。结构图也显示了各部分(模块)步骤就是一个独立的模块。结构图也显示了各部分(模块)之间的相互作用。之间的相互作用。西南大学 计算机与信息科学学院an example for structure chart西南大学 计算机与信息科学学院10. In the implementation phase, you create the actual programs. 译文:在实现阶段,创建实际的程序。译文:在实现阶段,创建实际的程序。西南大学 计算机与信息科学学院11. This phase uses several tools to show the logical flow

24、 of the programs before the actual writing of code. One tool, still popular, is the flowchart. A flowchart uses standard graphical symbols to represent the logical flow of data through a module. 译文:这个阶段在实际编写代码之前,使用几种工具来显译文:这个阶段在实际编写代码之前,使用几种工具来显示程序的逻辑流程。当今仍然流行的一种工具是流程图。示程序的逻辑流程。当今仍然流行的一种工具是流程图。流程图使用

25、标准的图形符号,来表示数据通过模块时的逻流程图使用标准的图形符号,来表示数据通过模块时的逻辑流程。辑流程。 西南大学 计算机与信息科学学院an example for flowchartGET(a1,a2,.a10)min=a1 min2=a2 i = 2OUTPUT(min, min2)i = 10ai minmin2 = min min = aii = i + 1ai min2min2 = aiFTFTFT西南大学 计算机与信息科学学院12. Pseudocode is part English and part program logic that describes, in preci

26、se algorithmic detail, what the program is to do. This requires defining the steps in sufficient detail so that conversion to a computer program can be accomplished easily. 译文:伪码部分是英文,部分是程序逻辑,它用精确的算译文:伪码部分是英文,部分是程序逻辑,它用精确的算法细节来描述程序将要做什么。这需要用足够的细节来定法细节来描述程序将要做什么。这需要用足够的细节来定义步骤,以便能较容易地转换成计算机程序。义步骤,以便能

27、较容易地转换成计算机程序。 西南大学 计算机与信息科学学院an example for pseudocode STARTIF p THENWHILE q DOf END DOELSEIF g THEN mELSE n END IFEND IF STOP西南大学 计算机与信息科学学院13. Once the program have been written, they must be tested. 译文:程序一旦写完,必须测试。译文:程序一旦写完,必须测试。西南大学 计算机与信息科学学院14. There are two types of testing: black box and whi

28、te box. Black box testing is done by the system test engineer and the user. White box testing is the responsibility of the programmer. 译文:测试有两种:黑盒测试与白盒测试。黑盒测试由系译文:测试有两种:黑盒测试与白盒测试。黑盒测试由系统测试工程师和用户进行。白盒测试是程序员的责任。统测试工程师和用户进行。白盒测试是程序员的责任。 西南大学 计算机与信息科学学院15. Black box testing gets its name from the concep

29、t of testing a program without knowing what is inside it and without knowing how it works. In other words, the program is like a black box that you cant see into. 译文:黑盒测试得名于这样一个概念,即在不知道程序里译文:黑盒测试得名于这样一个概念,即在不知道程序里面的内容,也不知道程序如何工作的情况下,测试程序。面的内容,也不知道程序如何工作的情况下,测试程序。换言之,程序就像一个你看不见内部的黑盒子。换言之,程序就像一个你看不见内部

30、的黑盒子。西南大学 计算机与信息科学学院16. Whereas black box testing assumes that nothing is known about the program, white box testing assumes that you know everything about the program. In this case, the program is like a glass house in which everything is visible. 译文:黑盒测试假设对程序一无所知,而白盒测试则假设译文:黑盒测试假设对程序一无所知,而白盒测试则假设你

31、对程序无所不知。在这种情况下,程序就像一座玻璃暖你对程序无所不知。在这种情况下,程序就像一座玻璃暖房,里面的一切一览无余。房,里面的一切一览无余。西南大学 计算机与信息科学学院Unit 6 Software Engineering Section A Software Life Cycle Section B Model Driven Development Structured Analysis and Design Information Engineering Object-Oriented Analysis and Design Section C What Is a Design P

32、attern 西南大学 计算机与信息科学学院modeling n. 建模,模型化建模,模型化saying n. 话,格言,谚语话,格言,谚语methodology n. (学科的)一套方法;方法论(学科的)一套方法;方法论building block 积木块,构建模块积木块,构建模块visualize v. 使可视化,使可见,使直观化使可视化,使可见,使直观化consolidate v. (把(把)联为一体,合并;巩固,加强)联为一体,合并;巩固,加强waterfall n. 瀑布瀑布blueprint n. 蓝图蓝图New Words and Expressions西南大学 计算机与信息科学学院deliverable a. & n. 常作复数常作复数 可交付使用的(产品)可交付使用的(产品)documentation n. 文献资料,文档文献资料,文档gauge v. 估计,判断;计量估计,判断;计量system flow chart 系统流程图系统流程图data flow diagram 数据流图数据流图entity n. 实体实体entity relationship diagram 实体关系图实体关系图object diagram 对象图对象

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论