




已阅读5页,还剩6页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
软件工程(双语)复习范围注意事项:每个学生必须写上本人的学号、任课教师姓名、姓名、班级,另外所有的答案必须全部写在答卷纸上请不要写的试卷上,试题及答卷一同交上。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 not right? a) 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 presented 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%, Function 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 is a wrong statement for Waterfall Model?Ba) Inflexible partitioning of the project into distinct stages b) 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 requirements are well-understood. 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. When 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 , the wrong statement(1*15=15)1. In the software architecture design, using large-grain 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 enhancing the functionality and performance of the system. 错4. According Lehman and Beladys laws, 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 of defects.Part 3Fill the blankets: (1*15=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 object-oriented 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 software are , , . Heterogeneity, Business and social, Security and trust.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 development 6. The stages of development testing are , , . Unit testing, Component testing, System testing. 7. Exploratory development 、 Throw-away prototyping are two kind models of evolutionary model.7.8. According to its function, Requirement can be classified as function requirement, , . Non-functional requirements, Domain requirements9. software 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. (5*5=25 )1. Which approaches to object class identification are introduced in this book?2. What is Path 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: 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 engineering 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 testing, operation and maintenanceAdvantages:Therefore this model is appropriate when the requirements are well-understood, 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 changing customer requirements.7. What are the two types of software prototyping and the advantages and disadvantages of software prototyping?Answer: two types:Exploratory development and Throw-away prototyping.Advantages:1.Improved system usability2.Closer match to the system needed3.Improved design quality4.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 interface 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 testing, integration testing.10. 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 testing, integration testing. 11. What is Beta testing?Answer: A release of the software is made available to users 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 decide 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 added to the objects. However, I am only really looking for simple objects which encapsulate the principal requirements of these artefacts. Possible designs are shown in the above diagram.2. Design a set of test data to accomplish the path testing about the following program (Figure 1). (5) TTstartA10A=A+1A=A+BendB20aceFFFigure 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 diagram that models the data processing involved when a customer withdraws cash from the machine. Answer:Notice that I have not developed the activities representing other services or failed authentication.4. Design the web application architecture using the MVC pattern. 5. Based on following data-flow diagram, design its system structure. 6. Based on the above sequence diagram, describe the whole process in detail.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 find out about available courses.Answer:A relatively simple diagram is all that is needed here. It is best not to be too fussy about things like UML arrow styles as hardly anyone can remember the differences between them.9. A bank ATM takes the cash card and read the password, check the id and password, the 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 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 thi
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年数据分析师初级面试技巧与模拟题答案详解
- 2025年大学教授招聘笔试模拟题及答案
- 2025年医疗器械销售代表产品推广方向招聘面试预测题集
- 2025年仓库管理员理论知识考试试题与答案
- 2025年财务经理招聘模拟题及答案
- 2025年验船师考试(C级船舶检验专业实务)综合练习题及答案二
- 2025年(公需科目)人工智能与健康考试题库试题及答案
- 2025年注册验船师考试(A级船舶检验专业基础安全)复习题及答案一
- 2026届上海市同济大学一附中化学高一上期中达标测试试题含解析
- 2025年道路行走安全测试题及答案解析
- 2025年山西航空产业集团有限公司招聘考试笔试试题(含答案)
- 高一上学期数学学法指导课件2024.9.14
- 2025年生猪屠宰兽医卫生检疫人员考试题(附答案)
- (完整word版)高中英语3500词汇表
- GB/T 778.1-2018饮用冷水水表和热水水表第1部分:计量要求和技术要求
- GB/T 11547-2008塑料耐液体化学试剂性能的测定
- 伤口造口新进展课件
- (完整版)人工智能介绍课件
- 恶性骨肿瘤化疗及注意事项(58张幻灯片)课件
- 国有企业采购规范和示范文本
- Fisher DVC2000定位器培训课件
评论
0/150
提交评论