软件工程课后习题答案
软件工程课后习题参考答案

软件工程课后习题参考答案软件工程课后习题参考答案1. 第一章规约与软件工程概述1.1 规约的定义规约是软件开发过程中明确要求的描述,包含了对软件需求、设计、实现、测试、部署和维护等各个阶段的要求和约束。
1.2 软件工程的概述软件工程是一门涉及对软件的开发、运行和维护的学科。
它通过应用工程原则和方法,以系统化、规范化、可靠化、经济化和高质量的方式来开发和维护软件。
2. 第二章软件需求规约2.1 软件需求规约的作用软件需求规约是对软件系统所需功能和性能的具体描述和说明,是软件开发的基础和依据。
它指导着开发团队的工作,确保软件的功能和性能符合用户的需求。
2.2 软件需求规约的要素软件需求规约包括功能需求、非功能需求和约束条件。
功能需求描述了软件系统应该具备的功能,非功能需求描述了软件系统的性能要求和质量特性,约束条件描述了软件系统所受限制的条件。
3. 第三章软件设计规约3.1 软件设计规约的目标软件设计规约是对软件系统进行结构化和模块化设计的过程,其目标是确保软件系统具备可靠性、可维护性、可扩展性和可重用性。
3.2 软件设计规约的方法软件设计规约采用面向对象设计、结构化设计和模块化设计等方法。
面向对象设计强调将问题领域的概念和对象转化为软件系统的类和对象,结构化设计强调将系统分解为模块,模块化设计强调模块间的接口和通信。
4. 第四章软件实现规约4.1 软件实现规约的目的软件实现规约是指将软件设计阶段得到的设计规约转化为计算机可执行的程序代码,其目的是确保软件系统的正确性、可靠性、可维护性和可测试性。
4.2 软件实现规约的技术软件实现规约采用编程语言、软件开发工具和软件开发环境等技术。
编程语言提供了描述算法和数据结构的语法和语义,软件开发工具提供了代码编辑、编译、调试和测试等功能,软件开发环境提供了开发的整体支持。
5. 第五章软件测试规约5.1 软件测试规约的目的软件测试规约是对软件系统进行功能、性能和质量等方面的验证和检测,其目的是找出软件系统的错误和缺陷,并修复和改进。
《软件工程》课后习题答案

1、可行性研究的目的是用最小的代价,在尽可能短的时间,确定该项目是否能够开发。
2、程序设计时代的生产方式是个体手工,程序系统时代的生产方式是作坊式小团体,软件工程时代的生产方式是工程化。
3、喷泉模型是一种以需求分析为动力,以对象为驱动的模型。
4、需求分析阶段,分析人员要确定对问题的综合需求,其中最主要的是功能需求。
5、可行性研究需要从以下三个方面分析研究每种解决方法的可行性:技术可行性、经济可行性、社会可行性。
6、可行性研究的目的不是去开发一个软件项目,而是研究这个软件项目是否值得开发,其中的问题能否解决。
7、判定树较判定表直观易读,判定表进行逻辑验证较严格,能把所有的可能性全部都考虑到。
可将两种工具结合起来,先用判定表做底稿,在此基础上产生判定树。
8、软件工具的发展特点是软件工具有单一工具向多个工具集成化方向发展。
重视用户界面的设计,不断的采用新理论和新技术。
软件工具的商品化推动了软件产业的发展,而软件产业的发展,又增加了对软件工具的需求,促进了软件工具的商品化进程。
9、环境集成主要有数据集成、界面集成、控制集成、平台集成、过程集成。
10、可行性研究实质上是进行一项简化、压缩了的需求分析、设计过程。
11、结构化方法有结构化分析、结构化设计、结构化程序设计构成,它是一种面向数据流的开发方法。
12、投资回收期就是累计的经济效益等于最初的项目投资所需的时间。
13、详细描述处理过程常用三种描述工具:图形、表格和语言。
14、数据流图中,每个加工至少有一个输入流和一个输出流。
15、结构化设计以数据流为基础映射成软件结构。
16、当数据流图中某个加工的一组动作存在着多个条件复杂组合的判断时,使用判定表或判定树较好。
17、由于运用原型的目的和方式不同,在使用原型时也采取不同的策略,有抛弃策略和附加策略。
18、有两类维护技术:在开发阶段是用来减少错误、提高软件可维护性面向维护的技术,在维护阶段用来提高维护的效率和质量的维护支援技术。
软件工程课后习题答案

软件⼯程课后习题答案习题答案习题⼀答案⼀、选择题1. 软件的主要特性是(A B C)。
A) ⽆形 B) ⾼成本C) 包括程序和⽂档D) 可独⽴构成计算机系统2. 软件⼯程三要素是(C D)。
A) 技术、⽅法和⼯具B) ⽅法、⼯具和过程C) ⽅法、对象和类D) 过程、模型、⽅法3. 包含风险分析的软件⼯程模型是(A)。
A) 螺旋模型 B) 瀑布模型C) 增量模型 D) 喷泉模型4. 软件⼯程的主要⽬标是(C)。
A) 软件需求B) 软件设计C) 风险分析D) 软件实现5. 下列属于⾯向对象开发⽅法的是(A B C D)。
A) Booch B) UML C) Coad D) OMT6. 软件危机的主要表现是(B D)。
A) 软件成本太⾼B) 软件产品的质量低劣C) 软件开发⼈员明显不⾜D) 软件⽣产率低下7. 软件开发⽅法的主要⼯作模型有(A B C)A) 螺旋模型B) 循环模型C) 瀑布模型D) 专家模型8. 软件⼯程的⽬标有(A B C)。
A) 易于维护B) 低的开发成本C) ⾼性能D) 短的开发期9. 软件⼯程学的⽬的和意义是( )。
A) 应⽤科学的⽅法和⼯程化的规范管理来指导软件开发B) 克服软件危机C) 作好软件开发的培训⼯作D) 以较低的成本开发出⾼质量的软件⼆、判断题1. 软件就是程序,编写软件就是编写程序。
(×)2. 瀑布模型的最⼤优点是将软件开发的各个阶段划分得⼗分清晰。
(×)3. 结构化⽅法的⼯作模型是使⽤螺旋模型进⾏开发。
(×)4. 结构化⽅法和JSP⽅法都不适合于⼤型软件的开发。
(√)5. 原型化开发⽅法包括⽣成原型和实现原型两个步骤。
(×)6. ⾯向对象的开发⽅法包括⾯向对象的分析、⾯向对象的设计和⾯向对象的程序设计。
( √)7. 软件危机的主要表现是软件的需求量迅速增加,软件价格上升。
(×)8. 软件⼯具的作⽤是为了延长软件产品的寿命。
完整版软件工程课后题答案资料

第一章1 简述软件的开展过程。
共经历了四个阶段;第一阶段:〔20世纪50年代初期到60年代初期的十余年〕计算机系统开发的初期。
第二阶段:〔20世纪60年代中期到70年代中期的十余年〕软件产品和“软件作坊〞的概念开场出现。
软件开发人员不再像早期阶段那样只因个人工作需要而开发,而是为了用户更好地使用计算机。
第三阶段:〔20世纪70年代中期到80年代末期〕分布式系统嵌入“智能〞;硬件价格下降,软件价格急剧上升,导致了软件危机的加剧。
第四阶段:〔20世纪80年代末期开场〕强大的桌面系统和计算机网络迅速开展。
2 简述软件的定义和特点。
定义:软件是计算机程序、规程以及运行计算机系统可能需要的相关文档和数据。
特点:(1)是一种逻辑实体,具有抽象性;(2)软件的生产不存在明显的制造过程;(3)在软件的运行和使用的过程中,不会存在像硬件那样的机械磨损及老化问题;(4)由于对计算机系统的依赖性,对软件的通用性造成了一定的影响;(5)软件的开发方式还没有完全脱离手工开发方式,还不能完全采用组装的方式进展软件开发;(6)作为提高工作效率的逻辑产品,本身具有复杂性;(7)本钱相当昂贵;(8)相当多的软件工作设计社会因素。
3 软件有哪些种类1. 按功能特征进展划分(1)系统软件。
(2)支撑软件。
(3)应用软件2. 按规模大小进展划分微型、小型、中型、大型、甚大型、、极大型4 什么是软件危机?答:是指在计算机软件的开发和维护过程中所遇到的一系列严重问题。
5 什么是软件工程?有哪些本质特性?怎样用软件工程消除软件危机?答:是指导计算机软件开发和维护的一门工程学科。
特性略。
技术措施和管理措施消除软件危机。
6 软件工程的三要素;方法、工具和过程。
7. 结合自己的亲身经历,谈谈软件工具在软件开发过程中的作用。
使软件开发更加模式化,工程化,从而提高软件开发的效率和封装性。
8. CASE 的研究和CASE 产品的开发是近年来软件工程领域的特点之一。
软件工程课后习题(含答案)

第一章练习题一、填空题1、软件工程三要素是:方法、工具、过程。
2、软件开发方法是指软件开发过程中所应遵循的方法和步骤。
二、名词(术语)解释:1、可靠性---是指在给定的时间间隔内,程序成功运行的概率。
可靠性是衡量软件质量的一个重要目标。
2、可理解性---指系统具有清晰的结构,能直接反映问题的需求。
可理解性有助于控制软件系统的复杂性,并支持软件的维护、移植和重用。
三、问答题1、面向对象方法的优点是什么?答:(1)将现实世界问题向面向对象解空间直接映射,实现对现实世界的直接模拟。
(2)以数据为中心,而不是基于对功能的分解,使得软件结构相对稳定,软件的重用性、可靠性、可维护等特性都较好。
2、可视化开发方法的优点有哪些?答:(1)简化了图形用户界面的设计和编码工作,将开发的注意力主要集中在程序的执行逻辑和工作流程上。
(2)软件开发简单,易学、易上手。
(3)专业或非专业人员都能参与软件开发活动。
第二章练习题一、填空题:1、软件工程过程是:为获得软件产品,在软件工具支持下由软件人员完成的一系列软件工程活动。
2、一个软件从定义、开发、使用和维护,直到最终被废弃,所经历的生存过程经历的生存过程称为软件生存期或叫生命期。
3、软件生命周期的阶段划分为3个时期是:定义时期、开发时期、维护时期。
4、软件工程标准的5个层次是:国际标准、国家标准、行业标准、企业规范、项目规范。
二、简答题:1、瀑布模型的优点有哪些?答:1、强迫开发人员采用规范的技术方法;2、严格地规定了每个阶段必须提交的文档;3、每个阶段结束前必须正式进行严格的技术审查和管理复审。
2、瀑布模型的缺点是什么?答:1、在软件开发的初期阶段就要求做出正确、全面、完整的需求分析对许多应用软件来说是极其困难的。
2、在需求分析阶段,当需求确定后,无法及时验证需求是否正确、完整。
3、作为整体开发的瀑布模型,由于不支持产品的演化,缺乏灵活性,对开发过程中很难发现的错误,只有在最终产品运行时才能暴露出来,从而使软件产品难以维护。
(完整版)软件工程课后答案

《软件工程》作业及答案1-1 什么是软件危机?它有哪些典型表现?为什么会出现软件危机?答:软件危机是指在计算机软件的开发和维护过程中所遇到的一系列严重问题。
概括地说,软件危机包含下述两方面的问题:如何开发软件,以满足对软件日益增长的需求;如何维护数量不断膨胀的已有软件。
软件危机典型表现:对软件开发成本和进度的估计常常很不准确。
用户对“已完成的”软件系统不满意的现象经常发生。
软件产品的质量往往靠不住。
软件常常是不可维护的。
软件通常没有适当的文档资料。
软件成本在计算机系统总成本中所占的比例逐年上升。
软件开发生产率提高的速度,远远跟不上计算机应用迅速普及深入的趋势。
产生软件危机的原因:一方面与软件本身的特点有关,另一方面也和软件开发与维护的方法不正确有关。
软件不同于硬件,它是计算机系统中的逻辑部件而不是物理部件。
管理和控制软件开发过程相当困难。
软件是规模庞大,而且程序复杂性将随着程序规模的增加而呈指数上升。
目前相当多的软件专业人员对软件开发和维护还有不省糊涂观念,在实践过程中或多或少地采用了错误的方法和技术,这是使软件问题发展成软件危机的主要原因。
1-2 假设你是一家软件公司的总工程师,当你把图1.1给手下的软件工程师们观看,告诉他们及早发现并改正错误的重要性时,有人不同意你的观点,认为要求在错误进入软件之前就清除它们是不现实的,并举例说:“如果一个故障是编码错误造成的,那么,一个人怎么能在设计阶段清除它呢?”你怎么反驳他?1-3 什么是软件工程?它有哪些本质特性?怎样用软件工程消除软件危机?答:软件工程是指导计算机软件开发和维护的一门工程学科。
采用工程的概念、原理、技术和方法来开发与维护软件,把经过时间考验而证明正确的管理技术和当前能够得到的最好的技术方法结合起来,以经济地开发出高质量的软件并有效地维护它。
软件工程本质特性:1、软件工程关注于大型程序的构造;2、软件工程的中心课题是控制复杂性;3、软件经常变化;4、开发软件的效率非常重要;5、和谐地合作是开发软件的关键;6、软件必须有效地支持它的用户;7、在软件工程领域中是由具有一种文化背景的人替具有另一种文化背景的人创造产品。
软件工程课后习题参考答案

软件工程课后习题参考答案软件工程课后习题参考答案1.简答题1.1 什么是软件工程?软件工程是一门研究和应用如何以系统化、规范化、可量化的方式开发和维护软件的学科,涉及到软件的设计、构建、测试、部署和维护等全生命周期的过程。
1.2 软件工程的目标是什么?软件工程的目标是提高软件开发过程的效率和质量,确保软件项目按时、按需求交付,并且能够满足用户的期望。
1.3 软件生命周期有哪些阶段?常见的软件生命周期包括需求分析、系统设计、详细设计、编码、测试、部署和维护等阶段。
1.4 什么是软件需求?软件需求是指对于软件系统所需满足的问题或需求的描述,包括功能需求、性能需求、接口需求等。
1.5 软件开发过程有哪些模型?常见的软件开发过程模型包括瀑布模型、迭代模型、螺旋模型、敏捷开发等。
2.客观题2.1 软件测试的目的是什么?a) 发现软件中的错误和缺陷b) 验证软件是否符合需求和规格c) 提高软件的可靠性和质量d) 以上皆是答案:d) 以上皆是2.2 瀑布模型的特点是什么?a) 瀑布模型是一种线性顺序的软件开发过程模型b) 各个开发阶段是相互独立的c) 开发过程按照需求分析、设计、编码、测试等顺序进行d) 以上皆是答案:d) 以上皆是2.3 敏捷开发的原则是什么?a) 个体和交互胜过流程和工具b) 可工作的软件胜过详尽的文档c) 客户合作胜过合同谈判d) 响应变化胜过遵循计划e) 以上皆是答案:e) 以上皆是3.计算题3.1 请计算以下代码的覆盖率:(假设代码行数为100行,已执行代码行数为80行)覆盖率 = 已执行代码行数 / 代码行数 100% = 80 / 100 100% = 80%3.2 请计算以下缺陷密度的值:(假设代码行数为1000行,代码中的缺陷数为10个)缺陷密度 = 缺陷数 / 代码行数 1000 = 10 / 1000 1000 = 103.3 请计算以下代码的复杂度:(假设代码中包含的判断语句有20个,循环语句有5个)复杂度 = 判断语句数 2 + 循环语句数 3 = 20 2 + 5 3 = 40 + 15 = 554.附件本文档涉及附件:无5.法律名词及注释本文涉及的法律名词及注释:无。
软件工程课后习题答案

软件工程课后习题答案第一章1.1举出至少5个例子来说明“意外效应法则”在计算机软件方面的应用。
答:典型的例子包括使用“数字汽车仪表板”的软件,赋予高科技,高品质的图像的软件;如广泛的消费类电子产品的软件;个人电脑,工业仪器仪表和机器的软件。
软件分化出的在电子商务方面的应用。
1.2举例说明软件对社会的影响(包括正面影响和负面影响)。
答:这是一个很好的课堂讨论问题(如果时间允许),而不是专注于老生常谈的(但很重要)隐私问题,生活质量等问题。
您可能想要讨论关于”技术恐惧“方面的问题,软件也许会使它恶化但也可能减少”技术恐惧“。
另一个有趣的方面是使用诺依曼的“风险”列在SEN中做重点讨论。
你也可以考虑基于软件的“现金”经济,新模式的互动娱乐,虚拟现实,电子商务等方面来思考软件对社会的影响。
1.3针对1.1节提出的5个问题,请给出你的答案,并与同学讨论。
答:软件需要如此长的开发时间:a)设施不上线b)开发工具并不如预期般运作c)客户提出的新要求,需要重新设计和返工d)产品依赖于政府的规定,被意外更改。
e)严格的要求,与现有系统的兼容性需要超过预期更多的测试,设计和实现。
f)多个操作系统下运行的任务需求比预期需要更长的时间。
g)软件项目风险管理比预期需要更多的时间。
h)依赖的技术仍处于开发阶段,从而延长日程安排。
开发成本高:a)比当时预期低得令人无法接受的质量,需要进行更多的测试,设计和实施工作。
b)制定了错误的软件功能需要重新设计和实施。
c)开发错误的用户界面,而导致重新设计和实施。
d)开发了不需要的额外的软件功能而延长了开发日程安排。
在将软件交付顾客使用之前,我们无法找到所有错误:a)产品依赖于政府监管,意外而改变。
b)产品技术标准草案,会意外更改。
c)有时会在项目后期添加新的开发人员。
d)因为团队内的冲突有时会导致沟通不畅,而产生糟糕的设计。
e)破坏高效调度产生的项目管理成果和无效的规划f)有时装备部件质量差,导致额外的测试,设计和集成工作和管理额外的客户关系。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
软件工程课后习题答案Chapter11.1)The definition for software presented in Section 1.2 applies to the Web sites. There are, however, subtledifferences between a Web site and conventional software. Among the most important are that the content that a Web site presents is considered to be part of the Web Application while that data processed by conventional software is often considered to be separate from the processing functions delivered.1.4)Who would have thought that software would lead to: (1) a change in the dating habits of many youngpeople (Internet dating); (2) the way people communicate (cell phones); (3) methods of warfare (cyberweapons); (4) the diagnosis of diseases (MRIs and related computer-based diagnostic devices), and (5) the manner in which people acquire and enjoy media (music, DVDs, etc.).1.6)The Law of Conservation of Familiarity: As the system evolves the users engineers, developers all thoseassociated must have the complete knowledge of the content and behavior to achieve satisfactory results.Increase in growth may diminish that knowledge (mastery); hence the average increase in growth remains invariant as the system evolves.1.7)Many modern applications change frequently before they are presented to the end user and then after thefirst versions have been used. A few ways to build software to stop deterioration due to change would be: ∙Make sure that software is designed so that changes in one part of a program do not create side-effects in another part of the program.∙Make sure that software is designed so that it does not depend on external devices or systems that are likely to change with time.∙Make sure test cases and results are archived and available so that the software can be retested when changes are made.∙Make sure you spend time understanding what the customer wants.1.8)The two broadest categories encompass risks associated with economic loss and risks to the well beingof people. It might be a good idea to select five risks (culled from the sources noted) and present them to the class. Look for humorous as well as serious risks.1.9)The same approach to software engineering can be applied for each of the six categories, but it must beadapted to accommodate the special requirements of each category.1.10)There are literally dozens of real life circumstances to choose from. For example, software errors thathave caused major telephone networks to fail, failures in avionics that have contributed to plane crashes, computer viruses (e.g., Michelangelo) that have caused significant economic losses and attacks on major e-commerce sites.1.11)The Law of Declining Quality: The quality of systems will decline unless they are maintained by variousprocedures to adapt to the environmental changes. This concept is similar to the ―deterioration‖ discussed in Problem 1-5.1.12)The Law of Conservation of Organizational Stability: The average effective global activity rate isinvariant over the lifetime of a product.Chapter 22.1)2.2) Process assessment examines the software process used by an organization to determine whether it iseffective in achieving software engineering goals. The assessment characterizes the current practicewithin an organizational unit in terms of the capability of the selected processes. The SPICE(ISO/IEC15504) standard defines a set of requirements for software process assessment. To accomplish the assessment, SPICE specifies a ―reference model‖ that examines the purpose and measurableobjectives of the process (the ―process dimension‖) and the set of process attributes that should bepresent (the ―capability dimension‖).2.4) Task Set for Communication Activity: A task set would define the actual work to be done to accomplishthe objectives of a software engineering action. For the communication activity these are:1.Make a list of stakeholders for the project2.Invite all the stakeholders to an informal meeting3.Ask them to make a list of features and functions4.Discuss requirements and build a final list5.Prioritize requirements and note the areas that stakeholders are uncertain ofThese tasks may be expanded for a complex software project, they may then consider the following: ∙To conduct a series of specification meetings, build a preliminary list of functions and features based on stakeholder input.∙To build a revised list of stake holder requirements use quality function deployment techniques to priotize the requirements.∙Note constraints and restrictions on the system.∙Discuss methods for validating system.2.5) The CMMI represents a process metamodel in 2 different ways—the continuous and the staged model.The pros of the CMMI: comprehensive, addressing virtually every aspect of process; well-organized;adopted widely. The cons: voluminous; overkill for many types of projects; agility is questionable.Although the spirit of the CMMI should always be adopted, each process must be adapted to meet the needs of the project team and to achieve high quality in the end product. The requirements of the CMMI should be applied to all process models, but failure to meet a specific criterion should not necessarily mean that the process is ―bad.‖ It may be that the CMMI is right in situations in which an organizational culture is amendable to the standard process models and management is committed to making it a success. However it may be too much for an organization to successfully assimilate. This means that CMMI which is right for one company culture may not be right for another.2.6) Process framework is applicable to all the projects; hence the same framework activities are applied forall projects, regardless of the project’s size or complexity. A process framework involves heavy communication with the customer to gather requirements; this activity establishes a plan for the software engineering work that follows. It involves creation of models that will assist the developer and the customer to understand the requirements and design them; it thereby involves construction (code generation and error testing). It finally provides feedback based on the evaluation.2.7) Umbrella activities occur throughout the software process but they are not necessarily applied evenlyacross the process. For example, there is a heavy concentration on risk analysis during project planning, and risk analysis is then revisited during later framework activities, but it is not applied evenly during these activities. On theother hand, SQA is applied fairly evenly for all process activities.2.8) The support phase is applied differently for embedded software. In most cases, embedded software isdefined and developed, but once it is placed in its host environment, it is not likely to change until a new release of the product occurs.2.9)a)Designers should ask users:∙What do you want this product to accomplish?∙What key outputs are produced by the software?∙What functions and features are you looking for?∙What outputs, functions and features are likely to change over the next 6 months, 1 year.∙Are there any questions that I should have asks that I didn’t?∙How will you determine if what we built is what you wanted?b)Users should ask as designers:∙Have I made my needs clear to you?∙Do we have the tools and people with skills required for the development?∙Are the requirements properly defined, are additional requirements needed.∙Are the product features and functions achievable in the allotted time?∙Have you talked to other classes of users?c)Users should ask themselves about the software product that is to be built:∙Have I asked for more than I’ll really need?∙Have I set deadlines that are unrealistic?∙Am I unsure of certain functions and features?∙Would a prototype be helpful for certain functions and features?∙Am I committed to work with the software designers over the long haul?d)Designers should ask themselves about software product that is to be built and the process that will usedto build it:∙Do I understand the scope and purpose of the software?∙Do I understand the design issues and constraints?∙What tools are to be used?∙Do I understand the technology and business area that the software is to address?∙Have we established quality criteria that can be used to judge our work?2.11) Scripts define specific process activities (i.e., project launch, design, implementation, integration andsystem testing, postmortem) and other more detailed work functions (e.g., development planning, requirements development, software configuration management, and unit test) that are part of the team process. Scripts maybe beneficial when a team need guidance in planning and tracking its work, establishing goals, and defining effective task sets for technical activities. For experienced teams, however, the script may preclude ―on-the-fly‖ adaptation that is often necessary in agile environments. 2.12) The Personal Software Process (PSP) emphasizes personal measurement of both the work product thatis produced and the resultant quality of the work product. The PSP process model defines fiveframework activities: planning, high-level design, high-level design review, development, andpostmortem. In addition PSP makes the practitioner responsible for project planning (e.g.,estimating and scheduling) and empowers the practitioner to control the quality of all software workproducts that are developed.Chapter 33.1) Any software project that has significant functionality that must be delivered in a very tight (too tight)time frame is a candidate for the incremental approach. The idea is to deliver functionality in increments.Example: a sophisticated software product that can be released to the marketplace with only partial functionality—new and improved versions to follow! For example, word-processing software developed using the incremental paradigm might deliver basic file management, editing and document production functions in the first increment; more sophisticated editing and document production capabilities in the second increment; spelling and grammar checking in the third increment, and advanced page layout capability in the fourth increment. The process flow for any increment may incorporate the prototyping paradigm. Incremental development is particularly useful when staffing is unavailable for a complete implementation by the business deadline that has been established for the project.3.2) The waterfall model is appropriate for projects with the following characteristics: (1) the problem is wellunderstood (requirements are well-defined); (2) the delivery date is realistic; (3) it’s unlikely that majorchanges in requirements will be requested as the project proceeds. Specific examples might be: (1) a well understood modification to an existing program; (2) a straightforward implementation of a numericalcalculation or business rule, even if it’s complex; (3) a constrained enhancement to an existing program.3.3) If the plan is to have a prototype evolve into a delivered application, more rigorous design rules andSQA procedures must be applied from the beginning. In addition, the prototype must be designed withextensibility in mind and must be implemented using a programming environment that is amenable toproduction system development. Initially, the prototype serves as a mechanism for identifying softwarerequirements. Once a working prototype is built, it becomes the skeleton (framework) for extensions that will cause it to evolve into a production system.3.4) RAD assumes that a project can be modularized in a manner that allows major functionality to bedelivered within a 60 – 90 day time frame. Although this is often the case, there are situations in whichtimelines are longer. In addition, RAD assumes that sufficient human resources will be available todevelop the increments in parallel. This may not be the case.3.5) Software applications that are relatively easy to prototype almost always involve human-machineinteraction and/or heavy computer graphics. Other applications that are sometimes amenable toprototyping are certain classes of mathematical algorithms, subset of command driven systems and other applications where results can be easily examined without real-time interaction. Applications that aremore difficult to prototype include control and process control functions, many classes of real-timeapplications and embedded software.3.6) The real question that a paper should address is: How do we develop a process that can accommodatemany of the chaotic attributes of modern software development? The authors suggest processes that are―focused on flexibility and extensibility rather than on high quality‖ and admit that this approach is―scary.‖ No doubt! In fact, I believe it is a recipe for disaster. With the exception of certain widely usedPC operating systems (that will remain nameless) quality does appear to be a reasonable harbinger ofsuccessful software. A program that is ―flexible and extensible‖ will not succeed if it fails regularly andbehaves unpredictably. It should be noted that much has been written about ―good enough‖ software.That’s OK as long as the word ―good‖ is emphasized.3.7) Process models can be combined. Each model suggests a somewhat different process flow, but allperform the same set of generic framework activities: communication, planning, modeling,construction, and deployment.For example the linear sequential model can serve as a useful process model in situations whererequirements are fixed and work is to proceed to completion in a linear manner. In cases, where thedeveloper may be unsure of the efficiency of an algorithm, the adaptability of an operating system,or the form that human-machine interaction should take. In these, and many other situations, aprototyping model may offer the best approach. In other cases, an incremental approach may makesense and the flow of Spiral model may be efficient. Special process models take on many of thecharacteristics of one or more of the tradition.3.8) A software engineering workflow is distributed across all UP phases. In the context of UP, a workflow isanalogous to a task set. That is, a workflow identifies the tasks required to accomplish an importantsoftware engineering action and the work products that are produced as a consequence of successfullycompleting the tasks. UP workflow is conducted for every software project, whereas the five UP phasesdo not necessarily occur in a sequence, but rather with staggered concurrency. It is likely in the UP thatat the same time the construction, transition, and production phases are being conducted, work may have already begun on the next software increment.3.9) Stated simply, the concurrent process model assumes that different parts of a project will be differentstages of completeness, and therefore, different software engineering activities are all being performed concurrently. The challenge is to manage the concurrency and be able to assess the status of the project.3.10) The advantages of developing a software in which quality is‖ good enough‖ is that the product orsoftware will meet the deadline, it may however lead to delivery of software that is low in quality and requires time to improve the quality. When speed is emphasized over the product quality, the process may lead to many flaws—the software may require more testing, design and implementation rework. 3.11) It is possible to use mathematical techniques to prove the correctness of software components andeven entire programs (see Chapter 28). However, for complex programs this is a very timeconsuming process. It is not possible to prove the correctness of any non-trivial program usingexhaustive testing.3.13) Customer required properties or areas of technical interest often span the entire software architecture.When these properties, referred as ―concerns,‖ cut across multiple system functions, features, andinformation, they are often referred to as ―crosscutting concerns.‖ Aspect-oriented softwaredevelopment, often referred to as aspect-oriented programming (AOP), is a relatively new softwareengineering paradigm that provides a process and methodological approach for defining, specifying,designing, and constructing aspects—―mechanisms beyond subroutines and inheritance forlocalizing the expression of a crosscutting concern.‖ a3.14) UML provides the necessary technology to support object-oriented (and conventional) softwareengineering practice, but it does not provide the process framework to guide project teams in theirapplication of the technology. The Unified Process is a framework for software engineering usingUML. Today, the Unified Process and UML are used on projects of all kinds. However, they are notthe same thing. UML is a modeling notation and language. UP is a process framework in whichUML may be applied as part of software engineering activities.3.15) As work moves outward on the spiral, the product moves toward a more complete state and the level ofabstraction at which work is performed is reduced (i.e., implementation specific work accelerates as we move further from the origin).Chapter 66.2) You might suggest the following systems: an airport, your university, an on-line bank, a retail store,an e-commerce site. As an example consider a university:UniversityAcademic programsDegree granting programs-undergraduateDegree granting programs-undergraduateProfessional educationContinuing educationAdministrative DepartmentsRegistrar ….CoursesFacultyInfrastructu re Maintenance …6.4) The data architecture refers to corporate data, its organization, and the relationships betweenindividual corporate data elements. For example, a telephone billing system might draw on elementsthat include customer information, rate tables, calling logs and so forth. Application architecturedefines the functional hierarchy that is required to realize the goals and objectives of a largeinformation system. Technology infrastructure identify the hardware and software backbone (e.g.,client/server, operating system type) that enable the system to function.6.5) There is less likelihood of miscommunication when the developer is the system engineer, but there ishigh likelihood of "creeping enhancements" and the possibility of building a system that doesn’t meetcustomer’s needs because perceptions of need are incorrect. When the customer is the systemengineer, the likelihood is that technical issues may be omitted, but it is likely that customer need willbe more accurately reflected. When an outside third party is the system engineer, communicationbandwidth between developer and customer must be very high. It’s likely that things will fall into thecracks. However, the third party may be an expert, hence better overall quality of the system model.The ideal system engineer is technically expert in system engineering, has full understanding of the customer business/product domain, and understands the development environment (and leaps tallbuildings in a single bound!).6.6) Consider the CLSS described in this chapter. Additional questions:∙What has been done to accomplish this task previously?∙Couldn’t sorting occur as the boxes were packed?∙Is the number of different parts (and boxes) likely to increase or decrease?∙Are all boxes the same size and weight?∙What is the environment in which this system will sit (e.g., corrosive, high temperature, dusty, etc.)?Allocations: (4) Bar code reader and PC. PC prints destination on screen and a human operator does the placement into the bin; (5) Human reads box and speaks destination into voice recognition systemthat controls and automated shunt.6.7) The assumptions, simplifications, limitations, constraints, and preferences are, of course, dependenton the system that is chosen. In general, assumptions should be kept to a minimum, the higher thenumber of assumptions, the higher the project risk; simplification are worthwhile, but only if theydo not change the nature of system functions and features or the data that the system manipulates;limitations are determined as part of requirements gathering and help to bound the system;constraints dictate the design approach, and preferences help to guide design alternatives that arechosen.6.9) Use a large dictionary or thesaurus. Common synonyms: scheme, organization, classification,structure, organism, None are really on the mark.6.10) There are many cases where complete specification is impossible early in a project. In some ofthese, it is necessary to prototype before a formal specification can be developed. Examples are:∙Sophisticated analytical models that must be researched and developed—delay until requirements specification or even design!∙Sometimes, specific hardware/software interfaces—delay until requirements, but no later!∙Certain performance constraints—delay until requirements, but no later!6.11) The SCD represents how information flows from external sources (entities) into the system itselfand then outward to external sinks (entities). Entities within each of the five functional areasrepresented as part of the SCD (Figure 6.4) should be represented.6.12) In many instances a computer-based system is actually a "software only" system. That is, anexisting standard computer, operating system and I/O environment are to be used. In such cases, the System Specification can be eliminated in lieu of a Software Requirements Specification. There arealso situations in which a system prototype (either real or paper) is much more effective than aspecification.Chapter 77.2) In reality, the customer and the developer enter into a process of negotiation, where the customermay be asked to balance functionality, performance, and other product or system characteristicsagainst cost and time to market. The intent of this negotiation is to develop a project plan that meets the needs of the customer while at the same time reflecting the real-world constraints (e.g., time,people, budget) that have been placed on the software team, Unfortunately, each customer has hisown priorities and views. These views are not necessarily consistent.7.3) Feasibility analysis within the context of the inception function is to identify a working descriptionof the project’s scope and then assess whether the scope can be achieved within the context ofmanagement and technical constraints. In essence, feasibility analysis (during inception) defines abusiness case for an idea and identifies the breadth and depth of the market that the product is toaddress.7.4) You might try using an approach like QFD that makes use customer interviews and observation,surveys, and examination of historical data (e.g., problem reports) as raw data for the requirementsgathering activity. These data are then translated into a table of requirements—called the customervoice table—that is reviewed with the customers later. A variety of diagrams, matrices, andevaluation methods are then used to extract expected requirements.However, if the customer refuses to work with you, it’s time to get both your management and the customer’s management involved. If they don’t have the time to help define the software, they probably won’thave the inclination to use it.7.5) Software engineers want to begin building something, so they sometimes give requirementsanalysis short shrift. In addition, understanding the requirements of a problem is among the mostdifficult tasks that a software engineer face since requirements change, are sometime contradictoryand are often difficult to enunciate clearly. Hence, software engineers want to get through therequirements engineering activity and get on with the ―real engineering work.‖ A mistake!In situations in which the problem is relatively small and reasonably well understood, an abbreviated approach may be chosen. For more complex problems with many requirements, every task definedfor comprehensive requirements engineering should be performed rigorously. Requirementsengineering builds a bridge to design and construction and cannot be skipped.7.6) Guidelines should be consistent with information presented in Section 7.4 and should stressestablish a collaborative atmosphere. To summarize:∙meetings are conducted and attended by both software engineers and customers.∙rules for preparation and participation are established.∙an agenda is suggested that is formal enough to cover all important points but informal enough to encourage the free flow of ideas.∙ a "facilitator" (can be a customer, a developer, or an outsider) controls the meeting.∙ a "definition mechanism" (can be work sheets, flip charts, or wall stickers or an electronic bulletin board, chat room or virtual forum) is used.∙the goal is to identify the problem, propose elements of the solution, negotiate different approaches, and specify a preliminary set of solution requirements in an atmosphere that is conducive to theaccomplishment of the goal.7.7) The first set of context-free questions focuses on the customer and other stakeholders, the overall goals,and the benefits. For example, the requirement engineer might also ask:∙Who is paying for this work?∙What is the name of a contact person in each customer group?∙Do you know of any other business that has solved this problem successfully?7.8) The best negotiations strive for a ―win-win‖ result, therefore, if the customer feels he has won,that does make you a master negotiator. If the customer feel duped or forced into agreement, it’sunlikely that a collaborative atmosphere will be established. The project will suffer as a result.7.10) The customer for information systems is often another department in the same company—oftenreferred to as the "user department." The customer for computer-based products is typically themarketing department! The customer for computer-based systems may be an internal department,marketing or an outside entity (e.g., a government agency, another company, an end-user).7.11) The intent of the analysis model is to provide a description of the required information, functional,and behavioral domains for a computer-based system. The model changes dynamically as softwareengineers learn more about the system to be built, and stakeholders understand more about whatthey really require. For that reason, the analysis model is a snapshot of requirements at any giventime.7.12) First, the nature of the error is determined. If it is an omission, additional information must be added.If the error is due to ambiguity, the customer and developer must work to clarify matters. If theerror is due to inconsistency, a more consistent presentation is developed; if the error is due to a badinterpretation of customer need, further discussion with the customer are warranted.7.14) Anyone who has done requirements engineering on more than a few software projects begins tonotice that certain things reoccur across all projects within a specific application domain. Thesecan be called ―analysis patterns‖ and represent something (e.g., a class, a function, a behavior)within the application domain that can be reused when modeling many applications.7.15) Extensions provide an indication of how the scenario reacts when things go awry (e.g., bad data areinput) or when a specific action (not described in the body of the use-case) is taken.7.16) A ―Win-Win situation is one in which the customer wins by getting the system or product thatsatisfies the majority of the customer’s needs and the software team wins by working to realisticand achievable budgets and deadlines.7.17) The specific elements of the analysis model are dictated by the analysis modeling method that is tobe used; however the four elements of an analysis model are:∙Scenario-based elements. The system is described from the user’s point of view using a scenario-based approach.∙Class-based elements. Each usage scenario implies a set of ―objects‖ that are manipul ated as an actor interacts with the system. These objects are categorized into classes—a collection of thingsthat have similar attributes and common behaviors.∙Behavioral elements. The behavior of a computer-based system can have a profound effect on the design that is chosen and the implementation approach that is applied. Therefore, the analysismodel must provide modeling elements that depict behavior.∙Flow-oriented elements. Information is transformed as it flows through a computer-based system.The system accepts input in a variety of forms; applies functions to transform it; and producesoutput in a variety of forms.Chapter 88.1) Structured analysis begins with a consideration of the data objects that the system must manipulate.In structured analysis the data objects are described with a data dictionary and the entity relationdiagram (ERD) depicts relationships between data objects. The flow and transformation of data。