




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、軟件工程(雙語)復(fù)習(xí)范圍注意事項(xiàng):每個(gè)學(xué)生必須寫上本人的學(xué)號(hào)、任課教師姓名、姓名、班級(jí),另外所有的答案必須全部寫在答卷紙上請(qǐng)不要寫的試卷上,試題及答卷一同交上。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. 錯(cuò)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. 錯(cuò)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. 對(duì)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)結(jié)構(gòu)不好)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等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 智能物聯(lián)網(wǎng)設(shè)備研發(fā)與銷售合同
- 西城區(qū)歷史文化名城保護(hù)工程合同協(xié)議
- 工傷賠償個(gè)人合同協(xié)議
- 國際海上大宗商品運(yùn)輸合同
- 校園專職安全輔導(dǎo)員招聘合同
- 合同約定下的業(yè)務(wù)外包勞動(dòng)關(guān)系探討
- 跨國電商合作合同:共拓全球市場(chǎng)新機(jī)遇
- 購銷合同(私人購銷)
- 土地使用權(quán)買賣合同書
- 跨國公司勞動(dòng)合同書標(biāo)準(zhǔn)合同
- 2025年安徽中醫(yī)藥高等??茖W(xué)校單招職業(yè)適應(yīng)性測(cè)試題庫有答案
- 北京大學(xué)DeepSeek系列-DeepSeek與AIGC應(yīng)用
- 2025年皖北衛(wèi)生職業(yè)學(xué)院?jiǎn)握新殬I(yè)適應(yīng)性測(cè)試題庫必考題
- 2025年無錫職業(yè)技術(shù)學(xué)院?jiǎn)握新殬I(yè)傾向性測(cè)試題庫完整版
- 2025年皖西衛(wèi)生職業(yè)學(xué)院?jiǎn)握新殬I(yè)技能測(cè)試題庫及答案1套
- 《馬云創(chuàng)業(yè)經(jīng)歷》課件
- 常用量具使用方法課件
- 2024年05月安徽農(nóng)商銀行系統(tǒng)社會(huì)招考計(jì)算機(jī)法律專業(yè)員工人員筆試歷年參考題庫附帶答案詳解
- 騰訊云人工智能工程師認(rèn)證考試題(附答案)
- 班級(jí)管理案例與應(yīng)用知到智慧樹章節(jié)測(cè)試課后答案2024年秋哈爾濱師范大學(xué)
- 建設(shè)單位保證工程安全措施的實(shí)施方案
評(píng)論
0/150
提交評(píng)論