大連交通大學(xué)-軟件工程期末考試(第一套A卷)_第1頁
大連交通大學(xué)-軟件工程期末考試(第一套A卷)_第2頁
大連交通大學(xué)-軟件工程期末考試(第一套A卷)_第3頁
大連交通大學(xué)-軟件工程期末考試(第一套A卷)_第4頁
大連交通大學(xué)-軟件工程期末考試(第一套A卷)_第5頁
已閱讀5頁,還剩10頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

教研室主任〔簽字〕學(xué)院院長〔系主任〕〔簽字〕大連交通大學(xué)試卷2007~2023學(xué)年第1學(xué)期課程Softwareengineering(軟件工程)(A卷)〔2004年級〕課程性質(zhì)〔□必修□專業(yè)限選□任選〕考試方式〔□閉卷□開卷〕得分一、Foreachquestion,therearefourchoicesmarkedA,B,C,D,choosethebestanswer.(each1point,total30point).1、Theaimofsoftwareengineeringistoproducesoftwarethatis:A.deliveredontimeB.deliveredwithinbudgetC.satisfiesusers'needsD.alloftheabove2、Moretimeandmoneyisspentinthe___________phasethananyotherphase.A.requirementsB.specificationC.maintenanceD.implementationandintegration3、Duringwhichphaseofthesoftwareprojectmanagementlifecycleshouldtestingoccur?A.integrationB.implementationC.maintenanceD.testingoccursduringeachphase.4、Inwhichofthefollowingcircumstancesmightthewaterfallsoftwarelife-cyclemodelbeanappropriateonetouse?A.large-scale,in-houseproductsB.forproductsutilizinganopenarchitectureandcomplexuser-interfaceC.largedocument-drivenprojectsrequiringadisciplinedapproachD.shortprogramsthatwillnotneedmaintenance5、AdisadvantageoftheIncrementalmodelisthat:A.clientsarenotbilleduntilthelastbuildiscompleted.B.themodelcaneasilydegenerateintothe'build-and-fix'approach.C.itisnoteasytoaccommodatechangesthatoccurduetoexternal(competitive,socialandregulatory)forces.D.Allofthesearedisadvantagesoftheincrementalmodel.6、Acommonfeature(s)ofobject-orientedlifecyclemodelsis/are:A.iterationB.parallelismC.incrementaldevelopmentD.alloftheabove7、Thedemocraticteamapproachisalsoknownas:A.theclean-roomapproachB.egolessprogrammingC.bottom-upimplementationD.synchronize-and-stabilizeteams題號一二三四五六七八九總分得分8、Intheclassicalchiefprogrammerteamapproach,theteammemberresponsibleforblackboxtestcasegenerationis:A.thechiefprogrammerB.theback-upprogrammerC.programmerD.theprogrammingsecretary9、Stepwiserefinementisaproblemsolvingtechniquethatunderliesmanysoftwareengineeringtechniques.Itcanbedefinedasameansto:A.specifytheproduct'sdesignupfrontinordertominimizeintegrationproblemsduringlaterphasesB.postponedecisionsondetailsuntilaslateaspossibleinordertobeabletoconcentrateontheimportantissuesC.decomposetheproblemintopiecesofequalimportanceD.reviewtheproject'sdeliverablessuchasspecificationdocumentsandcodebysteppingthroughthemduringreviewmeetings10、Atoolthatcanautomaticallymanagemultipleversionsisa(n):A.upperCASEtoolB.compilerC.configurationmanagementtoolD.structureeditor11、Insoftwareengineeringthetermqualityimplies:A.excellenceB.theextenttowhichtheproductsatisfiesitsspecificationC.therehavebeennofatalorotherwisecatastrophicconsequencesofitsoperationD.thatcomprehensivetestinghasnotrevealedthepresenceofanybugs12、WhyshouldtheSQAgroupbekeptunderseparatemanagementfromthedevelopmentteam(s)?A.toincreasetheemploymentprospectsoftheanalysts.B.todecreasethecostofmanaginglargeteamsC.tofacilitatetheprincipleofinformationhidingthatiscrucialtoobject-orientedsystemsD、duetoconflictsthatmayariseasproductiondeadlinesapproachwhilsttheproductstillhasseriousfaults.13、Thetwomaindesignstrategiesareknownasfunctionaldesignandobject-orientateddesign.Whichofthefollowingstatementsisfalse?A.Inanobject-orientateddesignthesystemstateisdecentralizedandeachobjectmanagesitsownstateinformation.B.Infunctionaldesignthesystemstateiscentralizedandstateinformationisaccessedbydifferentfunctions.C.themostappropriatedesignstrategyisselectedforeachstageofdesign,thereisnoneedtoadheretoasingleapproachduringthewholedesignprocess.D.thesamedesignapproachmustbeusedinthedesignofdifferentsystemcomponentstoensureconsistency,especiallyforlargesoftwaresystems.考生注意:考試時(shí)間120分鐘試卷總分100分共5頁第1頁專業(yè)班級裝訂裝訂線姓名14、Adesignissaidtobeagooddesignifthecomponentsare:A.StronglycoupledandWeaklycohesiveB.StronglycoupledandstronglycohesiveC.StronglycohesiveandweaklycoupledD.Weaklycohesiveandweaklycoupled15、Whatis/arethemajordisadvantage(s)ofbasingtherequirementspecificationonaprototypemodel?A.Therapidprototypecannotstandasalegalstatementofacontractbetweenadeveloperandaclient.B.Creatingaworkingprototypetakesmoretimeandeffortthanformulatingwrittenspecifications.C.Theusersarenotabletounderstandthemtothesameextentthattheyareabletocomprehendwrittenspecifications.D.allofthesearedisadvantages16、Usingthestructuredsystemsapproachforspecificationanddesigntheemphasisison:A.Real-TimesystemsB.actionsC.dataD.objects17、Usingstructuredsystemsanalysis,thelogicoftheprocessesisdevelopedbyA.definingthedatastoresanddataflowsB.datamodelingC.processdecompositionD.decisiontrees18、Duringdetaileddesign___________and___________arespecified.A.algorithms,datastructuresB.modules,interconnectionsC.subsystems,interfacesD.architecture,humancomputerinteractions(HCI)19、TheunderliningtechniqueinDataFlowAnalysisis:A.generalizationB.specializationC.stepwiserefinementD.encapsulation20、InOODhowcanyoudecidewheretolocateanaction?A.byassigningittoaclassortoaclient(i.e.programunit)thatsendsamessagetoanobjectofthatclassB.onthebasisofinformationhiding.i.e.actionsperformedonstatevariablesshouldbelocaltothatclassC.byusingresponsibility-drivendesignD.byanyofthesethreemethods21、WhichUMLdiagrambestemphasizesthechronologicalorderofmessages?A.classdiagramB.sequencediagramC.collaborationdiagramD.usecase22、AsaruleofthumbIFstatementsshouldnotbenestedtoadepthgreaterthan:A.1B.2C.323、Blackboxtestingisbasedonthe:A.designdocumentB.specificationdocumentD.SoftwareProjectManagementPlan(SPMP)E.allofthese24、Asuccessfultestcaseisonethat:A.detectsanalreadyidentifiedfault.B.detectsapreviouslyundetectedfault.C.runswithoutafaultbeingdetected.D.exhaustivelytestseverypaththroughamodule.25、Howmanytestcasesshouldbepreparedforeachsetwhenitisspecifiedthatanitemmustbelongtoagivensetinthespecifications?A.1B.2C.326、Anumberofstudieshavecomparedstrategiesformoduletesting.Whichofthefollowingstatementsontheirrelativemeritsisfalse?A.codeinspectionisatleastaseffectiveatdetectingfaultsasglass-boxandblack-boxtesting.B.professionalprogrammersdetectedmorefaultswithcodereadingthanblack-boxandglass-boxtesting,andthefaultdetectionratewashigher.C.codereadingleadtothedetectionofmoreinterfacefaults.D.codewalkthroughsprovedtobetheleastcost-effectivemethod.27、Anadvantageoftop-downimplementationandintegrationis:A.itiseasytodeterminewherethefaultlieswhenanewmoduleisaddedB.majordesignflawsshowupearlywhenthelogicmodulesarecodedandtestedC.operationalmodulesareimplementedaftertheirancestorlogicmodulesD.noneofthese.28、Integrationtestingshouldberunbythe:A.SQAgroupB.programmerswhodevelopedthemodulesC.analystswhospecifiedthemodules'functionalityD.clients29、Duringwhichphaseofthesoftwarelifecycledoyoufirstconsidermaintenance?A.implementationB.testingC.maintenanceD.fromtheverybeginning30、Oftenthebestwayofdealingwithproblemsinvolvingthe(software)productthatarenotemergenciesisto:A.fixthemB.findawork-roundC.assignthemtotheleastexperiencedprogrammersD.blamesomeoneelse共5頁第2頁專業(yè)班級裝訂裝訂線姓名得分二、Fillintheblank〔eachblank1point,total10point〕1.Onesimplewayoflookingatthespiralsoftwarelife-cyclemodelisasawaterfallmodelwitheachphaseproceededby2.ACASEdevicethatprovidessupportforoneortwoactivitieswithinthesoftwaredevelopmentprocessisreferredtoasa(n)3.Anewversionofafaultymoduleisa(n)4.istheextenttowhichtheproductmeetsitsconstraintswithregardtoresponsetimeorspacerequirements.5.Ifadatastructureispassedasanargument,butthecalledmoduleoperatesononlysomeoftheindividualcomponentsofthatdatastructurethentheyaresaidtobecoupled.6.CRCstandsforClassResponsibility.7.Attheendofthephasetestcasescanstarttobedrawnup.8.Whenachangeismadetoaproducttoreacttochangesintheenvironment,thisisanexampleofmaintenance.9.Ifamaintenanceprogrammerlocatesafaultandchangesit,sointroducinganotherfaultintheproduct,thenthisistermedafault.10.Theprocessofstartingwiththesourcecodeandrecreatingthedesigndocumentsoreventhespecificationsisknownas三、Answerthefollowingquestion.(total45point)1、Explainthefollowingnoun.(each3point,total15point)(1)SoftwareEngineering(2)Cost-benefitAnalysis(3)Cohesion(4)Dataencapsulation(5)Reuse2、Drawthewaterfallmodelanddescribeitsstrengthsandweaknesses.(6point)共5頁第3頁專業(yè)班級裝訂裝訂線姓名.3、Listthedocumentationthatshouldbeproducedduringeachphaseofthesoftwarelifecycle.(7point)4、Whatisthestructureofclassicalchiefprogrammerteamandwhatarethetwokeycharactersofchiefprogrammerteam?(7points)5、Whatisthesimilarityanddifferencebetweenwalkthroughandinspection?(5points)6、Determinethecohesionofthefollowingmodules,andexplainyourreasoninbrief:〔5points〕=1\*GB3①Readpartnumberfromdatabaseandupdaterepairrecordonmaintenancefile.=2\*GB3②Calculatenewtrajectory(彈道)andsendittotheprinter.=3\*GB3③Gettemperatureoffurnace.=4\*GB3④Openoldmasterfile,newmasterfile,transactionfile,andprintfile.=5\*GB3⑤printnextline,reversethestringofcharacterscomprisingthethirdargument.共5頁第4頁專業(yè)班級裝訂裝訂線姓名得分四、Designproblems(total15point)1、Accordingtotheruleoftheairplanecompany,passengerscanhaveluggageweightedlessorequalto35kgcheckedforfree.Theheavyliftadditional(超重附加費(fèi))is6¥/Kgfordomesticfirstclasspassengers(國內(nèi)頭等艙乘客)and8¥/Kgforotherdomesticpassengers.Theheavyliftadditionalfortheforeignpassengersisdoublewhatitisforthedomesticpassengers.Theheavyliftadditionalforthedisabledishalfofthatforthenormalpassengers.Pleasedrawthedecisiontreeforthecarriagecomputation.(7points)2、Aproductistobeinstalledtocontrolnelevatorsinabuildingwithmfloors.Theproblemconcernthelogicrequiredtomoveelevatorsbetweenfloorsaccordingtothefollowingconstrains:1)Eachelevatorhasasetofmbuttons,oneforeachfloor.Theseilluminatewhenpressedandcausetheelevatortovisitthecorrespondingfloor.Theilluminationiscanceledwhenthecorrespondingfloorisvisitedbytheelevator.2)Eachfloor,exceptthefirstfloorandthetopfloor,hastwobuttons,onetorequestanup-elevatorandonetorequestadown-elevator.Thesebuttonsilluminatewhenpressed.Theilluminationiscanceledwhenanelevatorvisitsthefloorandthenmovesinthedesireddirection.3)Whenanelevatorhasnorequest,itremainsatitscurrentfloorwithitsdoorsclosed.AssumethatyouareintheObjectOrientedAnalysisphase,pleasedrawtheuse-casediagramandclassdiagramforthisproduct.(8points)共5頁第5頁2007-2023_1SoftwareengineeringKeyAnswers(PaperA)一、Foreachquestion,therearefourchoicesmarkedA,B,C,D,choosethebestanswer.(each1point,total30point).1.D2.C3.D4.C5.B6.D7.B8.B9.B10.C11.B12.D13.D14.C15.A16.B17.D18.A19.C20.D21.B22.C23.B24.B25.B26.A27.B28.A29.D30.B評分標(biāo)準(zhǔn):選對給1分,選錯(cuò)給0分。二、Fillintheblank〔eachblank1point,total10point〕1.riskanalysis2.workbench3.revision4.Performance5.stamp6.Collaboration7.specification8.adaptive9.regression10.reverseengineering評分標(biāo)準(zhǔn):完全填對給1分;僅有1處拼寫錯(cuò)誤的不扣分,拼寫錯(cuò)誤累計(jì)2個(gè)扣1分;有3處拼寫錯(cuò)誤的扣1分,拼寫錯(cuò)誤累計(jì)4個(gè)扣2分。單詞拼寫錯(cuò)誤十分嚴(yán)重,無法猜想其拼寫意圖的不給分。三、Answerthefollowingquestion.(total45point)1.(15point)(1)SoftwareEngineering:SoftwareEngineeringisadisciplinewhoseaimistoproducefault-freesoftware,todeliversoftwareontimeandwithinbudgetandtosatisfytheclients’requirements.(2)Cost-benefitAnalysis:Abasicprincipleunderlyingmanysoftwareengineeringtechniquestocompareestimatedfuturebenefitsandcosts.(3)Cohesion:Degreeofinteractionwithinamodule.(4)Dataencapsulation:Datastructuretogetherwiththeoperationsonit.(5)Reuse:Usecomponentsofoneproducttosimplifythedevelopmentofanotherproductthathasdifferentfunctions.評分標(biāo)準(zhǔn):允許用自己的語言表述名詞的意思,根據(jù)答復(fù)情況酌情給分。2.(6point)Advantages:Disciplinedapproach;Document-drivenDisadvantages:Deliveredproductmaynotmeetclient’sneeds評分標(biāo)準(zhǔn):畫出瀑布模型圖給4分,根據(jù)繪圖完整情況酌情扣分。瀑布模型的優(yōu)缺點(diǎn)各占1分。3.(7point)Requirementsphase:recordofdiscussionswithclient;documentstatingclient’sneedsand/orarapidprototype.Specificationphase:specificationdocument;softwareprojectmanagementplan.Designphase:architecturaldesign;detaileddesignofeachmodule.Implementationphase:sourcecode;commentsinthesourcecode;testcasesforeachmodule.Integrationphase:commentedsourcecodeofproductasawhole;testcasesforproductasawhole;usermanual,operatormanual,othermanuals.Maintenancephase:recordofchangesmade,withreasons;regressiontestcases;modifieddocumentationfrompreviousphases.Retirementphase:whyitwasretired,when,andbywhom.評分標(biāo)準(zhǔn):每列出一個(gè)階段的文檔得1分,只列出7個(gè)階段,而沒有列出文檔情況得2分,其他情況酌情扣分。4.(7points)〔5分〕Twokeyaspects:SpecializationandHierarchy〔2分〕評分標(biāo)準(zhǔn):列出主程序員結(jié)構(gòu)得5分,每列出1種特點(diǎn)得1分,如果只列出了主程序員的成員,而沒有列出之間的關(guān)系,扣1分。其他情況酌情扣分。5.(5points)Botharereviewprocessesperformedbyteamswiththeaimoffindingfaults.Inbothcasesthematerialisstudiedbyindividualteammembers,andthenthematerialisreviewedbytheteamas

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論