MOOC 軟件工程-東北大學(xué) 中國大學(xué)慕課答案_第1頁
MOOC 軟件工程-東北大學(xué) 中國大學(xué)慕課答案_第2頁
MOOC 軟件工程-東北大學(xué) 中國大學(xué)慕課答案_第3頁
MOOC 軟件工程-東北大學(xué) 中國大學(xué)慕課答案_第4頁
MOOC 軟件工程-東北大學(xué) 中國大學(xué)慕課答案_第5頁
已閱讀5頁,還剩48頁未讀 繼續(xù)免費閱讀

下載本文檔

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

文檔簡介

MOOC軟件工程-東北大學(xué)中國大學(xué)慕課答案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軟件工程職業(yè)道德和從業(yè)規(guī)范隨堂測試1、問題:Whichofthefollowingisnotasoftwareengineeringcodeofethics?選項:A、Softwareengineersshallbefairtoandsupportiveoftheircolleagues.B、Softwareengineersshallparticipateinlifelonglearningregardingthepracticeoftheirprofessionandshallpromoteanethicalapproachtothepracticeoftheprofession.C、Softwareengineersshalladvancetheintegrityandreputationoftheprofessionconsistentwiththepublicinterest.D、Softwareengineersshallmaintaindependenceintheirprofessionaljudgment.正確答案:【Softwareengineersshallmaintaindependenceintheirprofessionaljudgment.】第一章單元測試1、問題:Whichofthefollowingistrueaboutthepossibleeffectofaddingnewprogrammerstoasoftwareproject?__關(guān)于增加新程序員到軟件項目的可能效果,下列哪個是正確的?__選項:A、Productionwillgenerallybespedupbecausenewprogrammersgenerallybringbrightnewimplementationideastoaproject.B、Productionwillgenerallybesloweddownbecauseoftheneedfortrainingandadditionalcoordination.C、Productionwillgenerallybespedupbecauseprogrammersaregenerallymostproductivewhentheyfirststartonaproject.D、Productionwillgenerallybespedupbecauseofthedecreaseinpressureontheprogrammersalreadyworkingontheproject.正確答案:【Productionwillgenerallybesloweddownbecauseoftheneedfortrainingandadditionalcoordination.】2、問題:Whichofthefollowingstatementsaboutcomputerscienceandsoftwareengineeringiscorrect?______關(guān)于計算機科學(xué)和軟件工程的以下語句哪個是正確的?______選項: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?___________關(guān)于倫理問題的以下哪些語句是不正確的?___________選項: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.___________是一個學(xué)科,其目標(biāo)是生產(chǎn)無故障的軟件,按時,在預(yù)算內(nèi)交付,滿足客戶的需求。選項:A、SoftwareengineeringB、SoftwareprocessC、SoftwareD、Softwaretesting正確答案:【Softwareengineering】9、問題:Whichofthefollowingstatementsaboutsoftwarecharacteristicsistrue?_________關(guān)于軟件特性的描述哪項是對的?_________選項:A、Thefaultsinasoftwaresystemcomefromwearingout.B、Softwareissomethingmysteriouscontrolledbysomegeniuses.C、Softwareistransplantable.D、Softwareisakindofconcretephysicalentity.正確答案:【Softwareistransplantable.】10、問題:Whichofthefollowingisnotasoftwareengineeringcodeofethics?______以下哪項不是軟件工程的道德規(guī)范?_____選項:A、Softwareengineersshalladvancetheintegrityandreputationoftheprofessionconsistentwiththepublicinterest.B、Softwareengineersshallparticipateinlifelonglearningregardingthepracticeoftheirprofessionandshallpromoteanethicalapproachtothepracticeoftheprofession.C、Softwareengineersshallmaintaindependenceintheirprofessionaljudgment.D、Softwareengineersshallbefairtoandsupportiveoftheircolleagues.正確答案:【Softwareengineersshallmaintaindependenceintheirprofessionaljudgment.】11、問題:Softwareengineersshallactconsistentlywiththe_______interest.軟件工程師應(yīng)按照和_______的利益一致行事。選項: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?___________關(guān)于軟件生命周期的描述以下哪項是對的?___________選項:A、Softwarelifecycleistherepetitivenatureofsoftwaretesting.B、Everysoftwaresystemhasitslifecycle.C、Softwarelifecycleistheperiodoftimethatasoftwareproductisinservice.D、Softwarelifecycleisthecyclingthroughphasesofspecification,design,implementation,andtesting.正確答案:【Everysoftwaresystemhasitslifecycle.】2、問題:Theseriesofphasesthatsoftwareundergoes,fromconceptexplorationtofinalretirement,istermedits______.軟件經(jīng)歷的系列階段,從概念探索到最終退役,被稱為其______。選項:A、lifecycleorprocessB、paradigmC、logicD、business正確答案:【lifecycleorprocess】3、問題:Whichofthefollowingstatementsistrue?_________下列哪項是正確的?_________選項:A、Ifanewcodingtechniquewillreducecodingtime,developingteamshouldsurelyadoptittodevelopprojects,whichwillsavetimeandcostversustheoldcodingtechnique.B、Agoodcodingtechniquecannotsurelyspeedupthewholesoftwaredevelopment.C、Addingmorepeopletoaprojectthatisalreadybehindscheduleisagoodwaytocatchup.D、Goodsoftwaresystemsdonotneedmaintenance.正確答案:【Agoodcodingtechniquecannotsurelyspeedupthewholesoftwaredevelopment.】4、問題:Whichofthefollowingshouldbetreatedasaseparatephaseofsoftwarelifecycle?______下列哪一個應(yīng)該被視為軟件生命周期的單獨階段?______選項: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?_______在軟件開發(fā)的以下哪個階段解決故障最廉價?_______選項: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________.假設(shè)維護(hù)程序員已經(jīng)找到故障并且必須修復(fù)它,而不會無意中在產(chǎn)品的其他地方引入另一個故障,即________。選項: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________.軟件開發(fā)的快速原型模型是________。選項:A、thebestapproachtouseforprojectswithlargedevelopmentteamsB、ausefulapproachwhenacustomercannotdefinerequirementsclearlyC、areasonableapproachwhenrequirementsarewelldefinedD、ariskymodelthatrarelyproducesameaningfulproduct正確答案:【ausefulapproachwhenacustomercannotdefinerequirementsclearly】3、問題:Requirementsworkflowisto_______.需求工作流程旨在_______。選項:A、determinewhatclientsanduserswantB、checkwhatclientsandusersthinkC、determinewhatclientsandusersneedD、determinefutureusers正確答案:【determinewhatclientsandusersneed】4、問題:Requirementsarenotthe______ofasoftwaresystem.需求不是軟件系統(tǒng)的______。選項: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內(nèi)聚隨堂測試1、問題:Whichofthefollowingcannotbetakenasamodule?選項:A、functionB、classC、methodD、collection正確答案:【collection】4.2耦合隨堂測試1、問題:Twomodulesare_____coupledifonepassesanelementofcontroltotheother.選項:A、controlB、stampC、dataD、logical正確答案:【control】4.3數(shù)據(jù)封裝與信息隱藏隨堂測試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類的關(guān)聯(lián)隨堂測試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多態(tài)與動態(tài)綁定隨堂測試1、問題:WhichofthefollowingcannotbeawaytoimplementpolymorphisminJava?選項:A、OverloadingB、OverridingC、InterfaceD、Multithreading正確答案:【Multithreading】4.8OO范型隨堂測試1、問題:WhichofthefollowingisnotaUMLdiagram?選項:A、UsercasediagramB、ClassdiagramC、ERdiagramD、Sequencediagram正確答案:【ERdiagram】第四章單元測試1、問題:Ingooddesign,modulesshouldhave________.在良好的設(shè)計中,模塊應(yīng)該有________。選項:A、highcouplingandlowcohesionB、lowcouplingandlowcohesionC、highcouplingandhighcohesionD、lowcouplingandhighcohesion正確答案:【lowcouplingandhighcohesion】2、問題:Amoduleis________cohesionifitsactionsshouldbeperformedinasametimeperiod.如果模塊的動作應(yīng)在相同的時間段內(nèi)執(zhí)行,則模塊是________內(nèi)聚。選項:A、temporalB、proceduralC、communicationalD、logic正確答案:【temporal】3、問題:A________isalexicallycontiguoussequenceofprogramstatements,boundedbyboundaryelements,withanaggregateidentifier.________是由邊界元素限定的具有聚合標(biāo)識符的程序語句的詞法連續(xù)序列選項:A、systemB、documentC、projectD、module正確答案:【module】4、問題:Whichofthefollowingcannotbetakenasamodule?________以下哪項不能作為模塊?________選項:A、collectionB、functionC、classD、method正確答案:【collection】5、問題:Whichofthefollowingstatementsaboutmoduleiswrong?_________關(guān)于模塊的以下語句中哪個是錯誤的?________選項:A、Goodmoduledesignisimportantforthequalityofthewholesoftwaresystem.B、Moduledesignispartofsoftwaresystemdesign.C、Modulesarepartsofthewholesoftwaresystem.D、Anarrayinaprogramcanbetakenasamodule.正確答案:【Anarrayinaprogramcanbetakenasamodule.】6、問題:Twomodulesare________coupledifonepassesanelementofcontroltotheother.如果一個控制元素傳遞給另一個,兩個模塊是________耦合。選項:A、controlB、stampC、dataD、logical正確答案:【control】7、問題:Twomodulesare______coupledifadatastructureispassedasaparameter,butthecalledmoduleoperatesonsomebutnotalloftheindividualcomponentsofthedatastructure.如果將數(shù)據(jù)結(jié)構(gòu)作為參數(shù)傳遞,但被調(diào)用模塊對數(shù)據(jù)結(jié)構(gòu)的一些但不是所有組件進(jìn)行操作,則兩個模塊______耦合。選項:A、controlB、stampC、dataD、logical正確答案:【stamp】8、問題:Twomodulesare______coupledifonedirectlyreferencescontentsoftheother.如果一個直接引用另一個的內(nèi)容,兩個模塊______耦合。選項:A、contentB、stampC、dataD、common正確答案:【content】9、問題:Twomodulesare________couplediftheyhavewriteaccesstoglobaldata.如果兩個模塊對全局?jǐn)?shù)據(jù)具有寫訪問權(quán)限,則是________耦合。選項:A、contentB、stampC、dataD、common正確答案:【common】10、問題:Twomodulesare______coupledifallparametersarehomogeneousdataitems,simpleparameters,ordatastructuresallofwhoseelementsareusedbycalledmodule.如果所有參數(shù)都是同類數(shù)據(jù)項,簡單參數(shù)或數(shù)據(jù)結(jié)構(gòu)中所有的元素都由被調(diào)用的模塊使用,則兩個模塊______耦合。選項:A、contentB、stampC、dataD、common正確答案:【data】11、問題:_____istoencapsulatetheattributesandoperationsinanobject,andhidestheinternaldetailsofanobjectaspossible._____是為了在一個對象中封裝屬性和操作,并盡可能隱藏對象的內(nèi)部細(xì)節(jié)。選項: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______.超類和子類之間的關(guān)系稱為______。選項:A、associationB、inheritanceC、compositionD、aggregation正確答案:【inheritance】16、問題:Therelationshipbetweenwhole-classandpart-classesiscalled______.整體和部分類之間的關(guān)系被稱為______。選項:A、aggregationB、couplingC、associationD、inheritance正確答案:【aggregation】17、問題:Everyclassengagedinarelationshipshouldhaveamultiplicityexcept_______.除_______關(guān)系外,每一個參與關(guān)系的類都有多重性。選項:A、aggregationB、associationC、inheritanceD、noneoftheabove正確答案:【inheritance】18、問題:Averboraverbphrasemustbeusedtodescribetherelationshipbetweentwoclasseswith_______.描述兩類之間的_______關(guān)系時,必須使用一個動詞或動詞短語。選項: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實現(xiàn)多態(tài)的方式?_______選項: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_________.調(diào)用正確的方法是在運行時完成(動態(tài))而不是在編譯時(靜態(tài)),將對象連接到適當(dāng)方法的這種行為稱為________。選項:A、inheritanceB、dynamicbindingC、datacouplingD、polymorphism正確答案:【dynamicbinding】25、問題:Itistermed______thatamethodcanbeappliedtoobjectsofdifferentclasses,whichmeansofmanyshapes.一種方法可以應(yīng)用于不同類的對象,這意味著“具有多種形態(tài)”,這被稱為______。選項: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動態(tài)建模視頻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?下列關(guān)于OOA中用例建模的描述哪一個是對的?選項:A、Asetofusecasesiswrittenforeachscenario.B、Everyusecasehasonlyonepossiblescenario.C、Ausecaseisaninstanceofascenario.D、Ascenarioisaninstanceofausecase.正確答案:【Ascenarioisaninstanceofausecase.】2、問題:_____describesfunctionalityofthesoftwaretobeconstructed,thecoreofwhichistodescribetheinteractionbetweentheactorandthesystem,butnottheinternalactivityofthesystem._____描述了要構(gòu)建的軟件的功能,其核心是描述參與者和系統(tǒng)之間的交互,而不是系統(tǒng)的內(nèi)部活動。選項:A、Use

溫馨提示

  • 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)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論