下載本文檔
版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
《軟件工程〔雙語(yǔ)〕》復(fù)習(xí)范圍考前須知:每個(gè)學(xué)生必須寫(xiě)上本人的學(xué)號(hào)、任課教師姓名、姓名、班級(jí),另外所有的答案必須全部寫(xiě)在答卷紙上請(qǐng)不要寫(xiě)的試卷上,試題及答卷一同交上。Part1 Selectthemostappropriatechoicetoanswerthefollowingquestionsortocompletefollowingstatements.(1*15=15)1.AbouttheMVC(Model-View-Controller)pattern,whichoneoffollowingstatementsisnotright?Separatespresentationandinteractionfromthesystemdata.Thesystemisstructuredintothreelogicalcomponentsthatinteractwitheachother.TheModelcomponentmanagesthesystemdataandassociatedoperationsonthatdata..TheModelcomponentdefinesandmanageshowthedataispresentedtotheuser..TheControllercomponentmanagesuserinteraction(e.g.,keypresses,mouseclicks,etc.)andpassestheseinteractionstotheViewandtheModel..2.Thestatisticaldatashowthatthedistributionofmaintenanceeffortiscloseto?BFaultrepair65%,Softwareadaptation18%,Functionadditionormodification17%.Faultrepair17%,Softwareadaptation18%,Functionadditionormodification65%.Faultrepair17%,Softwareadaptation65%,Functionadditionormodification18%.Faultrepair40%,Softwareadaptation40%,Functionadditionormodification20%.3.WhichstatementisawrongstatementforWaterfallModel?BInflexiblepartitioningoftheprojectintodistinctstagesThismodelisonlyappropriatewhentherequirementsarepoorlyunderstoodThismodelisdifficulttorespondtochangingcustomerrequirementsThismodelisappropriatewhentherequirementsarewell-understood.4.Whichoneoffollowingstatementsisnotinthecompletetestcoverageofaclass?BTestingalloperationsassociatedwithanobjectSettingandinterrogatingallobjectattributesExercisingtheobjectinallpossiblestatesTestingallthepossibleobjects5.Whenwehavelittleexperiencesaboutaproject,thatistosayweknowlittlerequirementsandarenotfamilywithhowtodevelopit.Whichmodelshouldbeadopted?AFormalsystemsdevelopment.Waterfallmodel.ExploratorydevelopmentReuse-orienteddevelopment.Part2 Marktherightstatement√,thewrongstatement×(1*15=15)Inthesoftwarearchitecturedesign,usinglarge-graincomponentsimprovesperformanceandmaintainability.錯(cuò)Asoftwareprocessmodelisanabstractrepresentationofaprocess.Itpresentsadescriptionofaprocessfromallperspective.Re-engineeringisenhancingthefunctionalityandperformanceofthesystem.錯(cuò)AccordingLehmanandBelady's‘laws’,overaprogram’slifetime,itsrateofdevelopmentisapproximatelyconstantandindependentoftheresourcesdevotedtosystemdevelopment.對(duì)Thegoalofprogramtestingistoshowtheprogramisfreeofdefects.Part3 Filltheblankets:(1*15=15)Riskmanagementisconcernedwithidentifyingriskswhichmayaffecttheproject,theremaybeseveralkindsofrisks,includingtechnologyrisks,peoplerisks,organizationalrisks,toolsrisks.〔requirementsrisks〕Commonactivitiesinobject-orienteddesignprocessesinclude,,,,.Definethecontextmodelsofthesystem,Designthesystemarchitecture,identifytheprincipalsystemobjects,Developdesignmodels,SpecifybojectinterfacesGeneralissuesthataffectmostsoftwareare,,.Heterogeneity,Businessandsocial,Securityandtrust.Astructuredsetofactivitiesrequiredtodevelopasoftwaresystem,whichare,______________________,_____________________.Specification,development,valodation,evolution.Genericprocessmodelsare,,Waterfallmodel,Evolutionarydevelopment,Incrementaldevelopment,Reuse-baseddevelopmentThestagesofdevelopmenttestingare,,.Unittesting,Componenttesting,Systemtesting.7.Exploratorydevelopment、Throw-awayprototypingaretwokindmodelsofevolutionarymodel.Accordingtoitsfunction,Requirementcanbeclassifiedasfunctionrequirement,,.Non-functionalrequirements,Domainrequirementssoftwarepricingestimationtechniquesinclude,________________,Parkinson'sLaw,______________.Algorithmiccostmodelling,Expertjudgement,Estimationbyanalogy(Pricingtowin)Part4 Answerthefollowingquestionsinbrief.(5*5=25)Whichapproachestoobjectclassidentificationareintroducedinthisbook?WhatisPathtesting?Answer:Thebojectiveofpathtestingistoensurethatthesetoftestcasesissuchthateachpaththroughtheprogramisexecutedatleastonce.Whatisarchitecturalpatterns?Whysoftwareengineeringisborn?Answer:Becauseofsoftwarecrisisinthe1960’s,maincharacteristicsare:lowqualityofsoftware,highcostsofsoftware,slowdeliveryofsoftware.SoftwareengineeringisfirstproposedataNATOmeetingin1968.Whatisthedifferencebetweensoftwareengineeringandcomputerscience?Answer:Computerscienceisconcernedwiththeoryandfundamentals;Softwareengineeringisconcernedwiththepracticalitiesofdevelopinganddeliveringusefulsoftware.Pleaseanswerthestagesofwaterfallmodel,anditsadvantagesanddisadvantages.Answer:Stages:Requirementsdefinition,systemandsoftwaredesign,implementationandunittesting,integrationandsystemtesting,operationandmaintenanceAdvantages:Thereforethismodelisappropriatewhentherequirementsarewell-understood,ProcessisvisibleandstandardandalldocumenntsareformalDisadvantages:Inflexiblepartitioningoftheprojectintodistinctstages,Thismakesitdifficulttorespondtochangingcustomerrequirements.Whatarethetwotypesofsoftwareprototypingandtheadvantagesanddisadvantagesofsoftwareprototyping?Answer:twotypes:ExploratorydevelopmentandThrow-awayprototyping.Advantages:1.Improvedsystemusability2.Closermatchtothesystemneeded3.Improveddesignquality4.Improvedmaintainability5.ReducedoveralldevelopmenteffortDisadvantages:1.Lackofprocessvisibility〔過(guò)程不可見(jiàn)〕2.Systemsareoftenpoorlystructured〔系統(tǒng)結(jié)構(gòu)不好〕3.Specialskills(e.g.inlanguagesforrapidprototyping)mayberequired〔需要一些技巧〕Whatarethefivetypesofinteractionstylesinuserinterfacedesign?Answers:1.Directmanipulation直接操作2.Menuselection菜單項(xiàng)選擇擇3.Formfill-in表格填寫(xiě)4.Commandlanguage命令語(yǔ)言5.Naturallanguage自然語(yǔ)言Pleaseanswerthetwomethodsoftestingandserialstagesoftesting.answers:twotypes:white-boxtestingandblack-boxtesting.serialstagesoftesting:unittesting,integrationtesting.Pleaseanswerthetwomethodsoftestingandserialstagesoftesting.Answers:twotypes:white-boxtestingandblack-boxtesting.serialstagesoftesting:unittesting,integrationtesting.11.WhatisBetatesting?Answer:Areleaseofthesoftwareismadeavailabletouserstoallowthemtoexperimentandtoraiseproblemsthattheydiscoverwiththesysytemdevelopers.Part5 Solvethefollowingproblems(30)UsingtheUMLgraphicalnotationforobjectclasses,designthefollowingobjectclasses,identifyingattributesandoperations.Useyourownexperiencetodecideontheattributesandoperationsthatshouldbeassociatedwiththeseobjects.?atelephone?aprinterforapersonalcomputer?apersonalstereosystem?abankaccount?alibrarycatalogueAnswer:Therearemanypossibledesignshereandagreatdealofcomplexitycanbeaddedtotheobjects.However,Iamonlyreallylookingforsimpleobjectswhichencapsulatetheprincipalrequirementsoftheseartefacts.Possibledesignsareshownintheabovediagram.SHAPEDesignasetoftestdatatoaccomplishthepathtestingaboutthefollowingprogram(Figure1).(5)TTTstartA<10A=A+1A=A+BendB<20aceFFFigure1bdAnswer:A=100B=100coverpathace;A=100B=80coverpathacde;A=50B=100coverpathabceA=40B=60coverpathabcdeBasedonyourexperiencewithabankATM,drawanactivitydiagramthatmodelsthedataprocessinginvolvedwhenacustomerwithdrawscashfromthemachine.Answer:NoticethatIhavenotdevelopedtheactivitiesrepresentingotherservicesorfailedauthentication.DesignthewebapplicationarchitectureusingtheMVCpattern.SHAPESHAPEBasedonfollowingdata-flowdiagram,designitssystemstructure.Basedontheabovesequencediagram,describethewholeprocessindetail.Developasequencediagramshowingtheinteractionsinvolvedwhenastudentregistersforacourseinauniversity.Coursesmayhavelimitedenrolment,sotheregistrationprocessmustincludechecksthatplacesareavailable.Assumethatthestudentaccessesanelectroniccoursecatalogtofindoutaboutavailablecourses.Answer:Arelativelysimplediagramisallthatisneededhere.ItisbestnottobetoofussyaboutthingslikeUMLarrowstylesashardlyanyonecanrememberthedifferencesbetweenthem.AbankATMtakesthecashcardandreadthepassword,checktheidandpassword,theATMlettheusertoentertheamountofcashtobedrawn,TheATMcheckthebalanceoftheuseraccount,ifthebalanceislargerthanorequaltotheamount,thengivethecashanddeducttheamountfromtheaccount;ifthebalanceislessthantheamount,thenreturnthepreviousscreen.Drawadata-flowdiagramaboutthesystem.Aweatherdatacollectionsystemisrequiredtogenerateweathermapsonaregularbasisusingdatacollectedfromremote,unattendedweatherstationsandotherdatasourcessuchasweatherobservers,balloonsandsatellites.Weatherstationstransmittheirdatatotheareacomputerinresponsetoarequestfromthatmachine.Theareacomputervalidatesthecollecteddataandintegratesitwiththedatafromdifferentsources.Theintegrateddataisarchivedand,
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 現(xiàn)代家教新思路實(shí)踐案例解析
- 遠(yuǎn)程教育在寵物行業(yè)人才培養(yǎng)中的應(yīng)用
- 風(fēng)險(xiǎn)導(dǎo)向下企業(yè)內(nèi)部財(cái)務(wù)控制的改進(jìn)措施研究
- 餐飲應(yīng)急預(yù)案
- 監(jiān)控施工方案范文(6篇)
- 二手機(jī)械銷(xiāo)售合同模板
- KTV裝修合同執(zhí)行管理制度范文
- 不銹鋼建筑材料加工合同
- 交通損害賠償合同示例
- 業(yè)務(wù)合作及分成合同書(shū)
- 2025年中國(guó)高價(jià)HPV疫苗行業(yè)競(jìng)爭(zhēng)格局分析及投資規(guī)劃研究報(bào)告
- 2025年春新北師大版物理八年級(jí)下冊(cè)課件 第七章 運(yùn)動(dòng)和力 第四節(jié) 同一直線(xiàn)上二力的合成
- 《肝硬化的臨床表現(xiàn)》課件
- 新增值稅法學(xué)習(xí)課件
- 飛書(shū)項(xiàng)目管理
- 醫(yī)院醫(yī)共體2025年度工作計(jì)劃
- 決戰(zhàn)朝鮮課件
- 《酶聯(lián)免疫分析技術(shù)》課件
- 鮮棗貯藏技術(shù)規(guī)程
- DB23T 3838-2024商貿(mào)行業(yè)有限空間個(gè)體防護(hù)裝備配備規(guī)范
- 2024年循環(huán)水操作工(中級(jí))職業(yè)鑒定理論考試題庫(kù)((含答案))
評(píng)論
0/150
提交評(píng)論