




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、软件工程(双语)复习范围注意事项:每个学生必须写上本人的学号、任课教师姓名、姓名、班级,另外所有的答案必须全部写在答卷纸上请不要写的试卷上,试题及答卷一同交上.Part 1Select the most appropriate choice to answer the following questions or to complete following statements. (1*15 =15 )1About the MVC (Model-View-Controller) pattern, which one of following statements is notright?a)
2、Separates presentation and interaction from the system data。 b) The system is structured into three logical components that interact with each other。 The Model component manages the system data and associated operations on that data. 。c) The Model component defines and manages how the data is presen
3、ted to the user.d) The Controller component manages user interaction (e。g。, key presses, mouse clicks, etc。) and passes these interactions to the View and the Model。.2. The statistical data show that the distribution of maintenance effort is close to? Ba) Fault repair 65, Software adaptation 18, Fun
4、ction addition or modification 17。b) Fault repair 17%, Software adaptation 18, Function addition or modification 65。c) Fault repair 17%, Software adaptation 65%, Function addition or modification 18。d) Fault repair 40, Software adaptation 40, Function addition or modification 20%。3。 Which statement
5、is a wrong statement for Waterfall Model?Ba) Inflexible partitioning of the project into distinct stagesb) This model is only appropriate when the requirements are poorly understoodc) This model is difficult to respond to changing customer requirementsd) This model is appropriate when the requiremen
6、ts are wellunderstood. 4。 Which one of following statements is not in the complete test coverage of a class?Ba) Testing all operations associated with an objectb) Setting and interrogating all object attributes c) Exercising the object in all possible statesd) Testing all the possible objects 5。 Whe
7、n we have little experiences about a project, that is to say we know little requirements and are not family with how to develop it。 Which model should be adopted?Aa) Formal systems development。b) Waterfall model.c) Exploratory development d) Reuse-oriented development。Part 2Mark the right statement
8、, the wrong statement×(115=15)1. In the software architecture design,using largegrain components improves performance and maintainability。错2. A software process model is an abstract representation of a process。 It presents a description of a process from all perspective.3. Re-engineering is enh
9、ancing the functionality and performance of the system。错4. AccordingLehman and Belady'slaws, over a programs lifetime, its rate of development is approximately constant and independent of the resources devoted to system development。对5. The goal of program testing is to show the program is free o
10、f defects。Part 3Fill the blankets: (115=15)1. Risk management is concerned with identifying risks which may affect the project, there may be several kinds of risks, including technology risks , people risks, organizational risks , tools risks。 (requirements risks)2. Common activities in objectorient
11、ed design processes include , , , ,.Define the context models of the system, Design the system architecture, identify the principal system objects, Develop design models, Specify boject interfaces3. General issues that affect most softwareare , , 。 Heterogeneity, Business and social, Security and tr
12、ust.4. A structured set of activities required to develop a software system, which are , _, _。Specification, development, valodation,evolution.5. Generic process models are , , Waterfall model, Evolutionary development, Incremental development, Reuse-based development6. The stages of development tes
13、ting are , , 。 Unit testing, Component testing, System testing。 7.Exploratory development 、Throwaway prototypingare two kind models of evolutionary model.7.8. According to its function, Requirement can be classified as function requirement, , 。Nonfunctional requirements, Domain requirements9. softwa
14、re pricing estimation techniques include , _, Parkinsons Law, _ _.a) Algorithmic cost modelling, Expert judgement, Estimation by analogy(Pricing to win)Part 4Answer the following questions in brief。 (55=25 )1. Which approaches to object class identification are introduced in this book?2. What is Pat
15、h testing?Answer: The bojective of path testing is to ensure that the set of test cases is such that each path through the program is executed at least once。3. What is architectural patterns? 4. Why software engineering is born?Answer:Because of software crisis in the 1960s, main characteristics are
16、: low quality of software, high costs of software, slow delivery of software。 Software engineering is first proposed at a NATO meeting in 1968。5. What is the difference between software engineering and computer science?Answer: Computer science is concerned with theory and fundamentals;Software engin
17、eering is concerned with the practicalities of developing and delivering useful software。6. Please answer the stages of waterfall model, and its advantages and disadvantages.Answer: Stages :Requirements definition, system and software design, implementation and unit testing, integration and system t
18、esting, operation and maintenanceAdvantages:Therefore this model is appropriate when the requirements are wellunderstood, Process is visible and standard and all documennts are formalDisadvantages:Inflexible partitioning of the project into distinct stages,This makes it difficult to respond to chang
19、ing customer requirements。7. What are the two types of software prototyping and the advantages and disadvantagesof software prototyping?Answer:two types:Exploratory development and Throw-away prototyping。Advantages:1。Improved system usability2.Closer match to the system needed3。Improved design quali
20、ty4。Improved maintainability5.Reduced overall development effortDisadvantages:1。Lack of process visibility(过程不可见)2。Systems are often poorly structured(系统结构不好)3.Special skills (e。g. in languages for rapid prototyping) may be required(需要一些技巧)8. What are the five types of interaction styles in user int
21、erface design?Answers:1.Direct manipulation 直接操作2.Menu selection 菜单选择3。Form fill-in 表格填写4。Command language 命令语言5.Natural language 自然语言9. Please answer the two methods of testing and serial stages of testing.answers:two types:white-box testing and black-box testing.serial stages of testing: unit test
22、ing, integration testing。10. Please answer the two methods of testing and serial stages of testing.Answers:two types:whitebox testing and blackbox testing.serial stages of testing: unit testing, integration testing. 11. What is Beta testing?Answer: A release of the software is made available to user
23、s to allow them to experiment and to raise problems that they discover with the sysytem developers.Part 5Solve the following problems(30)1. Using the UML graphical notation for object classes, design the following object classes, identifying attributes and operations。 Use your own experience to deci
24、de on the attributes and operations that should be associated with these objects。 a telephone a printer for a personal computer a personal stereo system a bank account a library catalogueAnswer:There are many possible designs here and a great deal of complexity can be addedto the objects. However, I
25、 am only really looking for simple objects whichencapsulate the principal requirements of these artefacts。 Possible designs areshown in the above diagram。2. Design a set of test data to accomplish the path testing about the following program (Figure 1). (5)TTstartA<10A=A+1A=A+BendB<20aceFFFigu
26、re 1bdAnswer :A=100 B=100 cover path ace; A=100 B=80 cover path acde; A=50 B=100 cover path abce A=40 B=60 cover path abcde3. Based on your experience with a bank ATM, draw an activity diagramthat models the data processing involved when a customer withdraws cash from the machine。Answer:Notice that
27、I have not developed the activities representing other services or failedauthentication。4. Design the web application architecture using the MVC pattern。 5. Based on following dataflow diagram, design its system structure. 6. Based on the above sequence diagram, describe the whole process in detail。
28、7.8. Develop a sequence diagram showing the interactions involved when a student registers for a course in a university. Courses may have limited enrolment, so the registration process must include checks that places are available. Assume that the student accesses an electronic course catalog to fin
29、d out about available courses。Answer:A relatively simple diagram is all that is needed here. It is best not to be too fussyabout things like UML arrow styles as hardly anyone canremember the differencesbetween them。9. A bank ATM takes the cash card and read the password, check the id and password, t
30、he ATM let the user to enter the amount of cash to be drawn, The ATM check the balance of the user account, if the balance is larger than or equal to the amount, then give the cash and deduct the amount from the account; if the balance is less than the amount, then return the previous screen。 Draw a
31、 data-flow diagram about the system。 10. A weather data collection system is required to generate weather maps on a regular basis using data collected from remote, unattended weather stations and other data sources such as weather observers, balloons and satellites. Weather stations transmit their data to the area computer in response to a request from that machine。 The area computer validates the collected data and integrates it with the data from different sources. The integrated data is archived and, using data from this
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 计量仪器采购合同
- 河北省唐山市丰润区2024-2025学年三年级下学期期末数学试题
- 烹饪营养与卫生(第3版)-课件 6.项目三任务二.科学配餐与食谱编制(一)
- 幽默的安全规程讲解培训课件
- 2025年宏观经济展望分析报告:“新秩序”的萌芽
- 岩石书课件教学
- 尾矿工安全培训课件
- 存量房买卖居间服务绿色环保合同
- 电商平台工商股权转让与物流配送协议
- 企业多元化培训方案定制合同
- 乡级增补叶酸培训课件
- 家庭劳动教育的制度性困境与教育主体重构研究
- 中国兵器工业集团校园招聘笔试经典考题含答案
- 小学数学教师新课标考试试题(含答案)
- 2025年儿童康复学考试题库
- 《高温熔融金属吊运安全规程》(AQ7011-2024)
- 2025河南水投资源开发管理集团招聘11人笔试参考题库附带答案详解
- 颅内占位疑难病例讨论
- 视网膜出血的治疗及护理
- 心理学基础(第2版) 课件 第1章 概述
- 2025至2030银行人工智能行业市场发展前景及发展趋势与投资机会报告
评论
0/150
提交评论