大连交通大学,软件工程期末考试(第一套A卷)
《软件工程》期末试卷及答案

《软件工程》期末试卷及答案一、选择题(每题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)是衡量软件规模的两个指标,其中______是一种基于软件功能需求的规模度量方法。
《软件工程》期末考试题及答案

《软件工程》期末考试题及答案一、选择题(每题2分,共20分)1. 以下哪个不属于软件工程的三个基本活动?A. 软件规格B. 软件设计C. 软件编码D. 软件测试答案:D2. 以下哪种编程范式主要用于降低软件复杂性?A. 面向对象编程B. 过程式编程C. 函数式编程D. 逻辑编程答案:A3. 以下哪个不属于软件工程的基本原则?A. 分而治之B. 信息隐藏C. 模块化D. 编码规范答案:D4. 以下哪个不是软件工程的四大支柱?A. 软件需求B. 软件设计C. 软件验证D. 软件项目管理答案:C5. 以下哪种软件过程模型是迭代和增量的?A. 瀑布模型B. 快速应用开发C. 敏捷开发D. 原型模型答案:C6. 以下哪个不是软件测试的级别?A. 单元测试B. 集成测试C. 系统测试D. 需求测试答案:D7. 以下哪种软件维护类型是最常见的?A. 更正性维护B. 适应性维护C. 完善性维护D. 预防性维护答案:A8. 以下哪个不属于软件项目的风险管理策略?A. 风险避免B. 风险转移C. 风险减轻D. 风险接受答案:B9. 以下哪个不属于软件需求分类?A. 功能需求B. 性能需求C. 可用性需求D. 测试需求答案:D10. 以下哪个不属于软件设计的准则?A. 模块化B. 信息隐藏C. 功能耦合D. 数据抽象答案:C二、填空题(每题2分,共20分)11. 软件工程的主要目标是提高软件的__________和降低软件的__________。
答案:可维护性、成本12. 软件开发的三个基本阶段是:__________、__________、__________。
答案:需求分析、设计、实现13. 软件过程模型分为__________模型和__________模型。
答案:预测性、适应性14. 软件测试的四个基本级别是:__________、__________、__________、__________。
答案:单元测试、集成测试、系统测试、验收测试15. 软件维护的四种类型是:__________、__________、__________、__________。
软件工程期末试题(含答案)

软件工程期末试题(含答案)预览说明:预览图片所展示的格式为文档的源格式展示,下载源文件没有水印,内容可编辑和复制一、填空题(每空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 )。
软件工程A卷考试答案范文

《软件工程》A卷答案一、选择题(每题2分,共20分)1. 软件需求规格说明的内容不应包括(B )。
A. 主要功能B. 算法的详细描述C. 用户界面及运行环境D. 软件的性能2. 程序的三种基本控制结构是( B)。
A. 过程、子程序和分程序B. 顺序、选择和重复C. 递归、迭代和回溯D. 调用、返回和转移3. 在E-R模型中,包含以下基本成分(C)。
A.数据、对象、实体B.控制、联系、对象C.实体、联系、属性D.实体、属性、操作4.软件测试的目标是(B )。
A. 证明软件是正确的B. 发现错误、降低错误带来的风险C. 排除软件中所有的错误D. 与软件调试相同5.软件生命周期中所花费用最多的阶段是(D)A,详细设计B,软件编码C,软件测试D,软件维护6.详细设计的基本任务是确定每个模块的(D)设计A,功能 B,调用关系 C,输入输出数据 D,算法7.下面几种白盒测试技术,哪种是最强的覆盖准则( D)A,语句覆盖 B,条件覆盖 C,判定覆盖 D,条件组合覆盖8.面向数据流的设计方法把(A)映射成软件结构。
A,数据流 B,系统结构 C,控制结构 D信息流9.需求分析的产品是(D)A,数据流程图案 B,数据字典 C判定表 D,需求规格说明书10.数据字典是软件需求分析阶段的最重要工具之一,其最基本的功能是(C)A,数据库设计 B,数据通信 C,数据定义 D数据维护二、判断题(每题2分,共20分)1、开发软件就是编写程序。
(×)2、系统测试的主要方法是白盒法……(×)3、编程序时应尽可能利用硬件特点以提高程序效率.(×)4、软件需求分析的任务是建立软件模块结构图。
(×)5、尽可能使用高级语言编程。
(√)6、以结构化分析方法建立的系统模型就是数据流图。
(×)7、进行总体设计时加强模块间的联系。
(×)8、编码时尽量多用全局变量.(×)9、用CASE环境或程序自动生成工具来自动生成一部分程序.(√)10、软件测试是要发现软件中的所有错误。
大连交通大学-软件工程期末考试(第一套A卷)WORD

大连交通大学试卷2007 ~2008 学年第1 学期教研室主任(签字)学院院长(系主任)(签字)课程 Software engineering(软件工程)(A卷) (2004 年级)课程性质(□必修□专业限选□任选)考试方式(□闭卷□开卷)一、For each question, there are four choicesmarked A,B,C,D, choose the best answer.(each 1point, total 30 point).1A. delivered on timeB. delivered within budgetC. satisfies users' needsD. all of the above2、More time and money is spent in the ___________ phase than any otherphase.A. requirementsB. specificationC. maintenanceD. implementation and integration3、During which phase of the software project management life cycleshould testing occur?A. integrationB. implementationC. maintenanceD. testing occurs during each phase.4、In which of the following circumstances might the waterfall softwarelife-cycle model be an appropriate one to use?A. large-scale, in-house productsB. for products utilizing an open architecture and complexuser-interfaceC.large document-driven projects requiring a disciplined approachD. short programs that will not need maintenance5、A disadvantage of the Incremental model is that:A. clients are not billed until the last build is completed.B. the model can easily degenerate into the 'build-and-fix'approach.C. it is not easy to accommodate changes that occur due to external(competitive, social and regulatory) forces.D. All of these are disadvantages of the incremental model.6、A common feature(s) of object-oriented life cycle models is/are:A. iterationB. parallelismC. incremental developmentD. all of the above7、The democratic team approach is also known as:A. the clean-room approachB. egoless programmingC. bottom-up implementationD. synchronize-and-stabilize teamsbox test case generation is:A. the chief programmerB. the back-up programmerC. programmerD. the programming secretary9、Stepwise refinement is a problem solving technique that underlies many softwareengineering techniques. It can be defined as a means to:A. specify the product's design up front in order to minimize integration problemsduring later phasesB. postpone decisions on details until as late as possible in order to be able toconcentrate on the important issuesC. decompose the problem into pieces of equal importanceD. review the project's deliverables such as specification documents and code bystepping through them during review meetings10、A tool that can automatically manage multiple versions is a(n):A. upperCASE toolB. compilerC. configuration management toolD. structure editor11、In software engineering the term quality implies:A. excellenceB. the extent to which the product satisfies its specificationC. there have been no fatal or otherwise catastrophic consequences of its operationD. that comprehensive testing has not revealed the presence of any bugs12、Why should the SQA group be kept under separate management from the developmentteam(s)?A. to increase the employment prospects of the analysts.B. to decrease the cost of managing large teamsC. to facilitate the principle of information hiding that is crucial toobject-oriented systemsD、due to conflicts that may arise as production deadlines approach whilst theproduct still has serious faults.13、The two main design strategies are known as functional design and object-orientateddesign. Which of the following statements is false?A. In an object-orientated design the system state is decentralized and each objectmanages its own state information.B. In functional design the system state is centralized and state information isaccessed by different functions.C. the most appropriate design strategy is selected for each stage of design, thereis no need to adhere to a single approach during the whole design process.D. the same design approach must be used in the design of different system componentsto ensure consistency, especially for large software systems.考生注意:考试时间120 分钟试卷总分100 分共 5 页第 1 页14、A design is said to be a good design if the components are:A. Strongly coupled and Weakly cohesiveB. Strongly coupled and strongly cohesiveC. Strongly cohesive and weakly coupledD. Weakly cohesive and weakly coupled15、What is/are the major disadvantage(s) of basing the requirementspecification on a prototype model?A. The rapid prototype cannot stand as a legal statement of a contractbetween a developer and a client.B. Creating a working prototype takes more time and effort thanformulating written specifications.C. The users are not able to understand them to the same extent thatthey are able to comprehend written specifications.D. all of these are disadvantages16、Using the structured systems approach for specification and designthe emphasis is on:A. Real-Time systemsB. actionsC. dataD. objects17、Using structured systems analysis, the logic of the processes isdeveloped byA. defining the data stores and data flowsB. data modelingC. process decompositionD. decision trees18、During detailed design ___________ and ___________ are specified.A. algorithms, data structuresB. modules, interconnectionsC. subsystems, interfacesD. architecture, human computer interactions (HCI)19、The underlining technique in Data Flow Analysis is:A. generalizationB. specializationC. stepwise refinementD. encapsulation20、In OOD how can you decide where to locate an action?A. by assigning it to a class or to a client (i.e. program unit) thatsends a message to an object of that classB. on the basis of information hiding. i.e. actions performed on statevariables should be local to that classC. by using responsibility-driven designD. by any of these three methods21、Which UML diagram best emphasizes the chronological order ofmessages?A. class diagramB. sequence diagramC. collaboration diagramD. use case装订线22、As a rule of thumb IF statements should not be nested to a depth greater than:A. 1B. 2C. 3D. 423、Black box testing is based on the:A. design documentB. specification documentD. Software Project Management Plan (SPMP)E. all of these24、A successful test case is one that:A. detects an already identified fault.B. detects a previously undetected fault.C. runs without a fault being detected.D.exhaustively tests every path through a module.25、How many test cases should be prepared for each set when it is specified that an itemmust belong to a given set in the specifications?A. 1B. 2C. 3D. none of the above26、A number of studies have compared strategies for module testing. Which of the followingstatements on their relative merits is false?A. code inspection is at least as effective at detecting faults as glass-box and black-boxtesting.B. professional programmers detected more faults with code reading than black-box andglass-box testing, and the fault detection rate was higher.C. code reading lead to the detection of more interface faults.D. code walkthroughs proved to be the least cost-effective method.27、An advantage of top-down implementation and integration is:A. it is easy to determine where the fault lies when a new module is addedB. major design flaws show up early when the logic modules are coded and testedC. operational modules are implemented after their ancestor logic modulesD. none of these.28、Integration testing should be run by the:A. SQA groupB. programmers who developed the modulesC. analysts who specified the modules' functionalityD. clients29、During which phase of the software life cycle do you first consider maintenance?A. implementationB. testingC. maintenanceD. from the very beginning30、Often the best way of dealing with problems involving the (software) product that arenot emergencies is to:A. fix themB. find a work-roundC. assign them to the least experienced programmersD. blame someone else共 5 页第2 页二、Fill in the blank(each blank 1 point ,total 10point)1.One simple way of looking at the spiral software life-cycle model is asa waterfall model with each phase proceeded by2.A CASE device that provides support for one or two activities withinthe software development process is referred to as a(n)3.A new version of a faulty module is a(n)4. is the extent to which the product meets its constraintswith regard to response time or space requirements.5.If a data structure is passed as an argument, but the called moduleoperates on only some of the individual components of that data structure then they are said to be coupled.6. CRC stands for Class Responsibility .7. At the end of the phase test cases can start to bedrawn up.8. When a change is made to a product to react to changes in the environment,this is an example of maintenance.9.If a maintenance programmer locates a fault and changes it, sointroducing another fault in the product, then this is termed afault.10.The process of starting with the source code and recreating the designdocuments or even the specifications is known as三、Answer the following question.(total 45 point)1、Explain the following noun.(each 3 point ,total 15 point)(1)Software Engineering(2) Cost-benefit Analysis(3) Cohesion装订线(4) Data encapsulation(5) Reuse2、Draw the waterfall model and describe its strengths and weaknesses.(6 point)共 5 页第3 页. 3、List the documentation that should be produced during each phase of the software life cycle. (7 point)订4、What is the structure of classical chief programmer team and what arethe two key characters of chief programmer team ? (7 points)线5、What is the similarity and difference between walkthrough and inspection?(5 points)6、Determine the cohesion of the following modules,and explain your reasonin brief:(5 points)①Read part number from database and update repair record on maintenance file.②Calculate new trajectory(弹道)and send it to the printer.③Get temperature of furnace.④Open old master file, new master file, transaction file, and print file.⑤print next line, reverse the string of characters comprising the third argument.共5 页第4 页四、Design problems (total 15 point)less or equal to 35kg checked for free. The heavy lift)is 6¥/Kg for domestic first class passengers(国¥/Kg for other domestic passengers. The heavy liftThe heavy lift additional for the disabled is half 订线2、A product is to be installed to control n elevators in a building with m floors. The problemconcern the logic required to move elevators between floors according to the following constrains:1) Each elevator has a set of m buttons, one for each floor. These illuminate when pressedand cause the elevator to visit the corresponding floor. The illumination is canceled when the corresponding floor is visited by the elevator.2) Each floor, except the first floor and the top floor, has two buttons, one to requestan up-elevator and one to request a down-elevator. These buttons illuminate when pressed.The illumination is canceled when an elevator visits the floor and then moves in the desired direction.3) When an elevator has no request, it remains at its current floor with its doors closed.Assume that you are in the Object Oriented Analysis phase, please draw the use-case diagram and class diagram for this product.(8 points)共5页第 5 页2007-2008_1 Software engineering Key Answers (Paper A)一、For each question, there are four choices marked A,B,C,D, choose the best answer.(each 1 point,total 30 point).1.D2.C3.D4.C5.B6.D7.B8.B9.B 10.C11.B 12.D 13.D 14.C 15.A 16.B 17.D 18.A 19.C 20.D21.B 22.C 23.B 24.B 25.B 26.A 27.B 28.A 29.D 30.B评分标准:选对给1分,选错给0分。
软件工程期末考试A卷及答案

软件工程期末考试A卷及答案一、单项选择题(每题2分,共20分)1. 软件工程的三要素包括()。
A. 工具、方法和过程B. 工具、方法和环境C. 方法、过程和环境D. 方法、工具和环境答案:C2. 软件需求分析阶段的主要任务是()。
A. 确定软件的功能需求B. 确定软件的非功能需求C. 确定软件的界面需求D. 确定软件的性能需求答案:A3. 在软件开发过程中,需求变更是不可避免的,以下哪项不是需求变更的原因()。
A. 客户对需求理解的不完整B. 客户对需求理解的不准确C. 客户对需求理解的不清晰D. 客户对需求理解的完全正确答案:D4. 软件测试的目的是()。
A. 证明软件是正确的B. 发现软件中的错误C. 证明软件没有错误D. 证明软件是完美的答案:B5. 以下哪项不是软件维护的类型()。
A. 纠错性维护B. 适应性维护C. 完善性维护D. 创新性维护答案:D6. 在面向对象方法中,类的实例称为()。
A. 对象B. 实体C. 组件D. 模块答案:A7. 以下哪项不是软件工程中的项目管理活动()。
A. 风险管理B. 配置管理C. 需求管理D. 系统分析答案:D8. 软件工程中的“软件危机”主要指的是()。
A. 软件成本过高B. 软件质量低下C. 软件进度延误D. 以上都是答案:D9. 以下哪项不是软件复用的优点()。
A. 提高开发效率B. 降低开发成本C. 增加软件复杂性D. 提高软件质量答案:C10. 在敏捷开发方法中,以下哪项不是其核心价值()。
A. 个体和互动高于流程和工具B. 可工作的软件高于详尽的文档C. 客户合作高于合同谈判D. 遵循计划高于适应变化答案:D二、多项选择题(每题3分,共15分)1. 软件工程的主要目标包括()。
A. 提高软件生产率B. 提高软件质量C. 降低软件成本D. 提高软件的可维护性答案:ABCD2. 软件需求分析阶段的输出包括()。
A. 需求规格说明书B. 用户手册C. 系统设计说明书D. 数据字典答案:AD3. 软件测试的类型包括()。
《软件工程》试题及参考答案(第1套)

《软件工程》试题及参考答案(第1套)《软件工程》试题及参考答案(第1套)一、单项选择题1. 软件工程的最终目标是:A. 提高软件开发效率B. 提高软件质量C. 提高软件维护效率D. 以上都是答案:D2. 下列哪项不属于软件需求分析的主要活动?A. 软件设计B. 需求获取和建模C. 需求验证和确认D. 需求管理答案:A3. 以下哪项不是构建阶段的主要活动?A. 编码B. 软件测试C. 软件集成D. 软件配置管理答案:D4. 下列哪个过程不属于软件项目管理过程?A. 需求管理B. 配置管理C. 软件测试D. 质量管理答案:C5. 下列哪个模型强调在系统开发的初期确定并冻结需求?A. 瀑布模型B. 快速原型模型C. V模型D. 增量模型答案:A二、多项选择题1. 软件过程模型的主要作用是:A. 规范软件开发的过程B. 定义软件开发的阶段C. 明确软件开发的任务分工D. 以上都是答案:D2. 软件生命周期是指:A. 软件的设计阶段B. 软件的测试阶段C. 软件的开发到维护的整个过程D. 软件的发布与用户反馈过程答案:C3. 软件测试的主要目标是:A. 寻找并修复软件中的错误B. 确保软件满足用户需求C. 提高软件的可靠性和质量D. 以上都是答案:D4. 下列哪个工具不属于软件配置管理工具?A. 版本控制工具B. 缺陷跟踪工具C. 自动化构建工具D. 可行性分析工具答案:D5. 下列哪个项目风险类型是与技术因素相关的?A. 市场竞争风险B. 技术风险C. 经济风险D. 法律风险答案:B三、简答题1. 请简要描述瀑布模型的开发流程。
瀑布模型的开发流程包括以下几个阶段:1) 需求分析阶段:收集用户需求,并进行详细的需求分析和建模。
2) 系统设计阶段:根据需求分析得到的系统需求,进行整体设计和详细设计。
3) 编码和单元测试阶段:将设计好的系统转化为可执行代码,并进行单元测试,验证代码的正确性。
4) 集成测试阶段:将各个模块进行集成,测试整个系统的功能和性能。
《软件工程》期末考试试卷(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、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
大连交通大学试卷2007 ~2008 学年第1 学期教研室主任(签字)学院院长(系主任)(签字)课程 Software engineering(软件工程)(A卷) (2004 年级)课程性质(□必修□专业限选□任选)考试方式(□闭卷□开卷)一、For each question, there are four choicesmarked A,B,C,D, choose the best answer.(each 1point, total 30 point).1A. delivered on timeB. delivered within budgetC. satisfies users' needsD. all of the above2、More time and money is spent in the ___________ phase than any otherphase.A. requirementsB. specificationC. maintenanceD. implementation and integration3、During which phase of the software project management life cycleshould testing occur?A. integrationB. implementationC. maintenanceD. testing occurs during each phase.4、In which of the following circumstances might the waterfall softwarelife-cycle model be an appropriate one to use?A. large-scale, in-house productsB. for products utilizing an open architecture and complexuser-interfaceC.large document-driven projects requiring a disciplined approachD. short programs that will not need maintenance5、A disadvantage of the Incremental model is that:A. clients are not billed until the last build is completed.B. the model can easily degenerate into the 'build-and-fix'approach.C. it is not easy to accommodate changes that occur due to external(competitive, social and regulatory) forces.D. All of these are disadvantages of the incremental model.6、A common feature(s) of object-oriented life cycle models is/are:A. iterationB. parallelismC. incremental developmentD. all of the above7、The democratic team approach is also known as:A. the clean-room approachB. egoless programmingC. bottom-up implementationD. synchronize-and-stabilize teamsbox test case generation is:A. the chief programmerB. the back-up programmerC. programmerD. the programming secretary9、Stepwise refinement is a problem solving technique that underlies many softwareengineering techniques. It can be defined as a means to:A. specify the product's design up front in order to minimize integration problemsduring later phasesB. postpone decisions on details until as late as possible in order to be able toconcentrate on the important issuesC. decompose the problem into pieces of equal importanceD. review the project's deliverables such as specification documents and code bystepping through them during review meetings10、A tool that can automatically manage multiple versions is a(n):A. upperCASE toolB. compilerC. configuration management toolD. structure editor11、In software engineering the term quality implies:A. excellenceB. the extent to which the product satisfies its specificationC. there have been no fatal or otherwise catastrophic consequences of its operationD. that comprehensive testing has not revealed the presence of any bugs12、Why should the SQA group be kept under separate management from the developmentteam(s)?A. to increase the employment prospects of the analysts.B. to decrease the cost of managing large teamsC. to facilitate the principle of information hiding that is crucial toobject-oriented systemsD、due to conflicts that may arise as production deadlines approach whilst theproduct still has serious faults.13、The two main design strategies are known as functional design and object-orientateddesign. Which of the following statements is false?A. In an object-orientated design the system state is decentralized and each objectmanages its own state information.B. In functional design the system state is centralized and state information isaccessed by different functions.C. the most appropriate design strategy is selected for each stage of design, thereis no need to adhere to a single approach during the whole design process.D. the same design approach must be used in the design of different system componentsto ensure consistency, especially for large software systems.14、A design is said to be a good design if the components are:A. Strongly coupled and Weakly cohesiveB. Strongly coupled and strongly cohesiveC. Strongly cohesive and weakly coupledD. Weakly cohesive and weakly coupled15、What is/are the major disadvantage(s) of basing the requirementspecification on a prototype model?A. The rapid prototype cannot stand as a legal statement of a contractbetween a developer and a client.B. Creating a working prototype takes more time and effort thanformulating written specifications.C. The users are not able to understand them to the same extent thatthey are able to comprehend written specifications.D. all of these are disadvantages16、Using the structured systems approach for specification and designthe emphasis is on:A. Real-Time systemsB. actionsC. dataD. objects17、Using structured systems analysis, the logic of the processes isdeveloped byA. defining the data stores and data flowsB. data modelingC. process decompositionD. decision trees18、During detailed design ___________ and ___________ are specified.A. algorithms, data structuresB. modules, interconnectionsC. subsystems, interfacesD. architecture, human computer interactions (HCI)19、The underlining technique in Data Flow Analysis is:A. generalizationB. specializationC. stepwise refinementD. encapsulation20、In OOD how can you decide where to locate an action?A. by assigning it to a class or to a client (i.e. program unit) thatsends a message to an object of that classB. on the basis of information hiding. i.e. actions performed on statevariables should be local to that classC. by using responsibility-driven designD. by any of these three methods21、Which UML diagram best emphasizes the chronological order ofmessages?A. class diagramB. sequence diagramC. collaboration diagramD. use case装订线22、As a rule of thumb IF statements should not be nested to a depth greater than:A. 1B. 2C. 3D. 423、Black box testing is based on the:A. design documentB. specification documentD. Software Project Management Plan (SPMP)E. all of these24、A successful test case is one that:A. detects an already identified fault.B. detects a previously undetected fault.C. runs without a fault being detected.D.exhaustively tests every path through a module.25、How many test cases should be prepared for each set when it is specified that an itemmust belong to a given set in the specifications?A. 1B. 2C. 3D. none of the above26、A number of studies have compared strategies for module testing. Which of the followingstatements on their relative merits is false?A. code inspection is at least as effective at detecting faults as glass-box and black-boxtesting.B. professional programmers detected more faults with code reading than black-box andglass-box testing, and the fault detection rate was higher.C. code reading lead to the detection of more interface faults.D. code walkthroughs proved to be the least cost-effective method.27、An advantage of top-down implementation and integration is:A. it is easy to determine where the fault lies when a new module is addedB. major design flaws show up early when the logic modules are coded and testedC. operational modules are implemented after their ancestor logic modulesD. none of these.28、Integration testing should be run by the:A. SQA groupB. programmers who developed the modulesC. analysts who specified the modules' functionalityD. clients29、During which phase of the software life cycle do you first consider maintenance?A. implementationB. testingC. maintenanceD. from the very beginning30、Often the best way of dealing with problems involving the (software) product that arenot emergencies is to:A. fix themB. find a work-roundC. assign them to the least experienced programmersD. blame someone else共 5 页第2 页二、Fill in the blank(each blank 1 point ,total 10point)1.One simple way of looking at the spiral software life-cycle model is asa waterfall model with each phase proceeded by2.A CASE device that provides support for one or two activities withinthe software development process is referred to as a(n)3.A new version of a faulty module is a(n)4. is the extent to which the product meets its constraintswith regard to response time or space requirements.5.If a data structure is passed as an argument, but the called moduleoperates on only some of the individual components of that data structure then they are said to be coupled.6. CRC stands for Class Responsibility .7. At the end of the phase test cases can start to bedrawn up.8. When a change is made to a product to react to changes in the environment,this is an example of maintenance.9.If a maintenance programmer locates a fault and changes it, sointroducing another fault in the product, then this is termed afault.10.The process of starting with the source code and recreating the designdocuments or even the specifications is known as三、Answer the following question.(total 45 point)1、Explain the following noun.(each 3 point ,total 15 point)(1)Software Engineering(2) Cost-benefit Analysis(3) Cohesion装订线(4) Data encapsulation(5) Reuse2、Draw the waterfall model and describe its strengths and weaknesses.(6 point)共 5 页第3 页What is the structure of classical chief programmer team and what arethe two key characters of chief programmer team ? (7 points)5、What is the similarity and difference between walkthrough and inspection?(5 points)6、Determine the cohesion of the following modules,and explain your reasonin brief:(5 points)①Read part number from database and update repair record on maintenance file.②Calculate new trajectory(弹道)and send it to the printer.③Get temperature of furnace.④Open old master file, new master file, transaction file, and print file.⑤print next line, reverse the string of characters comprising the third argument.共5 页第4 页less or equal to 35kg checked for free. The heavy lift )is 6¥/Kg for domestic first class passengers(国¥/Kg for other domestic passengers. The heavy liftThe heavy lift additional for the disabled is half2、A product is to be installed to control n elevators in a building with m floors. The problemconcern the logic required to move elevators between floors according to the following constrains:1) Each elevator has a set of m buttons, one for each floor. These illuminate when pressedand cause the elevator to visit the corresponding floor. The illumination is canceled when the corresponding floor is visited by the elevator.2) Each floor, except the first floor and the top floor, has two buttons, one to requestan up-elevator and one to request a down-elevator. These buttons illuminate when pressed.The illumination is canceled when an elevator visits the floor and then moves in the desired direction.3) When an elevator has no request, it remains at its current floor with its doors closed.Assume that you are in the Object Oriented Analysis phase, please draw the use-case diagram and class diagram for this product.(8 points)共5页第 5 页2007-2008_1 Software engineering Key Answers (Paper A)一、For each question, there are four choices marked A,B,C,D, choose the best answer.(each 1 point,total 30 point).1.D2.C3.D4.C5.B6.D7.B8.B9.B 10.C11.B 12.D 13.D 14.C 15.A 16.B 17.D 18.A 19.C 20.D21.B 22.C 23.B 24.B 25.B 26.A 27.B 28.A 29.D 30.B评分标准:选对给1分,选错给0分。