四川大学软件工程期末

合集下载

《软件工程》期末考试及答案

《软件工程》期末考试及答案

第 1 页 共 4 页 (软件工程)《软件工程》 期末考试试卷考生注意:1.本试卷共有五道大题,满分100分.2.考试时间90分钟。

3.卷面整洁,字迹工整。

4.填写内容不得超出密封线.一、名词解释题(每小题3分,共15分) 1。

软件生存周期模型2.数据字典DD3。

内聚性4.JSP 方法5。

多态性二、填空题(每空2分,共20分)1.在软件开发过程中要产生大量的信息,要进行大量的修改, 能协调软件开发,并使混乱减到最低程度。

2.规定功能的软件,在一定程度上对自身错误的作用具有屏蔽能力,则称此软件具有 的软件。

3.McCall 提出的软件质量模型包括 个软件质量特性。

4.软件可维护性度量的七个质量特性是可理解性、可测试性、可修改性、可靠性、 、可使用性和效率。

5. 为了便于对照检查,测试用例应由输入数据和预期的 两部分组成.6. 程序设计语言的心理特性主要表现在 、简洁性、传统性、局部性和顺序性。

7。

软件结构是以 为基础而组成的一种控制层次结构。

8。

使用类创建对象的过程实际上是类的 过程。

9. 结构化语言是介于自然语言和 之间的一种半形式语言。

10. 若年利率为i,不计复利,n 年后可得钱数为F,则现在的价值P= 。

三、简答题(每小题5分,共20分)2。

以G 。

J.Myers 的观点,简述对软件测试的目的。

3。

就程序设计语言的工程特性而言,对程序编码有哪些要求?4.模块的内聚性包括哪些类型?四、理论应用题(每小题15分,共30分)PDL语言描述在数组A(1)~A(10)中找最大数的算法。

2.根据下列条件使用等价类划分法设计测试用例。

某一8位微机,其八进制常数定义为:以零开头的数是八进制整数,其值的范围是—177~177,如05,0127,-065。

五、实践应用题(每小题15分,共15分)1.某电器集团公司下属的厂包括技术科、生产科等基层单位.现在想建立一个计算机辅助企业管理系统,其中:生产科的任务是:(1)根据销售公司转来的内部合同(产品型号、规格、数量、交获日期)制定车间月生产计划。

《软件工程》期末试卷及答案

《软件工程》期末试卷及答案

《软件工程》期末试卷及答案一、选择题(每题2分,共20分)1. 下列哪项不是软件工程的基本目标?A. 提高软件的生产率B. 提高软件的质量C. 减少软件的开发成本D. 提高软件的可维护性答案:D2. 软件工程的三要素不包括以下哪项?A. 方法B. 工具C. 管理模式D. 知识库答案:D3. 下列哪种软件过程模型适用于需求不明确的项目?A. 水平模型B. 增量模型C. 迭代模型D. 瀑布模型答案:C4. 在软件项目管理中,项目经理负责以下哪项工作?A. 软件需求分析B. 软件设计C. 软件编码D. 项目计划与组织答案:D5. 以下哪种编程语言不属于面向对象编程语言?A. JavaB. C++C. PythonD. C答案:D6. 下列哪种软件测试方法属于静态测试?A. 单元测试B. 集成测试C. 系统测试D. 代码审查答案:D7. 以下哪种软件维护类型占总维护工作量的比例最大?A. 适应性维护B. 完善性维护C. 纠错性维护D. 预防性维护答案:C8. 下列哪种软件文档是软件开发过程中必须编写的?A. 项目计划书B. 需求规格说明书C. 设计文档D. 测试报告答案:B9. 下列哪种软件工程方法学强调开发过程的结构化和规范化?A. 结构化分析方法B. 面向对象分析方法C. 原型法D. 敏捷开发方法答案:A10. 以下哪个软件工具不属于CASE(计算机辅助软件工程)工具?A. 代码生成器B. 代码审查工具C. 项目管理工具D. 数据库管理系统答案:D二、填空题(每题2分,共20分)11. 软件工程的基本原则包括抽象、封装、模块化、层次化和信息隐藏等,其中______是一种将信息、数据和操作封装在一起的方法。

答案:封装12. 软件开发过程分为需求分析、设计、编码、测试和维护五个阶段,其中______阶段是软件开发过程中的核心阶段。

答案:设计13. 代码行(LOC)和功能点(FP)是衡量软件规模的两个指标,其中______是一种基于软件功能需求的规模度量方法。

软件工程期末试题(含答案)

软件工程期末试题(含答案)

软件工程期末试题(含答案)预览说明:预览图片所展示的格式为文档的源格式展示,下载源文件没有水印,内容可编辑和复制一、填空题(每空1分,共25分)1.软件生存周期一般可以划分为,问题定义、可行性研究、需求分析、设计、编码、测试和运行和维护。

2.基于软件的功能划分,软件可以划分成___系统软件_、支撑软件、应用软件__三种。

3.可行性研究,应从经济可行性、技术可行性、运行可行性、法律可行性和开放方案可行性等方面研究。

4.系统流程图是描绘物理系统的传统工具。

它的基本思想是用图形符号以黑盒子形式描绘系统里面的每个部件5.数据流图的基本四种成分:数据输入的源点和数据输出汇点、加工、数据流和数据存储文件。

6.结构化分析方法是面向_数据流_进行需求分析的方法。

结构化分析方法使用_数据流图DFD_与_数据字典_来描述。

7.继承性是自动地共享类、子类和对象中的方法和数据的机制。

8.软件详细设计工具可分为3类,即_图示工具_、_设计语言_和_表格工具_。

9.为了在软件开发过程中保证软件的质量,主要采取下述措施:_审查__、复查和管理复审、___测试_。

10.大型软件测试包括单元测试、集成测试、确认测试和系统测试四个步骤。

二、单项选择题(每小题2分,共20分)1.软件设计中划分模块的一个准则是( C )。

A、低内聚低耦合 B.低内聚高耦合 C.高内聚低耦合 D.高内聚高耦合2.Jackson设计方法是由英国的M. Jackson提出的,它是一种面向( C )的软件设计方法。

A、对象 B.数据流 C.数据结构 D.控制结构3.试判断下列叙述中,哪个(些)是正确的( C )。

a、软件系统中所有的信息流都可以认为是事务流b、软件系统中所有的信息流都可以认为是变换流c、事务分析和变换分析的设计步骤是基本相似的A、aB、bC、cD、b和c4.( A )是用户和设计交换最频繁的方法。

A、原型化方法B、瀑布模型方法 C. 螺旋模型方法D、构件组装模型5.软件工程方法学的目的是:使软件生产规范化和工程化,而软件工程方法得以实施的主要保证是( C )。

2022年四川大学软件工程专业《数据库原理》科目期末试卷A(有答案)

2022年四川大学软件工程专业《数据库原理》科目期末试卷A(有答案)

2022年四川大学软件工程专业《数据库原理》科目期末试卷A(有答案)一、填空题1、关系数据库中基于数学的两类运算是______________和______________。

2、在RDBMS中,通过某种代价模型计算各种查询的执行代价。

在集中式数据库中,查询的执行开销主要包括______和______代价。

在多用户数据库中,还应考虑查询的内存代价开销。

3、数据的安全性是指____________。

4、对于非规范化的模式,经过转变为1NF,______,将1NF经过转变为2NF,______,将2NF经过转变为3NF______。

5、数据库内的数据是______的,只要有业务发生,数据就会更新,而数据仓库则是______的历史数据,只能定期添加和刷新。

6、若事务T对数据对象A加了S锁,则其他事务只能对数据A再加______,不能加______,直到事务T释放A上的锁。

7、关系规范化的目的是______。

8、关系系统的查询优化既是关系数据库管理系统实现的关键技术,又是关系系统的优点。

因为,用户只要提出______,不必指出 ______。

9、安全性控制的一般方法有____________、____________、____________、和____________视图的保护五级安全措施。

10、视图是一个虚表,它是从______导出的表。

在数据库中,只存放视图的______,不存放视图对应的______。

二、判断题11、一个数据表只能有一个唯一索引。

()12、有出现并发操作时,才有可能出现死锁。

()13、在SQL中,ALTERTABLE语句中MODIFY用于修改字段的类型和长度等,ADD用于添加新的字段。

()14、在SELECT语句中,需要对分组情况满足的条件进行判断时,应使用WHERE子句。

()15、关系中任何一列的属性取值是不可再分的数据项,可取自不同域中的数据。

()16、求事务在读取数据前先加共享锁,且直到该事务执行结束时才释放相应的锁,这种封锁协议是二级封锁协议。

2021年四川大学软件工程专业《计算机组成原理》科目期末试卷B(有答案)

2021年四川大学软件工程专业《计算机组成原理》科目期末试卷B(有答案)

2021年四川大学软件工程专业《计算机组成原理》科目期末试卷B(有答案)一、选择题1、局部性原理是一个持久的概念,对硬件和软件系统的设计和性能都有着极大的影响。

局部性通常有两种不同的形式:时间局部性和空间局部性。

程序员是否编写出高速缓存友好的代码,就取决于这两方面的问题。

对于下面这个函数,说法正确的是()。

int sumvec(int v[N]){int i, sum=0;for(i=0;i<N;i++)sum+= v[i]eturn sum;}A.对于变量i和sum,循环体具有良好的空间局部性B.对于变量i、sum和v[N],循环体具有良好的空间局部性C.对于变量i和sum,循环体具有良好的时间局部性D.对于变量i、sum和v[N],循环体具有良好的时间局部性22、主存储器主要性能指标有()。

1.存储周期Ⅱ.存储容量Ⅲ.存取时间Ⅳ.存储器带宽A.I、IⅡB.I、IⅡ、IVC. I、Ⅲ、lVD.全部都是3、在原码两位乘中,符号位单独处理,参加操作的数是()。

A.原码B.绝对值的补码C.补码D.绝对值4、某计算机字长为32位,按字节编址,采用小端(Litle Endian)方式存放数据。

假定有一个double型变量,其机器数表示为1122334455667788H,存放在00008040H开始的连续存储单元中,则存储单元00008046H中存放的是()。

A.22HB.33HC.66HD.77H5、常用的(n,k)海明码中,冗余位的位数为()。

A.n+kB.n-kC.nD.k6、总线按连接部件不同可分为()。

A.片内总线、系统总线、通信总线B.数据总线、地址总线、控制总线C.主存总线I/O总线、DMA总线D.ISA总线、VESA总线、PCI总线7、某同步总线采用数据线和地址线复用方式,其中地址/数据线有32根,总线时钟频率为66MHz,每个时钟周期传送两次数据(上升沿和下降沿各传送一次数据),该总线的最大数据传输率(总线带宽)是()。

《软件工程》期末考试试卷(A卷)含答案(2)

《软件工程》期末考试试卷(A卷)含答案(2)

2016‐2017 学年第2 学期《软件工程》期末考试试卷(A 卷)一、单项选择题(共20 题,每题2 分)1、软件工程的出现主要是由于。

A). 程序设计方法学的影响 B). 其他工程科学的影响C). 软件危机的出现 D). 计算机的发展2、可行性研究的目的是。

A). 争取项目 B). 确定项目是否值得开发C). 确定系统需求 D). 深入调研用户需求3、从结构化的瀑布模型看,软件生命周期的各个阶段中,下面哪个环节出错,对软件的影响最大_________。

A).总体设计阶段 B).实现阶段 C).需求分析阶段 D).详细设计阶段4、DFD中的每个加工至少需要A). 一个输入流 B). 一个输出流C). 一个输入或输出流 D). 一个输入流和一个输出流5、层次图中上下层间的关系是________。

A).调用关系 B).组成关系 C).继承关系 D).嵌套关系6、一个设计得好的系统应该具有特征。

A). 低内聚、低耦合 B). 高内聚、低耦合C). 高内聚、高耦合 D). 低内聚、高耦合7、下列关于Jackson方法的叙述,观点不正确的有。

(A)Jackson方法是根据目标系统的输入、输出数据结构导出程序的结构的一种方法(B)Jackson方法适合大型实时系统的开发(C)Jackson方法适合于开发以数据为主,计算较简单的事务型数据处理系统(D)Jackson方法对模块与独立性原则没有给予应有重视,未提供对复杂设计过程的技术支持8、将下列块内联系的类型按模块独立性由强到弱的顺序排列的是。

①模块中包含的任务必须在同一时间段内执行②模块内所有的成分构成一个整体,仅完成一个单一的功能③模块中所有元素都使用同一个输入数据或产生同一个输出数据④一组语句在程序中多次出现,为节省空间把这组语句独立出来作为一个模块(A)①②③④(B)④①③②(C)②③①④(D)②①④③9、软件测试中根据测试用例设计的方法的不同可分为黑盒测试和白盒测试两种,它们A).前者属于静态测试,后者属于动态测试 B).都属于静态测试C).前者属于动态测试,后者属于静态测试 D).都属于动态测试10、下面不是对象具有的特性。

软件工程-期末考试题(含答案)

软件工程-期末考试题(含答案)软件工程-期末考试题(含答案)1. 题目一:软件需求工程软件需求工程是软件开发的重要环节之一,主要包括需求获取、需求分析、需求规格、需求验证等阶段。

在软件开发的整个过程中,需求工程的目标是确保开发出的软件能够满足用户的需求,同时保证软件的质量和可靠性。

1.1 需求获取需求获取是软件需求工程的第一步,它涉及到对用户的需求进行调研和收集。

需求获取的方法可以包括面谈、问卷调查、观察等。

通过与用户的沟通和了解,开发团队可以获取到用户对软件的期望和需求,为后面的分析和规格阶段提供依据。

1.2 需求分析需求分析是对收集到的需求进行认真分析和理解的过程。

在这个阶段,开发团队将准确定义软件所需具备的功能、性能和约束。

通过对需求的分析,可以帮助开发团队更好地理解用户的需求,并将其转化为可执行的任务。

1.3 需求规格需求规格是将需求分析的结果进行详细描述和规范化的过程。

在这个阶段,开发团队需要将需求规格书写成可读、可理解的形式,以便于开发人员进行后续的开发工作。

需求规格书通常包括用例图、类图、时序图等各种工具和技术。

1.4 需求验证需求验证是对需求的正确性和完整性进行验证的过程。

在这个阶段,开发团队需要与用户进行确认,确保所开发的软件能够满足用户的期望和需求。

需求验证也可通过模拟测试、原型验证等方式进行。

2. 题目二:软件设计原则软件设计原则是开发人员编写高质量软件的指导原则,旨在提高软件的可维护性、可扩展性和可重用性。

下面介绍几个常用的软件设计原则。

2.1 单一职责原则单一职责原则(SRP)要求每个类或模块只负责一种功能或职责。

这样可以保持代码的简洁性和可读性,并使得类或模块更加易于维护和扩展。

2.2 开放封闭原则开放封闭原则(OCP)要求软件实体(类、模块、函数等)应该对扩展开放,对修改封闭。

这样可以使得软件设计能够适应需求的变化,而不需要修改原有的代码。

2.3 里氏替换原则里氏替换原则(LSP)要求子类必须能够替换父类,并且不影响程序的正确性。

《软件工程》期末考试题及答案

《软件工程》期末考试题及答案一、选择题(每题2分,共20分)1. 以下哪项不是软件工程的三个主要目标?A. 可维护性B. 可用性C. 可靠性D. 高成本答案:D2. 以下哪个不属于软件工程的五大过程?A. 需求分析B. 设计C. 编码D. 测试答案:D3. 下列哪种编程范式主要用于降低软件复杂性?A. 面向对象编程B. 过程式编程C. 函数式编程D. 逻辑编程答案:A4. 以下哪个不是软件设计的主要阶段?A. 模块设计B. 数据设计C. 界面设计D. 测试设计答案:D5. 以下哪个不属于软件测试的级别?A. 单元测试B. 集成测试C. 系统测试D. 验收测试答案:D6. 以下哪个不属于软件维护的类型?A. 更正性维护B. 适应性维护C. 完善性维护D. 预防性维护答案:D7. 以下哪个不属于软件项目管理的主要内容?A. 进度管理B. 成本管理C. 质量管理D. 知识管理答案:D8. 以下哪个不是敏捷开发的典型方法?A. ScrumB. KanbanC. 极限编程D. 水晶方法答案:D9. 以下哪个不属于软件需求分析的方法?A. 用例分析B. 数据流图C. 类图D. 状态图答案:C10. 以下哪个不属于软件工程的七大原则?A. 模块化B. 信息隐藏C. 抽象D. 重用答案:D二、填空题(每题2分,共20分)1. 软件工程的三个主要目标是______、______、______。

答案:可维护性、可用性、可靠性2. 软件工程的五大过程是需求分析、______、编码、测试、______。

答案:设计、维护3. 软件设计的主要阶段包括模块设计、______、______。

答案:数据设计、界面设计4. 软件测试的四个级别是单元测试、______、系统测试、______。

答案:集成测试、验收测试5. 软件维护的四种类型是更正性维护、______、完善性维护、______。

答案:适应性维护、预防性维护6. 软件项目管理的主要内容有进度管理、______、______。

2020四川大学软件工程期末复习

Multiple choices1.The rapid application development model isAnswer:ca.Another name for component-based development.b. A useful approach when a customer cannot define requirementsclearly.c. A high speed adaptation of the linear sequential model.d.All of the above.1.Which of the following is not necessary to apply agilityto a software process?a.Eliminate the use of project planning and testingb.Only essential work products are producedc.Process allows team to streamline taskses incremental product delivery strategyAnswer:a2.How do you create agile processes to manageunpredictability?a.Requirements gathering must be conducted verycarefullyb.Risk analysis must be conducted beforeplanning takes placec.Software increments must be delivered in shorttime periodsd.Software processes must adapt to changesincrementallye.Both c and dAnswer: e1.To construct a system model the engineer should considerwhich of the following restraining factors? Answer: ea.assumptionsb.budgetc.constraintsd. schedulee.both a and c2.During business process engineering, three differentarchitectures are examined. Answer: aa.applications, data, technology infrastructuremunications, organization, financialinfrastructurework, database, reporting structured.systems, requirements, data structure3.Which of the following is not one of the context-freequestions that would be used during project inception?a.What will be the economic benefit from a goodsolution?b.Who is against this project?c.Who will pay for the work?d.Who will use the solution?Answer: b1.During the process of modeling the system in context,systems that interact with the target system are not representedas Answer: da.Peer-level systemsb.Subordinate systemsc.Super-ordinate systemsd.Working systems6. In transaction mapping the first level factoring results in the Answer: ba.creation of CFD.b.derivation of control hierarchyc.distribution of work modulesd.refinement of the module view7. A successful application of transform or transaction mapping tocreate an architectural design is supplemented by Answer: ea.entity relationship diagramb.module interface descriptionsc.processing narratives for each moduled.test case for each modulee.Both b and c7. The OO testing integration strategy involves testing Answer: aa.groups of classes that collaborate or communicatein some wayb.single operations as they are added to the evolvingclass implementationc.operator programs derived from use-case scenariosd.none of the aboveFilllment 填空题5 Framework activity沟通策划建模构建部署Process models惯用过程模型:线性:瀑布过程模型&经典生命周期V模型并行:增量过程模型演化过程模型:原型开发模型螺旋模型(迭代)协同开发模型(concurrent development model)专用过程模型:基于构建的开发模型(conponent-based)形式化方法模型(formal method)应用数学分析Process flow type线性过程流迭代过程流演化过程流evolutionary并行过程流Parallel Software process is a layered过程方法工具XP process model 极限编程过程策划设计敏捷建模重构编码结对编程测试UP (5 phases)初始inception细化elaboration构建转换transition生产productionUI design golden rules用户操纵控制place the user to control减少用户记忆负担reduce the user‘s memory load保持界面一致consisitentyDesign model数据/类设计体系结构设计接口设计构建级设计Requirement engineering起始导出elicitation精化elaboration 协商negotiation规格说明specifiction 确认validation 需求管理managmentRequirement modeling focuses on基于场景的元素基于类的元素行为元素面向数据流的元素Manifesto for agile software development statement 敏捷宣言个体交互胜过开发过程和工具可运行的软件胜过宽泛的文档客户合作胜过了合同谈判对变更的良好响应胜过了按部就班地遵循计划Testing strategy单元测试集成测试确认测试系统测试CMMI Level names不完全级incomplete已执行级performed 已管理级managed已定义级defined 已定量管理级quantiatively managed优化级optimizedTerm Explanation 名词解释Software engineering软件工程是:1将系统化,规范化,可量化的方法应用于软件的开发、运行和维护,即将工程化方法应用于软件。

(完整word版)软件工程导论期末试题A(带答案)

评阅教师得分四川大学期末考试试题(闭卷)(2014~2015学年第1学期)课程号: 311078040 课程名称:软件工程导论(A卷)任课教师:洪玫,刘东权,李旭伟等适用专业年级:软件工程 2013级学号:姓名:2. 请将答案全部填写在本试题纸上;3. 考试结束,请将试题纸、添卷纸和草稿纸一并交给监考老师。

✍✍✍✍✍✍✍✍✍✍✍✍✍✍✍✍✍✍✍✍✍✍✍✍✍✍✍✍✍一、单项选择题(本大题共20小题,每小题1分,共20分)提示:在每小题列出的四个备选项中只有一个是符合题目要求的,请将其代码填写在下表中。

错选、多选或未选均无分。

1. Software is the collection of ( ).(A) Programs(B) Data(C) Documents(D) All of above2.Which of the items listed below is not one of the software engineering layers? ( )(A) Process(B) Methods(C) Tools(D) Manufacturing3.The prototyping model of software development is ( ).(A) A reasonable approach when requirements are well defined.(B) The best approach to use for projects with large development teams.注:试题字迹务必清晰,书写工整。

本题共11页,本页为第1页(C) A useful approach when a customer cannot define requirements clearly.(D) A risky model that rarely produces a meaningful product.4. The linear sequential model of software development is also known as the ( ).(A) Prototyping model(B) Waterfall model(C) Fountain model(D) Spiral model5.Which one of the following phases is not one of the phase names defined by the Unified Process model for software development? ( )(A) Inception phase(B) V alidation phase(C) Elaboration phase(D) Construction phase6. The spiral model of software development ( )(A) Ends with the delivery of the software product(B) Includes project risks evaluation during each iteration(C) Is more chaotic than the incremental model(D) All of the above7. The Capability Maturity Model Integration (CMMI) is used to measure ( )(A) the quality of the product(B) quality in the context of the business environment(C) the quality of the process(D) none of the above8. Analysis models depict software in which three representations? ( )(A) information, function, behavior(B) architecture, interface, component(C) cost, risk, schedule(D) None of the above9. Software engineers collaborate with customers to define which of the following? ( )(A) Customer visible usage scenarios(B) Important software features(C) System inputs and outputs(D) All of the above10. Views are “slices”of architecture. Which view focuses on structural issues? ( )(A) Logical(B) Use-case(C) Process(D) Implementation11. The Data Flow Diagram(DFD) ( ).(A) depicts relationships between data objects(B) depicts functions that transform the data flow(C) indicates how data are transformed by the system(D) both b and c12. The entity relationship diagram ( )(A) depicts functions that transform the data flow(B) depicts relationships between data objects(C) indicates how data are transformed by the system(D) indicates system reactions to external events13. Which one of the following items is not an element of a class definition? ( )(A) Class responsibilities(B) Class attribution(C) Class name(D) Class operations14. The importance of software design can be summarized in a single word: ( )(A) accuracy(B) quality(C) complexity(D) efficiency15. Polymorphism can be described as? ( )(A) Inheritance(B) Information(C) Placing Generalization(D) one interface encapsulates different implementations16. Which one of the following is not an area of concern in the design model? ( )(A) architecture(B) project scope(C) data(D) interfaces17. In component design, elaboration does not require which of the following elements to bedescribed in detail? ( )(A) Attributes(B) Source code(C) Interfaces(D) Operations18. What is the normal order of activities in which traditional software testing is organized? ( )(A) unit testing, integration testing, validation testing, system testing(B) integration testing, unit testing, system testing, validation testing(C) validation testing, unit testing, integration testing, system testing评阅教师得分(D) system testing, validation testing, integration testing, unit testing19. Which of the following tests is a system test that forces the software to fail in a variety of ways and verifies that software is able to continue execution without interruption? ( )(A) security testing (B) performance testing (C) recovery testing (D) stress testing20. The testing technique that requires devising test cases to demonstrate that each program function is operational is called? ( )(A) glass-box testing (B) black-box testing (C) grey-box testing(D) white-box testing二、名词解释题(本大题共5小题,每小题2分,共10分)。

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

A.Multiple choice (Only one is correct): ( 20*2%=40%)1 Approximately which activity listed below will consume the least amount of time ina project?A analysisB designC codingD testing2 The first step in project planning is toA determine software scopeB select project team leaderC determine the budgetD determine the process model3 Which factors are important when choosing a project team leader?A managerial identityB outstanding programming abilityC problem solving abilityD ability of communicating to other people4 The importance of software design can be summarized in a single word:A accuracyB complexityC efficiencyD quality5 Cohesion is a qualitative indication of the degree to which a moduleA can be written more compactlyB is connected to other modules and the outside worldC is able to complete its function in a timely mannerD focuses on just one thing6 Notations for depicting procedural detail includeA box diagramB ER diagramC flow chartD decision table7 The best reason for using independent software test teams is thatA software developers do not need to do any testingB testers do not get involved with the project until testing beginsC strangers will test the software mercilesslyD the conflicts of interest between developers and testers is reduced8Which of the following items is not the software engineeringlayers?A. ProgrammingB. qualityC. MethodsD. Tools9What are the three generic phases of softwareengineering?A. definition, development, supportB. what, how, whereC. programming, debugging, maintenanceD. analysis, design, testing10The Water-Fall process model of software development isA. A reasonable approach when requirements are well defined.B. A good approach when a working program is required quickly.C.The best approach to use for projects with large development teams.D.An old fashioned model that is rarely used any more.11If customers cannot define requirements clearly, the developer should use1The Water-Fall model2The prototyping model3The spiral model4Any model12There are three important risks which we must focus on them carefully. They areA business risks, personnel risks, budget risksB project risks, technical risks, business risksC planning risks, technical risks, personnel risksD management risks, technical risks, design risks13 key concept of quality control is that all workproducts1are delivered on time and under budget2have complete documentation3have measurable specifications for process outputs4are thoroughly tested before delivery to the customer14 What task is not performed as part of software requirementsanalysis?1evaluation and synthesis2modeling and problem recognition3planning and scheduling4specification and review15The entity relationshipdiagram1depicts relationships between data objects2depicts functions that transform the data flow3indicates how data are transformed by the system4indicates system reactions to external events16Which of the following is not an area of concern in the design model?1architecture2data3interfaces4project scope17 Which of following is a characteristic of a gooddesign?1exhibits strong coupling between its modules2implements all requirements in the analysis model3includes test cases for all components4incorporates source code for descriptive purposes18 Software reliability problems can almost always be tracedto1errors in requirements gathering2errors in design and implementation3human error4errors in operation19Which of the following need to be assessed during unittesting?A.algorithmic performanceB.code stabilityC.execution and error handlingD.all of the above20Which of the following is an approach todebugging?A.backtrackingB.brute forceC.cause eliminationD.all of the aboveB.True or false. (10*2%=20%)1Software is a product and can be manufactured using the same technologies used for other engineering artifacts.2Customers, end-users, practitioners, project managers and sales people are all considered as players in the software process.3 A good software is flexible, so it can easily accommodate changes brought up with therequirement change.4We should consider the implementation view first during software requirements analysis.5Every computer-based system can be modeled as an information transform using an input-processing-output template.6Test cases should be designed long before testing begins.7Recovery testing is a system test that forces the software to fail in a variety of ways and verifies that software is able to continue execution without interruption.8Adding more people to a project that is already behind schedule is a good way to catch up.9Change cannot be easily accommodated in most software systems, unless a system was designed with change in mind.10 A consideration of software scope must include an evaluation of all external interfaces.C.Short answer: (4*5%=20%)1What are main contents in a project plan?2Please describe the differences between the verification and validation?3What are the characteristics of testable software?4What is the SQA? Describe its role in software development.5Please give explanations on why requirements elicitation is so difficult.D.Answer the following questions in detail: (2*10%=20%)1As a modern software project manager, what must you do to begin a project? Please briefly describe the major activities of project management.2Given a procedure for computing the average of positive numbers:i=0;sum=0;input a;do while a!=0 {if (a>0){i++;sum+=a;}input a;}if(i>0)average=sum/i;elseaverage=-999;Please:(1) draw the corresponding flow graph;(2) tell the cyclomatic complexity of the procedure; and(3) list all the independent paths for basis path testing.。

相关文档
最新文档