版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 初中知识课件
- 厂长助理课件
- 初中长城课件模板下载课件
- 郑州人才公寓实施方案
- 农药创业行业前景分析报告
- 初中七年级科学教学设计:物质微观结构的模型构建与证据推理
- 初中地理九年级教学设计:中国疆域人口民族中考复习专题深度解析与核心素养构建
- 高中地理高三一轮复习教学设计:自然环境整体性与地域分异规律深度解析
- 小学三年级书法长横短横教学设计
- 初中生物七年级下册教学设计:水的利用与散失的探究式教学实践
- 厨师服务礼仪规范
- 旅游行业员工服务礼仪培训
- DB11∕T 1796-2020 文物建筑三维信息采集技术规程
- 智慧方案石化信息化建设项目炼化板块及智能解决方案
- 第8课 我为班级作贡献(教学课件)小学二年级上册 统编版《道德与法治》新教材
- 神经阻滞患者健康宣教
- 会务服务培训课件
- 桡骨远端骨折护理课件
- 企业装修项目管理制度
- JG/T 127-2007建筑门窗五金件滑撑
- 水池清洗、消毒、维护管理制度
评论
0/150
提交评论