大连交通大学-软件工程期末考试(第一套A卷)_第1页
大连交通大学-软件工程期末考试(第一套A卷)_第2页
大连交通大学-软件工程期末考试(第一套A卷)_第3页
大连交通大学-软件工程期末考试(第一套A卷)_第4页
大连交通大学-软件工程期末考试(第一套A卷)_第5页
已阅读5页,还剩10页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

教研室主任〔签字〕学院院长〔系主任〕〔签字〕大连交通大学试卷2007~2023学年第1学期课程Softwareengineering(软件工程)(A卷)〔2004年级〕课程性质〔□必修□专业限选□任选〕考试方式〔□闭卷□开卷〕得分一、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.考生注意:考试时间120分钟试卷总分100分共5页第1页专业班级装订装订线姓名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页专业班级装订装订线姓名得分二、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页专业班级装订装订线姓名.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页专业班级装订装订线姓名得分四、Designproblems(total15point)1、Accordingtotheruleoftheairplanecompany,passengerscanhaveluggageweightedlessorequalto35kgcheckedforfree.Theheavyliftadditional(超重附加费)is6¥/Kgfordomesticfirstclasspassengers(国内头等舱乘客)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评分标准:选对给1分,选错给0分。二、Fillintheblank〔eachblank1point,total10point〕1.riskanalysis2.workbench3.revision4.Performance5.stamp6.Collaboration7.specification8.adaptive9.regression10.reverseengineering评分标准:完全填对给1分;仅有1处拼写错误的不扣分,拼写错误累计2个扣1分;有3处拼写错误的扣1分,拼写错误累计4个扣2分。单词拼写错误十分严重,无法猜想其拼写意图的不给分。三、Answerthefollowingquestion.(total45point)1.(15point)(1)SoftwareEngineering:SoftwareEngineeringisadisciplinewhoseaimistoproducefault-freesoftware,todeliversoftwareontimeandwithinbudgetandtosatisfytheclients’requirements.(2)Cost-benefitAnalysis:Abasicprincipleunderlyingmanysoftwareengineeringtechniquestocompareestimatedfuturebenefitsandcosts.(3)Cohesion:Degreeofinteractionwithinamodule.(4)Dataencapsulation:Datastructuretogetherwiththeoperationsonit.(5)Reuse:Usecomponentsofoneproducttosimplifythedevelopmentofanotherproductthathasdifferentfunctions.评分标准:允许用自己的语言表述名词的意思,根据答复情况酌情给分。2.(6point)Advantages:Disciplinedapproach;Document-drivenDisadvantages:Deliveredproductmaynotmeetclient’sneeds评分标准:画出瀑布模型图给4分,根据绘图完整情况酌情扣分。瀑布模型的优缺点各占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.评分标准:每列出一个阶段的文档得1分,只列出7个阶段,而没有列出文档情况得2分,其他情况酌情扣分。4.(7points)〔5分〕Twokeyaspects:SpecializationandHierarchy〔2分〕评分标准:列出主程序员结构得5分,每列出1种特点得1分,如果只列出了主程序员的成员,而没有列出之间的关系,扣1分。其他情况酌情扣分。5.(5points)Botharereviewprocessesperformedbyteamswiththeaimoffindingfaults.Inbothcasesthematerialisstudiedbyindividualteammembers,andthenthematerialisreviewedbytheteamas

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论