欢迎来到装配图网! | 帮助中心 装配图网zhuangpeitu.com!
装配图网
ImageVerifierCode 换一换
首页 装配图网 > 资源分类 > DOC文档下载
 

大连交通大学-软件工程期末考试(第一套A卷)

  • 资源ID:359637       资源大小:816KB        全文页数:15页
  • 资源格式: DOC        下载积分:10积分
快捷下载 游客一键下载
会员登录下载
微信登录下载
三方登录下载: 微信开放平台登录 支付宝登录   QQ登录   微博登录  
二维码
微信扫一扫登录
下载资源需要10积分
邮箱/手机:
温馨提示:
用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)
支付方式: 支付宝    微信支付   
验证码:   换一换

 
账号:
密码:
验证码:   换一换
  忘记密码?
    
友情提示
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

大连交通大学-软件工程期末考试(第一套A卷)

教研室主任(签字)学院院长(系主任)(签字)大 连 交 通 大 学 试 卷2007 2008 学年 第 1 学期课程 Software engineering(软件工程)(A 卷) (2004 年级)课程性质(必修专业限选任选) 考试方式(闭卷开卷)一、For each question, there are four choices marked A,B,C,D, choose the best answer.(each 1point, total 30 point).1、The aim of software engineering is to produce software that is:A. delivered on time B. delivered within budgetC. satisfies users' needs D. all of the above2、More time and money is spent in the _ phase than any other phase.A. requirements B. specificationC. maintenance D. implementation and integration 3、During which phase of the software project management life cycle should testing occur?A. integration B. implementationC. maintenance D. testing occurs during each phase.4、In which of the following circumstances might the waterfall software life-cycle model be an appropriate one to use?A. large-scale, in-house productsB. for products utilizing an open architecture and complexuser-interfaceClarge 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. iteration B. parallelismC. incremental development D. all of the above7、The democratic team approach is also known as: A. the clean-room approach B. egoless programmingC. bottom-up implementationD. synchronize-and-stabilize teams 得分题 号 一 二 三 四 五 六 七 八 九 总分得 分8、In the classical chief programmer team approach, the team member responsible for black box test case generation is: A. the chief programmer B. the back-up programmerC. programmer D. the programming secretary9、Stepwise refinement is a problem solving technique that underlies many software engineering techniques. It can be defined as a means to: A. specify the product's design up front in order to minimize integration problems during later phases B. postpone decisions on details until as late as possible in order to be able to concentrate on the important issues C. decompose the problem into pieces of equal importance D. review the project's deliverables such as specification documents and code by stepping through them during review meetings10、A tool that can automatically manage multiple versions is a(n): A. upperCASE toolB. compiler C. configuration management toolD. structure editor11、In software engineering the term quality implies: A. excellenceB. the extent to which the product satisfies its specification C. 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 development team(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 to object-oriented systems D、due to conflicts that may arise as production deadlines approach whilst the product still has serious faults.13、The two main design strategies are known as functional design and object-orientated design. Which of the following statements is false? A. In an object-orientated design the system state is decentralized and each object manages its own state information.B. In functional design the system state is centralized and state information is accessed by different functions. C. the most appropriate design strategy is selected for each stage of design, there is 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 components to 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 cohesive B. Strongly coupled and strongly cohesiveC. Strongly cohesive and weakly coupled D. Weakly cohesive and weakly coupled15、What is/are the major disadvantage(s) of basing the requirement specification on a prototype model? A. The rapid prototype cannot stand as a legal statement of a contract between a developer and a client. B. Creating a working prototype takes more time and effort than formulating written specifications.C. The users are not able to understand them to the same extent that they are able to comprehend written specifications. D. all of these are disadvantages16、Using the structured systems approach for specification and design the emphasis is on: A. Real-Time systemsB. actionsC. dataD. objects17、Using structured systems analysis, the logic of the processes is developed by A. defining the data stores and data flows B. data modelingC. process decomposition D. 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) that sends a message to an object of that classB. on the basis of information hiding. i.e. actions performed on state variables 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 diagram B. sequence diagramC. collaboration diagram D. use case装订线 22、As a rule of thumb IF statements should not be nested to a depth greater than: A. 1 B. 2 C. 3 D. 4 23、Black box testing is based on the: A. design document B. 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.Dexhaustively tests every path through a module.25、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 above26、A number of studies have compared strategies for module testing. Which of the following statements on their relative merits is false? A. code inspection is at least as effective at detecting faults as glass-box and black-box testing.B. professional programmers detected more faults with code reading than black-box and glass-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 added B. major design flaws show up early when the logic modules are coded and tested C. operational modules are implemented after their ancestor logic modules D. none of these.28、Integration testing should be run by the: A. SQA group B. programmers who developed the modules C. analysts who specified the modules' functionality D. clients29、During which phase of the software life cycle do you first consider maintenance?A. implementation B. testingC. maintenance D. from the very beginning30、Often the best way of dealing with problems involving the (software) product that are not 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 10 point)1.One simple way of looking at the spiral software life-cycle model is as a waterfall model with each phase proceeded by 2. A CASE device that provides support for one or two activities within the 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 constraints with 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 structurethen they are said to be coupled.6. CRC stands for Class Responsibility .7. At the end of the phase test cases can start to be drawn 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, so introducing another fault in the product, then this is termed afault.10. The process of starting with the source code and recreating the design documents 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 ofthe software life cycle. (7 point)4、What is the structure of classical chief programmer team and what are the 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)1、According to the rule of the airplane company, passengers can have luggage 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 lift additional for the foreign passengers is double what it is for the domestic passengers. The heavy lift additional for the disabled is half of that for the normal passengers. Please draw the decision tree for the carriage computation.(7 points)得分装订线 2、A product is to be installed to control n elevators in a building with m floors. The problem concern 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 pressed and 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 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 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.D 2.C 3.D 4.C 5.B 6.D 7.B 8.B 9.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 分。二、Fill in the blank (each blank 1 point ,total 10 point)1. risk analysis 2. workbench 3.revision 4.Performance5.stamp 6.Collaboration 7.specification 8.adaptive9. regression 10. reverse engineering评分标准:完全填对给 1分;仅有 1处拼写错误的不扣分,拼写错误累计 2个扣 1分;有 3处拼写错误的扣 1分,拼写错误累计 4个扣 2分。单词拼写错误十分严重,无法猜测其拼写意图的不给分。三、Answer the following question.(total 45 point)1.(15 point)(1)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.(2) Cost-benefit Analysis:A basic principle underlying many software engineering techniques to compare estimated future benefits and costs.(3) Cohesion: Degree of interaction within a module.(4) Data encapsulation:Data structure together with the operations on it.(5) Reuse:Use components of one product to simplify the development of another product that has different functions.评分标准:允许用自己的语言表述名词的意思,根据回答情况酌情给分。2. (6 point) Advantages: Disciplined approach; Document-drivenDisadvantages: Delivered product may not meet clients needs评分标准:画出瀑布模型图给 4 分,根据绘图完整情况酌情扣分。瀑布模型的优缺点各占 1 分。3. (7 point)Requirements phase: record of discussions with client; document stating clients needs and/or a rapid prototype.Specification 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 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 分,其他情况酌情扣分。4. (7 points)(5 分)Two key aspects: Specialization and Hierarchy(2 分)评分标准:列出主程序员结构得 5 分,每列出 1 种特点得 1 分,如果只列出了主程序员的成员,而没有列出之间的关系,扣 1 分。其他情况酌情扣分。 5. (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 statistics play an important role in the inspection process; there is a formal component of the inspection process for ensuring that all faults noted are later corrected; if more than a certain fraction of the material is changed then it must be submitted for reinspection.评分标准:列出相同点得 2 分,列出不同点得 3 分,其他情况酌情扣分。6. (5 points)(1) Procedural cohesion: A module has communicational cohesion if it performs a series of actions related by the sequence of steps to be followed by the product and if all the actions are performed on the same data.(2) Communicational cohesion: A module has communicational cohesion if it performs a series of actions related by the procedure to be followed by the product, but in addition all the actions operate on the same data(3) Functional cohesion. A module performs exactly one action or achieves a single goal has functional cohesion.(4) Temporal cohesion. A module has temporal cohesion when it performs a series of actions related in time(5) Coincidental cohesion. A module has coincidental cohesion if it performsmultiple, completely unrelated actions.评分标准:每判断正确一种情况得 1 分,如果判断错误,但是相应的解释正确给 0.5 分,其他情况酌情扣分。四、Design problems (total 20 point)1. (7 points)W 3 5 K gd o m e s t i cf o r e i g nf i r s t c l a s sd i s a b l e d : ( W - 3 5 ) * 3o t h e r so t h e r sn o r m a l : ( W - 3 5 ) * 6n o r m a l : ( W - 3 5 ) * 1 2f i r s t c l a s sd i s a b l e d : ( W - 3 5 ) * 6n o r m a l : ( W - 3 5 ) * 8d i s a b l e d : ( W - 3 5 ) * 4n o r m a l : ( W - 3 5 ) * 1 6d i s a b l e d : ( W - 3 5 ) * 8评分标准:每列出一种情况得 1 分,列出 5 种情况得 3 分,列出 7 种情况得 5 分,列出所有 9 种情况得 7 分,其他情况酌情扣分。2. (8 points) 3 points5 points评分标准:用例图 3分:一个角色,两个用例各占 1分。类图 5分:两个类 1分,共 3分;继承关系 1分,类之间的关系 1分,如果出现错误单词或者漏写属性总共扣 1分。

注意事项

本文(大连交通大学-软件工程期末考试(第一套A卷))为本站会员(1**)主动上传,装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知装配图网(点击联系客服),我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!