版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、软件工程(双语)复习范围注意事项:每个学生必定写上自己的学号、任课教师姓名、姓名、班级,别的所有的答案必定全部写在答卷纸上请不要写的试卷上,试题及答卷一同交上。Part1Selectthemostappropriatechoicetoanswerthefollowingquestionsortocompletefollowingstatements.(1*15=15)1AbouttheMVC(Model-View-Controller)pattern,whichoneoffollowingstatementsisnotright?a)Separatespresentationandintera
2、ctionfromthesystemdata.b)Thesystemisstructuredintothreelogicalcomponentsthatinteractwitheachother。TheModelcomponentmanagesthesystemdataandassociatedoperationsonthatdata。TheModelcomponentdefinesandmanageshowthedataispresentedtotheuser.。TheControllercomponentmanagesuserinteraction(e.g.,keypresses,mous
3、eclicks,etc。)andpassestheseinteractionstotheViewandtheModel。.2。Thestatisticaldatashowthatthedistributionofmaintenanceeffortiscloseto?Ba)Faultrepair65%,Softwareadaptation18,Functionadditionormodification17%。b)Faultrepair17%,Softwareadaptation18,Functionadditionormodification65%。Faultrepair17,Software
4、adaptation65%,Functionadditionormodification18%.d)Faultrepair40,Softwareadaptation40,Functionadditionormodification20.3。WhichstatementisawrongstatementforWaterfallModel?BInflexiblepartitioningoftheprojectintodistinctstagesThismodelisonlyappropriatewhentherequirementsarepoorlyunderstoodThismodelisdif
5、ficulttorespondtochangingcustomerrequirementsThismodelisappropriatewhentherequirementsarewell-understood.4。Whichoneoffollowingstatementsisnotinthecompletetestcoverageofaclass?BTestingalloperationsassociatedwithanobjectSettingandinterrogatingallobjectattributesExercisingtheobjectinallpossiblestatesTe
6、stingallthepossibleobjects5。Whenwehavelittleexperiencesaboutaproject,thatistosayweknowlittlerequirementsandarenotfamilywithhowtodevelopit.Whichmodelshouldbeadopted?AFormalsystemsdevelopment.Waterfallmodel.ExploratorydevelopmentReuseorienteddevelopment。Part2Marktherightstatement,thewrongstatement(115
7、=15)Inthesoftwarearchitecturedesign,usinglarge-graincomponentsimprovesperformanceandmaintainability。错Asoftwareprocessmodelisanabstractrepresentationofaprocess.Itpresentsadescriptionofaprocessfromallperspective.Re-engineeringisenhancingthefunctionalityandperformanceofthesystem.错4.AccordingLehmanandBe
8、ladyslaws,overaprogramlifetime,sitsrateofdevelopmentisapproximatelyconstantandindependentoftheresourcesdevotedtosystemdevelopment.对Thegoalofprogramtestingistoshowtheprogramisfreeofdefects.Part3Filltheblankets:(115=15)Riskmanagementisconcernedwithidentifyingriskswhichmayaffecttheproject,theremaybesev
9、eralkindsofrisks,includingtechnologyrisks,peoplerisks,organizationalrisks,toolsrisks。(requirementsrisks)2.Commonactivitiesinobjectorienteddesignprocessesinclude,,.Definethecontextmodelsofthesystem,Designthesystemarchitecture,identifytheprincipalsystemobjects,Developdesignmodels,Specifybojectinterfac
10、es3.Generalissuesthataffectmostsoftwareare,,。Heterogeneity,Businessandsocial,Securityandtrust.4.Astructuredsetofactivitiesrequiredtodevelopasoftwaresystem,whichare,_,_。Specification,development,valodation,evolution。5.GenericprocessmodelsareWaterfallmodel,Evolutionarydevelopment,,Incrementaldevelopme
11、nt,Reusebaseddevelopment6.Thestagesofdevelopmenttestingare,.Unittesting,Componenttesting,Systemtesting.7.Exploratorydevelopment、Throwawayprototypingaretwokindmodelsofevolutionarymodel。7.Accordingtoitsfunction,Requirementcanbeclassifiedasfunctionrequirement,,Nonfunctionalrequirements,Domainrequiremen
12、ts。9.softwarepricingestimationtechniquesinclude,_,ParkinsonsLaw,_.a)Algorithmiccostmodelling,Expertjudgement,Estimation(Pricingtowin)byanalogyPart4Answerthefollowingquestionsinbrief.(5*5=25)1.Whichapproachestoobjectclassidentificationareintroducedinthisbook?WhatisPathtesting?Answer:Thebojectiveofpat
13、htestingistoensurethatthesetoftestcasesissuchthateachpaththroughtheprogramisexecutedatleastonce。Whatisarchitecturalpatterns?Whysoftwareengineeringisborn?Answer:Becauseofsoftwarecrisisinthe1960s,maincharacteristicsare:lowqualityofsoftware,highcostsofsoftware,slowdeliveryofsoftware.Softwareengineering
14、isfirstproposedataNATOmeetingin1968.Whatisthedifferencebetweensoftwareengineeringandcomputerscience?Answer:Computerscienceisconcernedwiththeoryandfundamentals;Softwareengineeringisconcernedwiththepracticalitiesofdevelopinganddeliveringusefulsoftware。Pleaseanswerthestagesofwaterfallmodel,anditsadvant
15、agesanddisadvantages.Answer:Stages:Requirementsdefinition,systemandsoftwaredesign,implementationandunittesting,integrationandsystemtesting,operationandmaintenanceAdvantages:Thereforethismodelisappropriatewhentherequirementsarewellunderstood,ProcessisvisibleandstandardandalldocumenntsareformalDisadva
16、ntages:Inflexiblepartitioningoftheprojectintodistinctstages,Thismakesitdifficulttorespondtochangingcustomerrequirements.Whatarethetwotypesofsoftwareprototypingandtheadvantagesanddisadvantagesofsoftwareprototyping?Answer:twotypes:ExploratorydevelopmentandThrow-awayprototyping.Advantages:1.Improvedsys
17、temusability2.Closermatchtothesystemneeded3。Improveddesignquality4.Improvedmaintainability5.ReducedoveralldevelopmenteffortDisadvantages:1。Lackofprocessvisibility(过程不可以见)2.Systemsareoftenpoorlystructured(系统结构不好)3.Specialskills(e。g.inlanguagesforrapidprototyping)mayberequired(需要一些技巧)Whatarethefivetyp
18、esofinteractionstylesinuserinterfacedesign?Answers:1。Directmanipulation2.Menuselection3。Formfillin4.Commandlanguage5。Naturallanguage直接操作菜单项选择择表格填写命令语言自然语言Pleaseanswerthetwomethodsoftestingandserialstagesoftesting.answers:twotypes:white-boxtestingandblack-boxtesting。serialstagesoftesting:unittesting,
19、integrationtesting.Pleaseanswerthetwomethodsoftestingandserialstagesoftesting.Answers:twotypes:white-boxtestingandblack-boxtesting。serialstagesoftesting:unittesting,integrationtesting.11。WhatisBetatesting?Answer:Areleaseofthesoftwareismadeavailabletouserstoallowthemraiseproblemsthattheydiscoverwitht
20、hesysytemdevelopers.toexperimentandtoPart5Solvethefollowingproblems(30)UsingtheUMLgraphicalnotationforobjectclasses,designthefollowingobjectclasses,identifyingattributesandoperations.Useyourownexperiencetodecideontheattributesandoperationsthatshouldbeassociatedwiththeseobjects。atelephoneaprinterfora
21、personalcomputerapersonalstereosystemabankaccountalibrarycatalogueAnswer:Therearemanypossibledesignshereandagreatdealofcomplexitycanbeaddedtotheobjects.However,Iamonlyreallylookingforsimpleobjectswhichencapsulatetheprincipalrequirementsoftheseartefacts.Possibledesignsareshownintheabovediagram。2.Desi
22、gnasetofstarttestdatatoaccomplishthepathtestingFabouttheA10afollowingA=A+1bprogram(Figure1).(5)TFcB20TA=A+BdeendFigure1Answer:A=100B=100coverpathace;A=100B=80coverpathacde;A=50B=100coverpathabceA=40B=60coverpathabcdeBasedonyourexperiencewithabankATM,drawanactivitydiagramthatmodelsthedataprocessingin
23、volvedwhenacustomerwithdrawscashfromthemachine。Answer:NoticethatIhavenotdevelopedtheactivitiesrepresentingotherservicesorfailedauthentication。DesignthewebapplicationarchitectureusingtheMVCpattern.5.Basedonfollowingdata-flowdiagram,designitssystemstructure.Basedontheabovesequencediagram,describethewh
24、oleprocessindetail.Developasequencediagramshowingtheinteractionsinvolvedwhenastudentregistersforacourseinauniversity.Coursesmayhavelimitedenrolment,sotheregistrationprocessmustincludechecksthatplacesareavailable。Assumethatthestudentaccessesanelectroniccoursecatalogtofindoutaboutavailablecourses。Answ
25、er:Arelativelysimplediagramisallthatisneededhere.ItisbestnottobetoofussyaboutthingslikeUMLarrowstylesashardlyanyonecanrememberthedifferencesbetweenthem.AbankATMtakesthecashcardandreadthepassword,checktheidandpassword,theATMlettheusertoentertheamountofcashtobedrawn,TheATMcheckthebalanceoftheuseraccou
26、nt,ifthebalanceislargerthanorequaltotheamount,thengivethecashanddeducttheamountfromtheaccount;ifthebalanceislessthantheamount,thenreturnthepreviousscreen。Drawadata-flowdiagramaboutthesystem。Aweatherdatacollectionsystemisrequiredtogenerateweathermapsonaregularbasisusingdatacollectedfromremote,unattendedweatherstationsandotherdatasourcessuchasweatherobservers,balloonsandsatellites。Weatherstationstransmittheirdatatotheareacomputerinresponsetoarequestfromthatmachine.Theareacomputervalidatesthecollecteddataandintegratesitwiththedatafromdifferentsources。Theintegrateddataisarchivedand,usingdata
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026仰恩大学招聘教师及教辅人员考试模拟试题及答案详解
- 2026年宜宾市长宁县增量政策性岗位公开招募28人笔试备考试题及答案详解
- 2026年西安市庆安初级中学分校(67中学)教师招聘笔试备考题库及答案详解
- 2026年8月忻城县水务投资有限责任公司乡镇水厂技术人员招聘1人笔试备考试题及答案详解
- 个人所得税备案信息确认函范例3篇范文
- 2026年西咸新区沣东第二学校教师招聘(12人)考试备考试题及答案详解
- 经理的团队领导力与激励策略指导书
- IT系统管理员网络安全防护实施方案
- 客户信息安全保护及风险应对预案
- 云计算技术应用奖申报截止提醒(3篇范文)
- 拆除原彩钢屋面板施工方案
- 水质工程学-第3章-混凝
- 2.3 地形图(分层练)(原卷版)
- 人教版八年级数学上册轴对称《最短路径问题》 教学课件
- 220kV变电站电气设备常规交接试验方案
- 100以内两位数进位加法退位减法计算题-(直接打印版)
- (正式版)SH∕T 3541-2024 石油化工泵组施工及验收规范
- 安全生产组织施工方案
- 混凝土泵车安全作业指导书
- 架空输电线路工作人员岗位技能培训考试题库含答案
- 海南西部中心医院招考聘用133人模拟预测试卷共1000练习题含答案解析
评论
0/150
提交评论