软件工程8
- 格式:ppt
- 大小:1.13 MB
- 文档页数:161


1
NOT FOR PUBLIC DISTRIBUTIONSoftware Engineering8th editionSolutions to selected exercisesThese solutions are made available for instructional purposes only. They may only be distributed tostudents and it is a condition of distribution that they are only distributed by accredited instructorsusing ‘Software Engineering, 8th edition’ as a textbook.. The solutions may be made available tostudents on a password-protected intranet but must not be made available on a publicly-accessibleWWW server.2NOT FOR PUBLIC DISTRIBUTION© Ian Sommerville 2006Solutions to the exercises are organised by chapter and I have provided solutions for 6 or 7 exercisesfor each chapter in the book. In some cases, where the material is likely to be unfamiliar or where Ihave found students to have particular difficulties, a larger number of solutions are given. Overall, Ihave provided solutions for about 60% of the exercises. For exercises concerned with ethical issues,there are of course, no definitive solutions. For these exercises, I have included issues that might beaddressed.However, the solutions here are simply indications of what might be expected from studentsattempting the exercises. Many of the exercises have been deliberately designed so that they may beadapted to local situations; therefore they are not specified in a rigid way. Instructors, therefore, mayuse these solutions as a guide but many other possible, equally valid, solutions may also begenerated.There are still a small number of chapters where there are fewer than 6 solutions to exercises. Theseadditional solutions will be available in the next release of this document in October 2006.3
1. 为了把握软件开发各个环节的正确性和协调性,人们需要进行( A 2 )和( B 3 )工作。( A )的目的是想证实在一给定的外部环境中软件的逻辑正确性。它包括( C 2 )和( D 3 ),( B )则试图证明在软件生存期各个阶段,以及阶段间的逻辑( E 3 )、( F 4 )和正确性。
供选择的答案:
A, B. ① 操作 ② 确认 ③ 验证 ④ 测试 ⑤ 调试
C, D. ① 用户的确认 ② 需求规格说明的确认
③ 程序的确认 ④ 测试的确认
E, F. ① 可靠性 ② 独立性 ③ 协调性 ④ 完备性 ⑤ 扩充性
2. 软件测试是软件质量保证的主要手段之一,测试的费用已超过( A 1 )的30%以上。因此,提高测试的有效性十分重要。“高产”的测试是指( B 3 )。根据国家标准GB 8566–88《计算机软件开发规范》的规定,软件的开发和维护划分为8个阶段,其中,单元测试是在( C 5 )阶段完成的,集成测试的计划是在( D 3 )阶段制定的,确认测试的计划是在( E 2 )阶段制定的。
供选择的答案:
A. ① 软件开发费用 ② 软件维护费用 ③ 软件开发和维护费用
④ 软件研制费用 ⑤ 软件生存期全部
B. ① 用适量的测试用例运行程序,证明被测程序正确无误
② 用适量的测试用例运行程序,证明被测程序符合相应的要求
③ 用少量的测试用例运行程序,发现被测程序尽可能多的错误
④ 用少量的测试用例运行程序,纠正被测程序尽可能多的错误
C E. ① 可行性研究和计划 ② 需求分析 ③ 概要设计
④ 详细设计 ⑤ 实现 ⑥ 集成测试
⑦ 确认测试 ⑧ 使用和维护
软件工程自考题模拟8
(总分:100.00,做题时间:90分钟)
一、单项选择题(总题数:20,分数:40.00)
1.下列关于需求规约的作用说法错误的是______
(分数:2.00)
A.需求规约是软件开发者和客户之间一份相关的技术合同书 √
B.对于项目的其余大多数工作,需求规约是一个管理控制点
C.对于产品/系统的设计,需求规约是一个正式的,受控的起始点
D.需求规约是创建产品验收测试计划和用户指南的基础
解析:[考点] 本题主要考查的知识点为需求规约的作用。
需求规约是软件开发组织和用户之间一份事实上的技术合同书,是产品功能及其环境的体现,并不是客户与开发者之间的相关技术合同。
2.下列描述中,不属于程序流程图优点的是______
(分数:2.00)
A.历史最悠久,使用最广泛
B.容易表示数据结构 √
C.支持程序的三种基本控制结构
D.直观清晰,易于使用
解析:[考点] 本题主要考查的知识点为程序流程图。
程序流程图是一种历史最悠久,使用最广泛的设计工具,对控制流程的描绘直观,便于初学者掌握。在程序流程图中,使用顺序、选择和循环三种基本控制结构。但是它不是一种逐步求精的工具,也不易表示数据结构。
3.数据字典是软件需求分析阶段所采用的最重要工具之一,其最基本的功能是______
(分数:2.00)
A.数据定义 √
B.数据通讯
C.数据库设计
D.数据维护
解析:
4.以下说法错误的是______
(分数:2.00)
A.组合是聚合的一种特殊形式
B.在一个组合中,一个链所连接的对象构成的任何元组,必须都属于同一个整体类的对象
C.在一个组合中,组合末端的多重性可以超过1 √
D.如果整体类的实例和部分类的实例具有相同的生命周期,那么这样的聚合称为组合
解析:
5.不属于在单元测试期间需要考虑的模块特征的是______
(分数:2.00)
A.模块接口
第 1 页 共 20 页 软件工程心得体会8篇
(经典版)
编制人:__________________
审核人:__________________
审批人:__________________
编制单位:__________________
编制时间:____年____月____日
序言
下载提示:该文档是本店铺精心编制而成的,希望大家下载后,能够帮助大家解决实际问题。文档下载后可定制修改,请根据实际需要进行调整和使用,谢谢!
并且,本店铺为大家提供各种类型的经典范文,如工作总结、工作计划、调研报告、演讲致辞、合同协议、条据文书、规章制度、教学资料、作文大全、其他范文等等,想了解不同范文格式和写法,敬请关注!
Download tips: This document is carefully compiled by this editor. I
hope that after you download it, it can help you solve practical problems.
The document can be customized and modified after downloading, please adjust
and use it according to actual needs, thank you!
Moreover, our store provides various types of classic sample essays,
such as work summaries, work plans, research reports, speeches, contract
agreements, documents, rules and regulations, teaching materials, complete
essays, and other sample essays. If you would like to learn about different