大连交通大学,软件工程期末考试(第一套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卷考试答案范文

《软件工程》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

大连交通大学-软件工程期末考试(第一套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卷及答案

软件工程期末考试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套)一、单项选择题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)

《软件工程》期末考试试卷(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、下面不是对象具有的特性。

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

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

《软件工程》得分评卷人二、填空题(每空2分,共20分)期末考试一试卷1.在软件开发过程中要产生大批的信息,要进行大批的改正,能协调软件开发,并使:号位座考生注意:1.本试卷共有五道大题,满分100分。

杂乱减到最低程度。

2.考试时间90分钟。

2.规定功能的软件,在必定程度上对自己错误的作用拥有障蔽能力,则称此3.卷面整齐,笔迹工整。

软件。

4.填写内容不得高出密封线。

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

密总分题号一二三四五核分人题分1520203015复查人得分得分评卷人一、名词解说题(每题3分,共15分):号学 1.软件生计周期模型封数据词典DD:业专内聚性:名姓方法线4.软件可保护性胸怀的七个质量特征是可理解性、可测试性、可改正性、靠使用性和效率。

5.为了便于比较检查,测试用例应由输入数据和预期的6.程序设计语言的心理特征主要表此刻、简短性、传统7.软件构造是以为基础而构成的一种控制层次构造。

8.使用类创立对象的过程其实是类的过程。

9.构造化语言是介于自然语言和之间的一种半形式语10.若年利率为i,不计复利,n年后可得钱数为F,则此刻的价值得分评卷人三、简答题(每题5分,共20分)1.简述容错技术的四种主要手段,并解说。

2.以的看法,简述对软件测试的目的。

5.多态性:站授函就程序设计语言的工程特征而言,对程序编码有哪些要求?模块的内聚性包含哪些种类?得分评卷人四、理论应用题(每题15分,共30分)请使用PAD图和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. 逻辑编程答案: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. 软件项目管理的主要内容有进度管理、______、______。

《软件工程》期末考试试卷(A卷)

《软件工程》期末考试试卷(A卷)

2016-2017学年度第一学期 2014级信安《软件工程》期末考试试卷(A卷)第一部分.单选题(共30分,每小题1分)软件工程方法是在实践中不断发展着的方法,而早期的软件工程方法主要是指 1 。

在软件工程思想提出之前,开发软件所需的高成本和产品的低质量之间有着尖锐的矛盾,这种现象称作 2 ,产生它的原因是 3 。

为了解决这种矛盾,人们提出用工程化的原则指导软件的生产、维护和管理,以达到 4 的目标。

1.(A). 原型化方法(B). 面向对象方法(C). 结构化方法(D). Jackson方法2.(A). 软件投机(B). 软件过程(C). 软件生命周期(D). 软件危机3.(A). 不重视需求,开发过程中缺乏科学的方法(B). 开发过程中管理困难(C). 软件本身的特点(D). 以上都是4.(A). 获取需求(B). 消除软件固有的复杂性(C). 努力发挥开发人员的潜能(D). 经济地开发出高质量的软件5 是软件生存期中的一系列相关软件工程活动或任务的框架,它规定了完成各项任务的步骤,有多种典型的软件过程模型,其中,瀑布模型是6 ;增量模型是7 ,快速原型模型是8 ,喷泉模型是9 。

5.(A). 软件过程(B).软件工具(C). 质量保证(D). 软件工程6.(A). 适用于需求被清晰定义的情况(B). 一种需要快速构造可运行程序的好方法(C). 适合大风险项目(D). 过时了的模型7.(A). 适用于需求被清晰定义的情况(B). 一种需要快速构造核心产品的好方法(C). 最适合于大规模团队开发的项目(D).一种不适用于商业产品的创新模型8.(A). 适用于需求被清晰定义的情况(B). 适用于用户需求难以清楚定义的情况(C). 最适合于大规模团队开发的项目(D). 很难产生有意义产品的一种冒险模型9.(A). 典型的面向对象生命周期模型(B). 严格区分阶段的且重设计轻分析(C). 只适合大型系统的开发(D). 开发过程基本上是线性的可行性研究是在较高层次上以较抽象的方式进行系统分析和设计的过程,其目的是 10 。

软件工程期末试卷试题(A卷)(附答案)

软件工程期末试卷试题(A卷)(附答案)

cheng《软件工程》期末试卷(A卷)一.单项选择题(每小题1分,共22分)1.对象实现了数据和操作的结合,使数据和操作( C )于对象的统一体中。

A.结合B.隐藏C.封装D.抽象2.软件生命周期中所花费用最多的阶段是( D )。

A.详细设计B.软件编码C.软件测试D.软件维护3.需求分析中开发人员要从用户那里了解( A )。

A.软件做什么B.用户使用界面 C.输入的信息D.软件的规模4.测试的关键问题是( D )。

A.如何组织对软件的评审B.如何验证程序的正确性C.如何采用综合策略D.如何选择测试用例5.( D )是将系统化的、规范的、可定量的方法应用于软件的开发、运行和维护的过程,它包括方法、工具和过程三个要素。

A.软件过程B.软件测试C.软件生命周期D.软件工程方法学6.( A )意味着一个操作在不同的类中可以有不同的实现方式。

A.多态性B.多继承C.类的可复用D.信息隐藏7.单元测试的测试用例主要根据( D )的结果来设计。

A.需求分析B.源程序C.概要设计D.详细设计8.随着软硬件环境变化而修改软件的过程是( B )。

A.校正性维护B.适应性维护C.完善性维护D.预防性维护9.在白盒测试技术测试用例的设计中,( A )是最弱的覆盖标准。

A.语句覆盖B.路径覆盖C.条件组合覆盖D.判定覆盖10.结构化程序设计的一种基本方法是( C )。

A.筛选法B.迭代法C.逐步求精法D.递归法11.不适合作为科学工程计算的程序设计语言是( D )。

A.Pascal B.CC.Fortran D.Prolog12.只有单重继承的类层次结构是( C )层次结构。

A.网状型B.星型C.树型D.环型13.面向对象的开发方法中,( C )将是面向对象技术领域内占主导地位的标准建模语言。

A.Booch方法B.Coad方法C.UML语言D.OMT方法14.瀑布模型本质上是一种( A )。

A.线性顺序模型B.顺序迭代模型C.线性迭代模型D.及早见产品模型15.软件维护产生的副作用,是指( C )。

软件工程A 期末考试试题及参考答案

软件工程A 期末考试试题及参考答案
C).系统分析员、软件开发人员D).系统分析员、软件开发人员、用户、使用部门负责人
24。软件详细设计主要采用的方法是()。
A).结构化程序设计B).模型设计C).结构化设计D).流程图设计
25。()应考虑对模块相联和资源共享问题进行描述和制约。
A).系统设计B).详细设计C).接口控制D).结构化编辑工具
A).模块化B).抽象C).精化D).模块
13。()是指让一些关系密切的软件元素在物理上彼此靠近。
A).信息隐蔽B).内聚C).局部化D).模块独立
14。面向数据流的设计方法把()映射成软件结构。
A).数据流B).系统结构C).控制结构D).信息流
15。程序流程图(PDF)中的箭头代表的是()。
A).数据流B).控制流C).调用关系D).组成关系
A).软件工具箱B).环境集成C).软件管理和软件支持工具D).软件开发环境
22。在软件生命周期法中,用户的参与主要在()。
A)。软件定义期B).软件开发期C).软件维护期D).整个软件生命周期过程中
23。软件定义期问题定义阶段涉及的人员有()。
A).用户、使用部门负责人B).软件开发人员、用户、使用部门负责人
A.需求规格说明与概要设计说明B.详细设计说明
C.项目开发计划D.概要设计说明与详细设计说明
10.若有一个计算类型的程序,它的输入量只有一个,其范围是现从输入的角度考虑一组测试用例:设计这组测试用例的方法是
A.条件覆盖法B.等价分类法
C.边界值分析法D.错误推测法
11.下列属于维护阶段的文档是
A.软件规格说明B.用户操作手册
A).工具B).过程C).方法D).环境
4检查软件产品是否符合需求定义的过程称为()

大连交通大学,软件工程期末考试,大题(第一套)

大连交通大学,软件工程期末考试,大题(第一套)

软件工程大题总结一、三个重要的生命周期模型及各自的优缺点1.瀑布模型生命周期模型(Waterfall life-cycle model)Advantage: Disciplined approachDocument drivenDisadvantage: Delivered pro duct may not meet client’s needs2.快速原型生命周期模型(Rapid prototyping life-cycal model)Advantage: Ens ure that the delivered product meets the client’s needs Disadvantage: Not yet proven beyond all doubt3.螺旋模型生命周期模型(Spiral life-cycle model)Advantage: Risk drivenDisadvantage: Can be used for only large-scale,in-house productsDevelopers have to be competent in risk analysis and risk resolution 二、用例图和类图例1. ATM机用例图及类图Consider an automated teller machine(ATM).The user puts a card into a slot and enters a four- digit personal identification number(PIN).If the PIN is incorrect,the card is ejected.Otherwise, the user may perform the following operations on up to four different bank accounts:(i)Deposit any amount.A receipt is printed showing the date,amount deposited,and accountnumber.(ii)Withdraw up to $200 in units of $20(the account may not be overdrawn).In addition to the money,the user is given a receipt showing the date,amount withdrawn,account number,and account balance(余额) after the withdrawal.(iii)Determine the account balance。

大连交通大学《软件工程》考试(试卷)(第一套A卷)

大连交通大学《软件工程》考试(试卷)(第一套A卷)

教研室主任(签字)(签字)box 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 页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分。

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

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

软件工程期末考试题(含答案)软件工程期末考试题(含答案)一、选择题1. 在软件项目管理中,以下哪个阶段不属于软件开发的基本阶段?A. 需求分析阶段B. 设计阶段C. 开发阶段D. 测试阶段答案:D2. “面向对象”是一种软件系统开发的基本方法论,以下哪个不属于面向对象的特点?A. 封装性B. 继承性C. 多态性D. 并发性答案:D3. 软件开发过程中,以下哪个模型不属于常见的软件开发模型?A. 瀑布模型B. 敏捷模型C. 增量模型D. 螺旋模型答案:D4. 在软件测试中,以下哪个不属于黑箱测试方法?A. 等价类划分测试B. 边界值测试C. 功能性测试D. 白盒测试答案:D二、简答题1. 请简述软件工程的定义和目标。

软件工程是研究和应用工程原理、方法和工具,以开发、维护和管理软件系统的工程学科。

其目标是提高软件开发效率、软件质量和软件项目管理能力,以满足用户的需求。

2. 什么是软件需求工程?请简要阐述软件需求工程的过程。

软件需求工程是指在软件开发过程中,通过系统化的方法和工具,对用户需求进行获取、分析、定义和规格化的过程。

软件需求工程的过程包括以下几个步骤:1) 需求获取:通过与用户沟通、分析用户需求文档等方式,获取用户对软件系统的需求。

2) 需求分析:对获取的需求进行验证、整理和分类,识别出关键需求和优先级,并进行需求的可行性评估。

3) 需求定义:将需求进行详细而准确的描述,包括功能需求、性能需求、界面需求等。

4) 需求规格化:将需求转化为形式化的规格说明,包括用例图、状态图、数据流图等工具。

5) 需求验证:通过与用户或相关人员的确认,验证需求规格是否准确、完整和一致。

三、综合题某公司决定开发一个在线购物系统,你作为软件工程团队的负责人,请围绕该系统的需求分析、设计和测试等方面,给出相应的工作计划。

1. 需求分析阶段:(1) 与项目发起人进行需求讨论,明确系统的功能和性能需求,并进行需求分析和整理,编写需求文档。

《软件工程》期末考试(A)卷

《软件工程》期末考试(A)卷

《软件工程》期末考试(A)卷一、填空题(在括号内填写正确的答案,每空1分,共25分)1.详细设计的工具有、表格工具和。

(图形工具语言工具)2.IPO图由、处理和三个框组成。

这个图的特点是能够直观的显示三者之间的关系。

(输入输出)3.面向对象技术是一整套关于如何看待和的关系,以什么观点来研究问题并进行分析求解,以及如何进行系统构造的软件方法学。

面向对象方法是一种运用、、、、聚集、消息传送、多态性等概念来构造系统的软件开发方法。

(软件系统现实世界对象类继承封装)4.分析已有的程序,寻求比源代码更高级的抽象表现形式,这就是软件的。

(逆向工程)5.程序测试是对编码阶段的语法错、和进行查找的编码执行活动。

(语义错运行错)6.软件工程学的基本原则包括、、一致性、确定性等。

(分解独立性)7.软件生存周期一般可分为、可行性研究、、设计、编码、、运行与维护阶段。

(问题定义需求分析测试)8.成本估计方法主要有、和算法模型估计三种类型。

(自顶向下估计自底向上估计)9.数据流图的基本符号包括、、、。

(数据输入的源点和数据输出的汇点加工数据流数据存储文件)10.JSD是一种典型的的分析设计方法。

(面向数据结构的)二、单项选择题(将一个正确的答案代码填入括号中,每小题2分,共10分)1.下列哪种方法不是度量效益的方法( B )。

A、货币的时间价值B、算法模型估计C、投资回收期D、纯收入2.下列描述错误的是( D )。

A、数据流图将各种信息流抽象成数据流的形式B、数据流图不反映控制关系、调用关系C、数据流图不反映处理逻辑的先后顺序D、数据流图不反映数据的流向3.下列哪个阶段不属于软件生存期的三大阶段( C )。

A、计划阶段B、开发阶段C、编码阶段D、维护阶段4.下列哪个图不是N-S图的构件( C )。

5.对于下列各图,有关描述中正确的是(A )。

A、数据A和B同时输入变成CB、数据A变换成B和CC、数据A或数据B(不能同时)输入,变换成CXYA、WHILE MBB、XYC、UNTIL NCD、BCBCC第 1 页共3 页共 3 页三、多项选择题(将正确的答案代码填入括号中,每小题3分,共15分)1.关于内容耦合的描述正确的是( AD )。

2022年大连大学软件工程专业《计算机网络》科目期末试卷A(有答案)

2022年大连大学软件工程专业《计算机网络》科目期末试卷A(有答案)

2022年大连大学软件工程专业《计算机网络》科目期末试卷A(有答案)一、选择题1、计算机网络可分为通信子网和资源子网。

下列属于通信子网的是()。

I.网桥 II.交换机 III.计算机软件 IV.路由器A. I、II、ⅣB. II、III.、ⅣC. I、Ⅲ、ⅣD. I、Ⅱ、Ⅲ2、比特的传播时延与链路带宽的关系是()。

A.没有关系B.反比关系C.正比关系D.无法确定3、以下关于OSPF协议的描述中,最准确的是()。

A.OSPF协议根据链路状态法计算最佳路由B.OSPF协议是用于自治系统之间的外部网关协议C.OSPF协议不能根据网络通信情况动态地改变路由D.OSPF协议只能适用于小型网络4、主机A发送IP数据报给主机B,途中经过了5个路由器,请问在此过程中总共使用了()次ARP协议。

A.5B.6C.10D.115、对于窗口大小为n的滑动窗口,最多可以有()帧已发送但没有确认。

A.0B.n-1C.n CD.n/26、为了纠正2比特的错误,编码的海明距应该为()。

A.2B.3C.4D.57、假设在没有发生拥塞的情况下,在条往返时间RTT为10ms的线路上采用慢开始控制策略。

如果接收窗口的大小为24KB,最大报文段长度MSS为2KB,那么需要()发送方才能发送出一个完全窗口。

A.30msB.40msC.50msD.60ms8、使用两种编码方案对比特流01100111进行编码的结果如图所示,编码1和编码2分别是()A.NRZ 和曼彻斯特编码B.NRZ 和差分曼彻斯特编码C.NRZ-I和曼彻斯特编码D.NRZ-I和差分曼彻斯特编码9、A和B之间建立了TCP连接,A向B发送了一个报文段,其中序号字段seq=300,确认号字段ACK=101,数据部分包含7个字节,那么在B对该报文的确认报文段中()。

A.seq-30l,ACK=101B.seq=301,ACK=108C.seq=l01.ACK=101D.seq=101,ACK=30710、使用浏览器访问某大学Web网站主页时,不可能使用到的协议,是()。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 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分。

相关文档
最新文档