




版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
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 not right? 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 pres
3、ented 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%,
4、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 s
5、tatement 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
6、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 obj
7、ects 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 righ
8、t 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-engineer
9、ing 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
10、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
11、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,
12、 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 o
13、f 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, Domai
14、n 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
15、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 196
16、0s, 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
17、 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 testi
18、ng, 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
19、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 syste
20、m needed3.Improved design quality4.Improved maintainability5.Reduced overall development effortDisadvantages:1.Lack of process visibility(過程不可見)2.Systems are often poorly structured(系統(tǒng)結構不好)3.Special skills (e.g. in languages for rapid prototyping) may be required(需要一些技巧)8. What are the five types of
21、 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.ser
22、ial 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
23、 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 operatio
24、ns. 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
25、 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) TTst
26、artA10A=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 fro
27、m 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, d
28、escribe 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
29、 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
30、 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,
31、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. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 中國聚丁二烯橡膠行業(yè)發(fā)展現狀及投資潛力預測報告
- 2025年中國電網信息化市場發(fā)展前景預測及投資戰(zhàn)略咨詢報告
- 中國通信工程施工行業(yè)市場深度分析及投資戰(zhàn)略研究報告
- 中國出軸結合件行業(yè)市場發(fā)展前景及發(fā)展趨勢與投資戰(zhàn)略研究報告(2024-2030)
- 凈水劑行業(yè)深度研究分析報告(2024-2030版)
- 中國無線網卡行業(yè)發(fā)展監(jiān)測及市場發(fā)展?jié)摿︻A測報告
- “小小夢想家”兒童創(chuàng)意教育商業(yè)計劃書
- 中國江西省生活垃圾清運和處理市場調查研究及行業(yè)投資潛力預測報告
- 瀝青混凝土培訓課件
- 濕陷性黃土可行性研究報告
- 排污許可證申請流程
- 藥具培訓培訓試題及答案
- 重慶市大渡口區(qū)2023-2024學年四年級下學期數學期末測試卷(含答案)
- 2025年高考全國一卷寫作范文4篇
- 2025年廣西公需科目答案03
- 2025屆江蘇省徐州市名校七下數學期末達標檢測試題含解析
- 2025年山東夏季高中學業(yè)水平合格考模擬生物試卷(含答案)
- 大連海事大學育鯤輪電機員培訓課件詳解
- GB/T 45577-2025數據安全技術數據安全風險評估方法
- IgG4腎病的診斷和治療
- 中國啤酒籃行業(yè)市場發(fā)展前景及發(fā)展趨勢與投資戰(zhàn)略研究報告2025-2028版
評論
0/150
提交評論