版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、考生注意:考试时间120 分钟 试卷总分100 分共 5 页 第 1 页大连交通大学试卷2007 2008 学年 第 1 学期课程 Software engineering( 软件工程)(A 卷 ) ( 2004 年级)课程性质(必修专业限选任选) 考试方式(闭卷开卷)得分一、 For each question, there are four choices marked A,B,C,D, choose the best answer.(each 1 point, total 30 point).The aim of software engineering is to produce so
2、ftware that is:A. delivered on timeB. delivered within budgetC. satisfies users needs D. all of the aboveMore time and money is spent in the phase than any other教研室主任(签字)学院院长(系主任)(签字)phase.A. requirementsB. specificationC. maintenanceD. implementation and integration3 、 During which phase of the sof
3、tware project management life cycle should testing occur?integration B. implementationC. maintenance D. testing occurs during each phase.In which of the following circumstances might the waterfall software life-cycle model be an appropriate one to use?large-scale, in-house productsfor products utili
4、zing an open architecture and complex user-interfaceC large document-driven projects requiring a disciplined approach D. short programs that will not need maintenanceA disadvantage of the Incremental model is that:clients are not billed until the last build is completed.the model can easily degenera
5、te into the build-and-fix approach.it is not easy to accommodate changes that occur due to external (competitive, social and regulatory) forces.All of these are disadvantages of the incremental model.A common feature(s) of object-oriented life cycle models is/are:A. iterationB. parallelismC. increme
6、ntal development D. all of the aboveThe democratic team approach is also known as: A. the clean-room approachegoless programmingbottom-up implementationsynchronize-and-stabilize teams题号一二三四五六七八九总分得分8、 In the classical chief programmer team approach, the team memberr esponsible for blackbox test case
7、 generation is:A. the chief programmer B. the back-up programmerC. programmerD. the programming secretary9 、 Stepwise refinement is a problem solving technique that underlies many software engineering techniques. It can be defined as a means to:specify the products design up front in order to minimi
8、ze integration problemsduring later phasespostpone decisions on details until as late as possible in order to be able to concentrate on the important issuesdecompose the problem into pieces of equal importancereview the projects deliverables such as specification documents and code bystepping throug
9、h them during review meetingsA tool that can automatically manage multiple versions is a(n):upperCASE toolcompilerconfiguration management toolstructure editorIn software engineering the term quality implies:excellencethe extent to which the product satisfies its specificationthere have been no fata
10、l or otherwise catastrophic consequences of its operationthat comprehensive testing has not revealed the presence of any bugs12 、 Why should the SQA group be kept under separate management from the development team(s)?to increase the employment prospects of the analysts.to decrease the cost of manag
11、ing large teamsto facilitate the principle of information hiding that is crucial toobject-oriented systemsD 、 due to conflicts that may arise as production deadlines approach whilst the product still has serious faults.The two main design strategies are known as functional design and object-orientat
12、ed design. Which of the following statements is false?In an object-orientated design the system state is decentralized and each object manages its own state information.In functional design the system state is centralized and state information is accessed by different functions.the most appropriate
13、design strategy is selected for each stage of design, thereis no need to adhere to a single approach during the whole design process.the same design approach must be used in the design of different system componentsto ensure consistency, especially for large software systems.A design is said to be a
14、 good design if the components are:Strongly coupled and Weakly cohesiveStrongly coupled and strongly cohesiveStrongly cohesive and weakly coupledWeakly cohesive and weakly coupled15 、 What is/are the major disadvantage(s) of basing the requirement specification on a prototype model?The rapid prototy
15、pe cannot stand as a legal statement of a contract between a developer and a client.Creating a working prototype takes more time and effort thanformulating written specifications.The users are not able to understand them to the same extent that they are able to comprehend written specifications.all
16、of these are disadvantagesUsing the structured systems approach for specification and designthe emphasis is on:Real-Time systemsactionsdataobjectsUsing structured systems analysis, the logic of the processes is developed byA. defining the data stores and data flows B. data modelingC. process decompo
17、sitionD. decision treesDuring detailed design and are specified.algorithms, data structuresmodules, interconnectionssubsystems, interfacesarchitecture, human computer interactions (HCI)The underlining technique in Data Flow Analysis is:generalizationspecializationstepwise refinementencapsulationIn O
18、OD how can you decide where to locate an action?by assigning it to a class or to a client (i.e. program unit) that sends a message to an object of that classon the basis of information hiding. i.e. actions performed on state variables should be local to that classby using responsibility-driven desig
19、nby any of these three methodsWhich UML diagram best emphasizes the chronological order of messages?A. class diagram B. sequence diagramC. collaboration diagram D. use case共 5 页 第 # 页共 5 页 第 页As a rule of thumb IF statements should not be nested to a depth greater than:A. 1 B. 2 C. 3 D. 4Black box t
20、esting is based on the:design documentspecification documentD. Software Project Management Plan (SPMP)E. all of theseA successful test case is one that:detects an already identified fault.detects a previously undetected fault.runs without a fault being detected.D exhaustively tests every path throug
21、h a module.How many test cases should be prepared for each set when it is specified that an item must belong to a given set in the specifications?A. 1 B. 2 C. 3 D. none of the aboveA number of studies have compared strategies for module testing. Which of the following statements on their relative me
22、rits is false?code inspection is at least as effective at detecting faults as glass-box and black-box fessional programmers detected more faults with code reading than black-box and glass-box testing, and the fault detection rate was higher.code reading lead to the detection of more inter
23、face faults.code walkthroughs proved to be the least cost-effective method.An advantage of top-down implementation and integration is:it is easy to determine where the fault lies when a new module is addedmajor design flaws show up early when the logic modules are coded and testedoperational modules
24、 are implemented after their ancestor logic modulesnone of these.Integration testing should be run by the:SQA groupprogrammers who developed the modulesanalysts who specified the modules functionalityclientsDuring which phase of the software life cycle do you first consider maintenance?implementatio
25、ntestingmaintenancefrom the very beginningOften the best way of dealing with problems involving the (software) product that are not emergencies is to:fix themfind a work-roundassign them to the least experienced programmersblame someone else得分专业二、 Fill in the blank ( each blank 1 point ,total 10 poi
26、nt )1.One simple way of looking at the spiral softwarelife-cycle model is asa waterfall model with each phase proceeded byA CASE device that provides support for one or two activities within the software development process is referred to as a(n)A new version of a faulty module is a(n)isthe extent t
27、o which the product meets its constraintswith regard to response time or space requirements.f a data structure is passed as an argument, but the called module装 operates on only some of the individual components of that data structure then they are said to becoupled.CRC stands for Class Responsibilit
28、y.At the end of thephase test cases can start to bedrawn up.Whena change is madet o a product to react to changes in the environment, this is an example ofmaintenance.If a maintenance programmer locates a fault and changes it, so introducing another fault in the product, then this is termed afault.订
29、 10. The process of starting with the source code and recreating the design documents or even the specifications is known as三、 Answer the following questiont.(otal 45 point)Explain the following noun.(each 3 point ,total 15 point)Software Engineering(2) Cost-benefit Analysis(3) Cohesion共 5 页 第 页共 5
30、页 第 # 页Data encapsulationReuse2、 Draw the waterfall model and describe its strengths and weaknesses.(6 point). 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 are the two ke
31、y characters of chief programmer team ? (7 points)共 页 第 4 页共 页 第 4 页What is the similarity and difference between walkthrough and inspection?(5 points)Determine the cohesion of the following modules , and explain your reason in brief: ( 5 points )Read part number from database and update repair reco
32、rd 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.专业得分Design problems t(otal 15 point)Accor
33、ding to the rule of the airplane company, passengers can haveluggage weighted less or equal to 35kg checked for free. The heavy lift additional( 超重附加费)is 6¥ /Kg for domestic first class passengers( 国内头等舱乘客)and 8 ¥ /Kg for other domestic passengers. The heavy liftadditional for the foreign passengers
34、 is double what it is for thedomestic passengers. The heavy lift additional for the disabled is half of that for the normal passengers. Please draw the decision tree forthe carriage computation.(7 points)共 5页 第 5 页共 5页 第 5 页2、 A product is to be installed to control n elevators in a building with m
35、floors. The problem concern the logic required to move elevators between floors according to the following constrains:Each elevator has a set of m buttons, one for each floor. These illuminate when pressed and cause the elevator to visit the corresponding floor. The illumination is canceled when the
36、 corresponding floor is visited by the elevator.Each floor, except the first floor and the top floor, has two buttons, one to request an 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 move
37、s in the desired direction.When an elevator has no request, it remains at its current floor with its doors closed.Assumet hat you are in the Object Oriented Analysis phase, please draw the use-case diagram and class diagram for this product.(8 points)3. (7 point)3. (7 point)2007-2008_1 Software engi
38、neering 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).D2.C3.D4.C5.B.B12.D13.D14.C15.A21.B22.C23.B24.B25.B评分标准:选对给1 分,选错给6.D16.B26.A 0 分。7.B8.B9.B17.D 18.A 19.C27.B 28.A 29.D10.C20.D30.BFill in the blank( each blank
39、 1 point ,total 10 poin)trisk analysis 2. workbench 3.revision 4.Performance5.stamp 6.Collaboration 7.specification8.adaptive9. regression10. reverse engineering评分标准:完全填对给1 分;仅有1 处拼写错误的不扣分,拼写错误累计2 个扣 1 分;有 3 处拼写错误的扣1 分,拼写错误累计4 个扣 2 分。单词拼写错误十分严重,无法猜测其拼写意图的不给分。Answer the following question.(total 45 p
40、oint)(15 point)Software Engineering: Software Engineering is a discipline whose aim is to produce fault-free software ,to deliver software on time and within budget and to satisfy the clients requirements.Cost-benefit Analysis: A basic principle underlying many software engineering techniques to com
41、pare estimated future benefits and costs.Cohesion: Degree of interaction within a module.Data encapsulation: Data structure together with the operations on it.Reuse: Use components of one product to simplify the development of another product that has different functions.评分标准:允许用自己的语言表述名词的意思,根据回答情况酌
42、情给分。(6 point)Advantages: Disciplined approach; Document-drivenDisadvantages: Delivered product may notm eet client s needs评分标准:画出瀑布模型图给4 分,根据绘图完整情况酌情扣分。瀑布模型的优缺点各占1 分。5 pointsRequirements phase: record of discussions with client; document stating client nese ds and/or a rapid prototype.Specification
43、phase: specification document; software project management plan.Design phase: architectural design; detailed design of each module.Implementation phase: source code; comments in the source code; test cases for each module.Integration phase: commented source code of product as a whole; test cases for
44、 product as a whole; user manual, operator manual, other manuals.Maintenance phase: record of changes made, with reasons; regression test cases; modified documentation from previous phases.Retirement phase: why it was retired, when, and by whom.评分标准:每列出一个阶段的文档得1 分,只列出7 个阶段,而没有列出文档情况得2 分,其他情况酌情扣分。(7
45、points)( 5 分)Two key aspects: Specialization and Hierarch(y 2 分)评分标准:列出主程序员结构得5 分,每列出1 种特点得1 分,如果只列出了主程序员的成员,而没有列出之间的关系,扣1 分。其他情况酌情扣分。(5 points)Both are review processes performed by teams with the aim of finding faults. In both cases the material is studied by individual team members, and then the material is reviewed by the team as a group.The major differences are: an inspection is a formal five-step process while a walkthrough has two informal steps; previously acquired fault
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 外研八下英语Unit 4 Starting out-Understanding ideas《合作探究二》课件
- 人教 八年级 语文 下册 第1单元《1.社戏 第2课时》课件
- 2026年外包油漆合同(1篇)
- 2025 高中信息技术数据结构在社交网络社群发现与演化分析课件
- 2026年买车抵押合同(1篇)
- 矿山智能频率表项目可行性研究报告
- 2026届浙江宁波十校高三下学期二模历史试题+答案
- 心包疾病的诊断和处理
- 2026届浙江宁波十校高三下学期二模物理试题+答案
- 四川省宜宾市普通高中2023级第二次诊断性测试语文+答案
- 工厂能耗管理办法
- 2025年城市燃气项目立项申请报告模板
- 北京政务云管理办法
- 残疾等级评定培训课件
- 瑜伽康复墙培训课件
- 学堂在线 雨课堂 学堂云 工程伦理2.0 章节测试答案
- 2025年高中生物学知识竞赛试题及答案
- T/CIE 115-2021电子元器件失效机理、模式及影响分析(FMMEA)通用方法和程序
- 《水遇冷以后》说课(附反思板书)(课件)四年级下册科学苏教版
- 2025年衡阳市商品房买卖合同(正式版本)
- 园长陪餐管理制度
评论
0/150
提交评论