版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
MOOC软件工程-东北大学中国大学慕课答案1.1软件的概念随堂测验1、问题:Softwaredoesn'tinclude_____.选项:A、dataB、CPUC、manualD、contract正确答案:【CPU】2、问题:WhichofthefollowingstatementaboutsoftwareisNOTtrue?选项:A、Softwareisabstract.B、Softwareisportable.C、Softwarewearsout.D、Softwareislogicalentity.正确答案:【Softwarewearsout.】3、问题:Whichofthefollowingstatementsaboutsoftwarecharacteristicsistrue?选项:A、Softwarecanhavemultiplecopies.Softwarecanhavemultiplecopies.-正确B、Softwareisakindofconcretephysicalentity.C、Thefaultsinasoftwaresystemcomefromwearingout.D、Softwareissomethingmysteriousmasteredbysomegeniuses.正确答案:【Softwarecanhavemultiplecopies.Softwarecanhavemultiplecopies.-正确】1.3软件工程职业道德和从业规范随堂测试1、问题:Whichofthefollowingisnotasoftwareengineeringcodeofethics?选项:A、Softwareengineersshallbefairtoandsupportiveoftheircolleagues.B、Softwareengineersshallparticipateinlifelonglearningregardingthepracticeoftheirprofessionandshallpromoteanethicalapproachtothepracticeoftheprofession.C、Softwareengineersshalladvancetheintegrityandreputationoftheprofessionconsistentwiththepublicinterest.D、Softwareengineersshallmaintaindependenceintheirprofessionaljudgment.正确答案:【Softwareengineersshallmaintaindependenceintheirprofessionaljudgment.】第一章单元测试1、问题:Whichofthefollowingistrueaboutthepossibleeffectofaddingnewprogrammerstoasoftwareproject?__关于增加新程序员到软件项目的可能效果,下列哪个是正确的?__选项:A、Productionwillgenerallybespedupbecausenewprogrammersgenerallybringbrightnewimplementationideastoaproject.B、Productionwillgenerallybesloweddownbecauseoftheneedfortrainingandadditionalcoordination.C、Productionwillgenerallybespedupbecauseprogrammersaregenerallymostproductivewhentheyfirststartonaproject.D、Productionwillgenerallybespedupbecauseofthedecreaseinpressureontheprogrammersalreadyworkingontheproject.正确答案:【Productionwillgenerallybesloweddownbecauseoftheneedfortrainingandadditionalcoordination.】2、问题:Whichofthefollowingstatementsaboutcomputerscienceandsoftwareengineeringiscorrect?______关于计算机科学和软件工程的以下语句哪个是正确的?______选项:A、Computerscientistsandsoftwareengineerscareaboutthesamething.B、Softwareengineersalwaystrytofindallkindsofsolutionsforthetargetsoftwaresystem.C、Computerscientists'jobistofindthemostsuitablesolutionforsoftwaresystem.D、TherelationshipbetweenComputerScienceandSoftwareEngineeringisjustliketheonebetweenChemistryandChemicalEngineering.正确答案:【TherelationshipbetweenComputerScienceandSoftwareEngineeringisjustliketheonebetweenChemistryandChemicalEngineering.】3、问题:Whichofthefollowingstatementsisnotcorrect?_______以下哪个语句是不正确的?_______选项:A、Clientistheindividualororganizationthatwantsaproducttobedeveloped.B、Developersarethemembersoftheorganizationresponsibleforbuildingthatproduct.C、Useristhepersonorpersonsonwhosebehalftheclienthascommissionedtheproductandwhowillutilizethesoftware.D、Theclient,developerandusercannotbethesamepersonorthesameorganization.正确答案:【Theclient,developerandusercannotbethesamepersonorthesameorganization.】4、问题:Whichofthefollowingstatementsaboutsoftwareistrue?__________以下哪个语是正确的?_______选项:A、Softwareistransplantable.B、Softwareisakindofconcretephysicalentity.C、Thefaultsinasoftwaresystemcomefromwearingout.D、Softwareissomethingmysteriousmasteredbysomegeniuses.正确答案:【Softwareistransplantable.】5、问题:Whichofthefollowingstatementsaboutethicalissuesisnotcorrect?___________关于伦理问题的以下哪些语句是不正确的?___________选项:A、Mostsocietiesforprofessionalshaveacodeofethicstowhichallitsmembersmustadhere.B、Ifthesoftwareengineersactinthebestinterestsoftheirclientandemployer,hewon'tbeabletoactconsistentlywiththepublicinterest.C、Softwareproductsaredevelopedandmaintainedbyhumans.Ifthoseindividualsarehardworking,intelligent,sensible,uptodataandaboveall,ethical,thenthechancesaregoodthatthewaythatthesoftwareproductstheydevelopandmaintainwillbesatisfactory.D、Thetwomajorsocietiesforcomputerprofessionals,theAssociationforComputingMachinery(ACM)andtheComputerSocietyoftheInstituteofElectricalandElectronicsEngineers(IEEE-CS)jointlyapproveaSoftwareEngineeringCodeofEthicsandProfessionalPracticeasthestandardforteachingandpracticingsoftwareengineering.正确答案:【Ifthesoftwareengineersactinthebestinterestsoftheirclientandemployer,hewon'tbeabletoactconsistentlywiththepublicinterest.】6、问题:Whichofthefollowingisnotsoftware?___________以下哪项不是软件?___________选项:A、testingplanB、usersC、contractD、requirementsdocuments正确答案:【users】7、问题:Whichofthefollowingistrue?____________以下哪项是正确的?___________选项:A、Aclasscanbetakenasamodule.B、Businessrequirementsistheeasiesttaskduringsoftwarelifecycle,becausenodesignandcodingoccurduringthephase.C、Hardwarewearsout.Sodoessoftware.Thatiswhysoftwareneedsmaintenance.D、Thetaskofrequirementsworkflowistocollectanddeterminewhatclientreallywants.正确答案:【Aclasscanbetakenasamodule.】8、问题:___________isadisciplinewhoseaimistheproductionoffault-freesoftware,deliveredontimeandwithinbudget,thatsatisfiestheclient'sneeds.___________是一个学科,其目标是生产无故障的软件,按时,在预算内交付,满足客户的需求。选项:A、SoftwareengineeringB、SoftwareprocessC、SoftwareD、Softwaretesting正确答案:【Softwareengineering】9、问题:Whichofthefollowingstatementsaboutsoftwarecharacteristicsistrue?_________关于软件特性的描述哪项是对的?_________选项:A、Thefaultsinasoftwaresystemcomefromwearingout.B、Softwareissomethingmysteriouscontrolledbysomegeniuses.C、Softwareistransplantable.D、Softwareisakindofconcretephysicalentity.正确答案:【Softwareistransplantable.】10、问题:Whichofthefollowingisnotasoftwareengineeringcodeofethics?______以下哪项不是软件工程的道德规范?_____选项:A、Softwareengineersshalladvancetheintegrityandreputationoftheprofessionconsistentwiththepublicinterest.B、Softwareengineersshallparticipateinlifelonglearningregardingthepracticeoftheirprofessionandshallpromoteanethicalapproachtothepracticeoftheprofession.C、Softwareengineersshallmaintaindependenceintheirprofessionaljudgment.D、Softwareengineersshallbefairtoandsupportiveoftheircolleagues.正确答案:【Softwareengineersshallmaintaindependenceintheirprofessionaljudgment.】11、问题:Softwareengineersshallactconsistentlywiththe_______interest.软件工程师应按照和_______的利益一致行事。选项:A、publicB、friendsC、governmentD、family正确答案:【public】12、问题:Whichofthefollowingisnotsoftware?__________以下哪项不是软件?__________选项:A、ComputergameB、PowerPointC、USBD、SoftwareProjectManagementPlan正确答案:【USB】2.1软件过程随堂测试1、问题:Theseriesofphasesthatsoftwareundergoes,fromconceptexplorationtofinalretirement,istermedits_______.选项:A、processorlifecycleprocessorlifecycle-正确B、paradigmC、logicD、business正确答案:【processorlifecycleprocessorlifecycle-正确】2、问题:Whichofthefollowingshouldbetreatedasaseparateworkflowofsoftwareprocess?选项:A、TestingB、ProjectPlanningC、RequirementsD、Documenting正确答案:【Requirements】2.2软件测试随堂测试1、问题:Softwaretestingis_______.选项:A、constructiveB、destructiveC、toprovethereisnofaultsinthesoftwaresystemD、tocoverfaultsinthesoftwaresystem正确答案:【destructive】2、问题:______istocheckregressionfaults.选项:A、DebuggingB、MaintenanceC、RegressiontestingD、Acceptancetesting正确答案:【Regressiontesting】第二章单元测试1、问题:Whichofthefollowingstatementsaboutsoftwarelifecycleistrue?___________关于软件生命周期的描述以下哪项是对的?___________选项:A、Softwarelifecycleistherepetitivenatureofsoftwaretesting.B、Everysoftwaresystemhasitslifecycle.C、Softwarelifecycleistheperiodoftimethatasoftwareproductisinservice.D、Softwarelifecycleisthecyclingthroughphasesofspecification,design,implementation,andtesting.正确答案:【Everysoftwaresystemhasitslifecycle.】2、问题:Theseriesofphasesthatsoftwareundergoes,fromconceptexplorationtofinalretirement,istermedits______.软件经历的系列阶段,从概念探索到最终退役,被称为其______。选项:A、lifecycleorprocessB、paradigmC、logicD、business正确答案:【lifecycleorprocess】3、问题:Whichofthefollowingstatementsistrue?_________下列哪项是正确的?_________选项:A、Ifanewcodingtechniquewillreducecodingtime,developingteamshouldsurelyadoptittodevelopprojects,whichwillsavetimeandcostversustheoldcodingtechnique.B、Agoodcodingtechniquecannotsurelyspeedupthewholesoftwaredevelopment.C、Addingmorepeopletoaprojectthatisalreadybehindscheduleisagoodwaytocatchup.D、Goodsoftwaresystemsdonotneedmaintenance.正确答案:【Agoodcodingtechniquecannotsurelyspeedupthewholesoftwaredevelopment.】4、问题:Whichofthefollowingshouldbetreatedasaseparatephaseofsoftwarelifecycle?______下列哪一个应该被视为软件生命周期的单独阶段?______选项:A、TestingB、ProjectPlanningC、ImplementationandintegrationD、Documenting正确答案:【Implementationandintegration】5、问题:Whichofthefollowingstatementsisnottrue?__________以下哪个语句是不正确的?__________选项:A、Itisquitecommonthatrequirementsalwayschange,whichmakesbigtroublefordevelopmentorganization.B、Usersalwayswelcomethecompletedsoftwaresystem.C、Sometimes,theclientsdonotknowwhattheyreallyneed.D、Somegoodsoftwareorganizationscanforecasttherequirementsofthepotentialusers,sotheycanleadclientsandusers.正确答案:【Usersalwayswelcomethecompletedsoftwaresystem.】6、问题:Whichofthefollowingstatementsisnotcorrect?________以下哪个语句是不正确的?__________选项:A、Ifallthedevelopersareprofessionalenough,managementwon'tbeneeded.B、Thesoftwaredevelopmentisnotthemysterioustechniqueofacertainindividuallabor,butshouldbetheengineeringofanorganizationofallkindsofpeople.C、Asoftwaredevelopmentteamshouldincludekindsofpeople.D、Softwareprojectdevelopmentisateamwork.正确答案:【Ifallthedevelopersareprofessionalenough,managementwon'tbeneeded.】7、问题:Inwhichofthefollowingphasesofsoftwaredevelopmentisitthecheapesttofixafault?_______在软件开发的以下哪个阶段解决故障最廉价?_______选项:A、TheintegrationphaseB、ThedesignphaseC、TheimplementationphaseD、Themaintenancephase正确答案:【Thedesignphase】8、问题:Whichofthefollowingstatementsistrue?_______以下哪个语句是正确的?__________选项:A、Softwarecompanycanalwaysmakemoremoneyfromsoftwaredevelopmentthanfrommainteannce.B、Asoftwaresystemgoesthroughitslifecycle,likeahumanbeinggoesthroughhis/herbirthtodeath.C、Softwarecompanycanmakenoorlittlemoneyfromsoftwaremaintenance.D、Softwaredevelopmentismoreimportantthanmaintenance.正确答案:【Asoftwaresystemgoesthroughitslifecycle,likeahumanbeinggoesthroughhis/herbirthtodeath.】9、问题:Inspectionandwalkthrougharetwotypesof_________.审查和走查是两种类型的_________。选项:A、maintenanceB、designC、non-execution-basedtestingD、execution-basedtesting正确答案:【non-execution-basedtesting】10、问题:Softwaretestingaimsto______.软件测试旨在______。选项:A、coverthefaultsinthesoftwaresystemB、provethesoftwareisrightC、testthecodeonlyD、findasmanyfaultsaspossibleinthesoftwaresystem正确答案:【findasmanyfaultsaspossibleinthesoftwaresystem】11、问题:Softwaretesting___________.软件测试______。选项:A、istotestexecutablecode.B、isjusttoreadcode.C、isaphasefollowingimplementationphase.D、includesexecution-basedtestingandnon-executionbasedtesting.正确答案:【includesexecution-basedtestingandnon-executionbasedtesting.】12、问题:Softwaretestingis_______.软件测试是______。选项:A、constructiveB、destructiveC、toprovethereisnofaultsinthesoftwaresystem.D、aphasefollowingimplementation.正确答案:【destructive】13、问题:______istocheckregressionfaults.______是检查回归错误。选项:A、DebuggingB、MaintenanceC、RegressiontestingD、Acceptancetesting正确答案:【Regressiontesting】14、问题:Supposethatthemaintenanceprogrammerhaslocatedafaultandmustfixitwithoutinadvertentlyintroducinganotherfaultelsewhereintheproduct,thatis,a________.假设维护程序员已经找到故障并且必须修复它,而不会无意中在产品的其他地方引入另一个故障,即________。选项:A、mistakeB、bugC、regressionfaultD、error正确答案:【regressionfault】3.1什么是需求随堂测试1、问题:Itisquitecommonthatrequirementsalwayschange,whichmakesbigtroubleforthedevelopmentorganizations.选项:A、正确B、错误正确答案:【正确】2、问题:Usersalwayswelcomethetargetsoftwaresystem.选项:A、正确B、错误正确答案:【错误】3、问题:Sometimes,theclientsdonotknowwhattheyreallyneed.选项:A、正确B、错误正确答案:【正确】4、问题:Somegoodsoftwareorganizationscanforecasttherequirementsofthepotentialusers,sotheycanleadtheclientsandusers.选项:A、正确B、错误正确答案:【正确】3.2获取需求随堂测试1、问题:Itisalwaysaneasyjobfortheuserstodescribewhattheyneedorwant,becausetheyareveryfamiliarwiththeirownbusiness.选项:A、正确B、错误正确答案:【错误】2、问题:Developerscanuseonlyonewayormethodforeachrequirementscapturing.选项:A、正确B、错误正确答案:【错误】第三章单元测试1、问题:Whichofthefollowingstatementsisnotcorrect?以下哪个语句是不正确的?__________选项:A、Requirementsphaseisthefirstphaseofsoftwarelifecycle.B、Todeterminerequirementsiseasybecausenocodingisneeded.C、Therearemanymethodsthatcanbehelpfulforrequirementscollecting.D、Requirementsdeterminethesuccessofthetargetsystemfundamentally.正确答案:【Todeterminerequirementsiseasybecausenocodingisneeded.】2、问题:Therapidprototypingmodelofsoftwaredevelopmentis________.软件开发的快速原型模型是________。选项:A、thebestapproachtouseforprojectswithlargedevelopmentteamsB、ausefulapproachwhenacustomercannotdefinerequirementsclearlyC、areasonableapproachwhenrequirementsarewelldefinedD、ariskymodelthatrarelyproducesameaningfulproduct正确答案:【ausefulapproachwhenacustomercannotdefinerequirementsclearly】3、问题:Requirementsworkflowisto_______.需求工作流程旨在_______。选项:A、determinewhatclientsanduserswantB、checkwhatclientsandusersthinkC、determinewhatclientsandusersneedD、determinefutureusers正确答案:【determinewhatclientsandusersneed】4、问题:Requirementsarenotthe______ofasoftwaresystem.需求不是软件系统的______。选项:A、sourceB、rootC、basicD、solution正确答案:【solution】5、问题:Whichofthefollowingstatementsisnotcorrect?_____以下哪个语句是不正确的?_____选项:A、Developersarethemembersoftheorganizationresponsibleforbuildingthatproduct.B、Clientistheindividualororganizationthatwantsaproducttobedeveloped.C、Useristhepersonorpersonsonwhosebehalftheclienthascommissionedtheproductandwhowillutilizethesoftware.D、Theclient,developerandusercannotbethesamepersonororganization.正确答案:【Theclient,developerandusercannotbethesamepersonororganization.】6、问题:Whichofthefollowingistrue?_______以下哪个是对的?_______选项:A、Whatclientwantsshouldbecollectedanddeterminedduringrequirementsphase.B、Tocollectanddeterminebusinessrequirementsneedsdomainknowledge.C、Interviewingistheonlywaytocollectbusinessrequirements.D、Todeterminebusinessrequirementsistheeasiesttaskduringsoftwarelifecycle,becausenodesignandcodingoccurduringthephase.正确答案:【Tocollectanddeterminebusinessrequirementsneedsdomainknowledge.】4.1内聚随堂测试1、问题:Whichofthefollowingcannotbetakenasamodule?选项:A、functionB、classC、methodD、collection正确答案:【collection】4.2耦合随堂测试1、问题:Twomodulesare_____coupledifonepassesanelementofcontroltotheother.选项:A、controlB、stampC、dataD、logical正确答案:【control】4.3数据封装与信息隐藏随堂测试1、问题:Whichofthefollowingstatementsisnotcorrect?选项:A、Informationhidingcanbeusedtoobviatecommoncoupling.B、Aclassisanabstractdatatype.C、Anabstractdatatypeisjustaclass.D、Abstractdatatypesupportsbothdataabstractionandproceduralabstraction.正确答案:【Anabstractdatatypeisjustaclass.】4.4类的继承随堂测试1、问题:Whichofthefollowingstatementsistrue?选项:A、AnarmisapartofaHumanBeing,soitisasubclassofclassHumanBeing.B、CourseSoftwareEngineeringisasubclassofclassCourse.C、Inheritancebringsustroublesifitisnotadoptedproperly.Inheritancebringsustroublesifitisnotadoptedproperly.-正确D、Inheritanceshouldbeimplementedwithstructuralprogramminglanguages.正确答案:【Inheritancebringsustroublesifitisnotadoptedproperly.Inheritancebringsustroublesifitisnotadoptedproperly.-正确】4.6类的关联随堂测试1、问题:Everyclassshouldhaveamultiplicitytodescribearelationshipexcept_______.选项:A、inheritanceB、AggregationC、AssociationD、Composition正确答案:【inheritance】2、问题:Whichofthefollowingstatementsisnotcorrect?选项:A、HeadisapartofeGame-HumanBeing,sotheirrelationshipisassociation.B、Inalibrarymanagementsystem,therelationshipbetweenclassBorrowerandBookisborrows/returns.C、AssociationbetweentwoclassescannotbeimplementedwithextendsinJava.D、Associationshouldbedescribedwithadomain-relatedstrongverborverbphrase.正确答案:【HeadisapartofeGame-HumanBeing,sotheirrelationshipisassociation.】4.7多态与动态绑定随堂测试1、问题:WhichofthefollowingcannotbeawaytoimplementpolymorphisminJava?选项:A、OverloadingB、OverridingC、InterfaceD、Multithreading正确答案:【Multithreading】4.8OO范型随堂测试1、问题:WhichofthefollowingisnotaUMLdiagram?选项:A、UsercasediagramB、ClassdiagramC、ERdiagramD、Sequencediagram正确答案:【ERdiagram】第四章单元测试1、问题:Ingooddesign,modulesshouldhave________.在良好的设计中,模块应该有________。选项:A、highcouplingandlowcohesionB、lowcouplingandlowcohesionC、highcouplingandhighcohesionD、lowcouplingandhighcohesion正确答案:【lowcouplingandhighcohesion】2、问题:Amoduleis________cohesionifitsactionsshouldbeperformedinasametimeperiod.如果模块的动作应在相同的时间段内执行,则模块是________内聚。选项:A、temporalB、proceduralC、communicationalD、logic正确答案:【temporal】3、问题:A________isalexicallycontiguoussequenceofprogramstatements,boundedbyboundaryelements,withanaggregateidentifier.________是由边界元素限定的具有聚合标识符的程序语句的词法连续序列选项:A、systemB、documentC、projectD、module正确答案:【module】4、问题:Whichofthefollowingcannotbetakenasamodule?________以下哪项不能作为模块?________选项:A、collectionB、functionC、classD、method正确答案:【collection】5、问题:Whichofthefollowingstatementsaboutmoduleiswrong?_________关于模块的以下语句中哪个是错误的?________选项:A、Goodmoduledesignisimportantforthequalityofthewholesoftwaresystem.B、Moduledesignispartofsoftwaresystemdesign.C、Modulesarepartsofthewholesoftwaresystem.D、Anarrayinaprogramcanbetakenasamodule.正确答案:【Anarrayinaprogramcanbetakenasamodule.】6、问题:Twomodulesare________coupledifonepassesanelementofcontroltotheother.如果一个控制元素传递给另一个,两个模块是________耦合。选项:A、controlB、stampC、dataD、logical正确答案:【control】7、问题:Twomodulesare______coupledifadatastructureispassedasaparameter,butthecalledmoduleoperatesonsomebutnotalloftheindividualcomponentsofthedatastructure.如果将数据结构作为参数传递,但被调用模块对数据结构的一些但不是所有组件进行操作,则两个模块______耦合。选项:A、controlB、stampC、dataD、logical正确答案:【stamp】8、问题:Twomodulesare______coupledifonedirectlyreferencescontentsoftheother.如果一个直接引用另一个的内容,两个模块______耦合。选项:A、contentB、stampC、dataD、common正确答案:【content】9、问题:Twomodulesare________couplediftheyhavewriteaccesstoglobaldata.如果两个模块对全局数据具有写访问权限,则是________耦合。选项:A、contentB、stampC、dataD、common正确答案:【common】10、问题:Twomodulesare______coupledifallparametersarehomogeneousdataitems,simpleparameters,ordatastructuresallofwhoseelementsareusedbycalledmodule.如果所有参数都是同类数据项,简单参数或数据结构中所有的元素都由被调用的模块使用,则两个模块______耦合。选项:A、contentB、stampC、dataD、common正确答案:【data】11、问题:_____istoencapsulatetheattributesandoperationsinanobject,andhidestheinternaldetailsofanobjectaspossible._____是为了在一个对象中封装属性和操作,并尽可能隐藏对象的内部细节。选项:A、InheritanceB、PolymorphismC、DataencapsulationD、Message正确答案:【Dataencapsulation】12、问题:Whichofthefollowingstatementsisnotcorrect?下列哪个语句是不正确的?选项:A、Informationhidingcanbeusedtoobviatecommoncoupling.B、Aclassisanabstractdatatype.C、Anabstractdatatypeisjustaclass.D、Abstractdatatypesupportsdataabstraction.正确答案:【Anabstractdatatypeisjustaclass.】13、问题:Whichofthefollowingstatementsisnotcorrect?________下列哪个语句是不正确的?选项:A、Classisakindofabstractdatatype.B、Dataencapsulationisafeatureofobject-orientedparadigm.C、Informationhidingisafeatureofobject-orientedparadigm.D、Encapsulationandinformationhidingmeanthatallthecomponentsinanobjectwillbetotallyinvisiblefromoutside.正确答案:【Encapsulationandinformationhidingmeanthatallthecomponentsinanobjectwillbetotallyinvisiblefromoutside.】14、问题:Thestrategyofinheritanceistouseinheritancewherever_______.继承的策略是在_______的情况下使用继承。选项:A、appropriateB、possibleC、safeD、nice正确答案:【appropriate】15、问题:Therelationshipbetweensuper-classandsubclassesiscalled______.超类和子类之间的关系称为______。选项:A、associationB、inheritanceC、compositionD、aggregation正确答案:【inheritance】16、问题:Therelationshipbetweenwhole-classandpart-classesiscalled______.整体和部分类之间的关系被称为______。选项:A、aggregationB、couplingC、associationD、inheritance正确答案:【aggregation】17、问题:Everyclassengagedinarelationshipshouldhaveamultiplicityexcept_______.除_______关系外,每一个参与关系的类都有多重性。选项:A、aggregationB、associationC、inheritanceD、noneoftheabove正确答案:【inheritance】18、问题:Averboraverbphrasemustbeusedtodescribetherelationshipbetweentwoclasseswith_______.描述两类之间的_______关系时,必须使用一个动词或动词短语。选项:A、compositionB、inheritanceC、aggregationD、association正确答案:【association】19、问题:Whichofthefollowingstatementsistrue?______下列哪个语句是正确的?______选项:A、CourseSoftwareEngineeringisasubclassofclassCourse.B、AnarmisapartofaHumanBeing,soitisasubclassofclassHumanBeing.C、Ifwecodeproperly,wecangetinheritancewithstructuralprogramminglanguages.D、Inheritancebringsusbothadvantagesandtroublesifitisnotadoptedproperly.正确答案:【Inheritancebringsusbothadvantagesandtroublesifitisnotadoptedproperly.】20、问题:Whichofthefollowingstatementsisnotcorrect?__________下列哪个语句是不正确的?______选项:A、HeadisapartofeGame-HumanBeing,sotherelationshipbetweenHeadandeGame-HumanBeingisassociation.B、Associationshouldbedescribedwithadomain-relatedstrongverborverbphrase.C、AssociationbetweentwoclassescannotbeimplementedwithextendsinJava.D、Inalibrarymanagementsystem,therelationshipbetweenclassBorrowerandBookisborrows/returns.正确答案:【HeadisapartofeGame-HumanBeing,sotherelationshipbetweenHeadandeGame-HumanBeingisassociation.】21、问题:UMLisanabbreviationof__________.UML是__________的缩写。选项:A、UnifiedModuleLanguageB、UnifiedModelingLanguageC、UniversalModuleLanguageD、UnitedModelingLanguage正确答案:【UnifiedModelingLanguage】22、问题:WhichofthefollowingcannotbeawaytoimplementpolymorphisminJava?_______下列哪项不是java实现多态的方式?_______选项:A、MultithreadingB、InterfaceC、OverloadingD、Overriding正确答案:【Multithreading】23、问题:Whichofthefollowingstatementsiswrong?________下列哪个语句是不正确的?________选项:A、Operation-orientedtechniqueprimarilyconsidersboththeoperationsandthedataoftheproduct.B、Anobjectisaninstanceofabstractdatatype.C、Theclassical/proceduralparadigmisinferiortotheobject-orientedparadigm.D、Inallobject-orientedtechnique,dataandoperationsareconsideredofthesameimportance;neithertakesprecedenceovertheother.正确答案:【Operation-orientedtechniqueprimarilyconsidersboththeoperationsandthedataoftheproduct.】24、问题:Invokingthecorrectmethodtobedoneatruntime(dynamically)andnotatcompiletime(statically),theactofconnectinganobjecttotheappropriatemethodistermed_________.调用正确的方法是在运行时完成(动态)而不是在编译时(静态),将对象连接到适当方法的这种行为称为________。选项:A、inheritanceB、dynamicbindingC、datacouplingD、polymorphism正确答案:【dynamicbinding】25、问题:Itistermed______thatamethodcanbeappliedtoobjectsofdifferentclasses,whichmeansofmanyshapes.一种方法可以应用于不同类的对象,这意味着“具有多种形态”,这被称为______。选项:A、associationB、polymorphismC、object-orientedD、informationalcohesion正确答案:【polymorphism】26、问题:WhichofthefollowingisnotaUMLdiagram?__________下列哪一个不是UML图?__________选项:A、Sequencediagram.B、Usercasediagram.C、ClassdiagramD、ERdiagram.正确答案:【ERdiagram.】5.1用例建模随堂测试1、问题:WhichofthefollowingistrueofusecasemodelinginOOA?选项:A、Asetofusecasesiswrittenforeachscenario.B、Everyusecasehasonlyonepossiblescenario.C、Ausecaseisaninstanceofascenario.D、Ascenarioisaninstanceofausecase.正确答案:【Ascenarioisaninstanceofausecase.】2、问题:Whichofthefollowingstatementiscorrect?选项:A、Ausecaseisinitiatedbyanactortoinvokeacertainfunctionalityinthesystem.Ausecaseisinitiatedbyanactortoinvokeacertainfunctionalityinthesystem.-正确B、Anactordoesn’trepresentacoherentsetofrolesallthetimethatoneplayswheninteractingwiththeseusecases.C、Aclassisanabstractdatatypebutitdoesn’tsupportinheritance.D、Usecasemodelingisbothactionanddataoriented.正确答案:【Ausecaseisinitiatedbyanactortoinvokeacertainfunctionalityinthesystem.Ausecaseisinitiatedbyanactortoinvokeacertainfunctionalityinthesystem.-正确】5.2用例图随堂测试1、问题:Whichofthefollowingstatementsiscorrect?选项:A、Inausecasediagram,theactorscannothaverelationshipbetweeneachother.B、Inausecasediagram,thesub-actorcaninherititssuper-actor'srelationshipswithusecases.Inausecasediagram,thesub-actorcaninherititssuper-actor'srelationshipswithusecases.-正确C、Inausecasediagram,themorerelationshipsbetweenusecasesthebetter.D、Therelationshipofextensionandgeneralizationarethesame,theycantakeeachother'splace.正确答案:【Inausecasediagram,thesub-actorcaninherititssuper-actor'srelationshipswithusecases.Inausecasediagram,thesub-actorcaninherititssuper-actor'srelationshipswithusecases.-正确】5.4动态建模视频1、问题:Whichofthefollowingstatementsaboutdynamicmodelingiswrong?选项:A、Statediagramistheproductofdynamicmodeling.B、Eachstatediagramcorrespondstooneclassdiagram.Eachstatediagramcorrespondstooneclassdiagram.-正确C、Notalltheentityclassesshouldhaveastatediagramasreplenishment.D、Eachstatediagramcorrespondstooneclass.正确答案:【Eachstatediagramcorrespondstooneclassdiagram.Eachstatediagramcorrespondstooneclassdiagram.-正确】5.5测试OOA随堂测试1、问题:Whichmodeldoesnotbelongtotheobjectorientedanalysismodel?选项:A、usecasemodelingB、classmodelingC、dynamicmodelingD、ERmodeling正确答案:【ERmodeling】第五章单元测试1、问题:WhichofthefollowingistrueofusecasemodelinginOOA?下列关于OOA中用例建模的描述哪一个是对的?选项:A、Asetofusecasesiswrittenforeachscenario.B、Everyusecasehasonlyonepossiblescenario.C、Ausecaseisaninstanceofascenario.D、Ascenarioisaninstanceofausecase.正确答案:【Ascenarioisaninstanceofausecase.】2、问题:_____describesfunctionalityofthesoftwaretobeconstructed,thecoreofwhichistodescribetheinteractionbetweentheactorandthesystem,butnottheinternalactivityofthesystem._____描述了要构建的软件的功能,其核心是描述参与者和系统之间的交互,而不是系统的内部活动。选项:A、Use
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 二零二五年度民航机场消毒防疫与旅客安全合同3篇
- 进度计划编制课程设计
- 三月三活动方案例文(3篇)
- 线下商务谈判课程设计
- 人事行政专员工作职责模版(2篇)
- 水泥筒仓及风送设备安全操作规程(4篇)
- 二零二五年度国际贸易代理供应链管理合同3篇
- 2025年度安全生产的工作总结例文(3篇)
- 2025年苏科版九年级物理上册阶段测试试卷
- 2025年沪教版高一物理下册阶段测试试卷
- GB/T 8607-2024专用小麦粉
- 新增值税法学习课件
- 如何反馈与指导-培训课件
- 江苏省高中名校2025届高三下学期一模考试数学试题含解析
- 2024年上海市16区高考英语一模试卷听力部分汇编(附14区听力音频)含答案与文本
- 江苏省南通市2023-2024学年高二上学期期末考试物理试题(含答案)
- 2024年房屋租赁补充协议参考模板(四篇)
- 老年病护理学学习通超星期末考试答案章节答案2024年
- 《旅游职业礼仪》高职旅游专业全套教学课件
- 2025高考数学专项复习:阿基米德三角形(解析版)
- 数据分析师历年考试真题试题库(含答案)
评论
0/150
提交评论