【MOOC】《软件工程》(东北大学)中国大学慕课答案_第1页
【MOOC】《软件工程》(东北大学)中国大学慕课答案_第2页
【MOOC】《软件工程》(东北大学)中国大学慕课答案_第3页
【MOOC】《软件工程》(东北大学)中国大学慕课答案_第4页
【MOOC】《软件工程》(东北大学)中国大学慕课答案_第5页
已阅读5页,还剩20页未读 继续免费阅读

下载本文档

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

文档简介

【MOOCC】《软件工程》(东北大学)中国大学慕课答案

有些题目顺序不一致,下载后按键盘ctrl+F进行搜索第一章引言第一章单元测试1.单选题:Whichofthefollowingisnotsoftware?__________以下哪项不是软件?__________

选项:

A、Computergame

B、PowerPoint

C、USB

D、SoftwareProjectManagementPlan

答案:【USB】2.单选题:Softwareengineersshallactconsistentlywiththe_______interest.软件工程师应按照和_______的利益一致行事。

选项:

A、public

B、friends

C、government

D、family

答案:【public】3.单选题:Whichofthefollowingstatementsaboutcomputerscienceandsoftwareengineeringiscorrect?______关于计算机科学和软件工程的以下语句哪个是正确的?______

选项:

A、Computerscientistsandsoftwareengineerscareaboutthesamething.

B、Softwareengineersalwaystrytofindallkindsofsolutionsforthetargetsoftwaresystem.

C、Computerscientists'jobistofindthemostsuitablesolutionforsoftwaresystem.

D、TherelationshipbetweenComputerScienceandSoftwareEngineeringisjustliketheonebetweenChemistryandChemicalEngineering.

答案:【TherelationshipbetweenComputerScienceandSoftwareEngineeringisjustliketheonebetweenChemistryandChemicalEngineering.】4.单选题:Whichofthefollowingistrueaboutthepossibleeffectofaddingnewprogrammerstoasoftwareproject?__关于增加新程序员到软件项目的可能效果,下列哪个是正确的?__

选项:

A、Productionwillgenerallybespedupbecausenewprogrammersgenerallybringbrightnewimplementationideastoaproject.

B、Productionwillgenerallybesloweddownbecauseoftheneedfortrainingandadditionalcoordination.

C、Productionwillgenerallybespedupbecauseprogrammersaregenerallymostproductivewhentheyfirststartonaproject.

D、Productionwillgenerallybespedupbecauseofthedecreaseinpressureontheprogrammersalreadyworkingontheproject.

答案:【Productionwillgenerallybesloweddownbecauseoftheneedfortrainingandadditionalcoordination.】5.单选题:Whichofthefollowingisnotasoftwareengineeringcodeofethics?______以下哪项不是软件工程的道德规范?_____

选项:

A、Softwareengineersshalladvancetheintegrityandreputationoftheprofessionconsistentwiththepublicinterest.

B、Softwareengineersshallparticipateinlifelonglearningregardingthepracticeoftheirprofessionandshallpromoteanethicalapproachtothepracticeoftheprofession.

C、Softwareengineersshallmaintaindependenceintheirprofessionaljudgment.

D、Softwareengineersshallbefairtoandsupportiveoftheircolleagues.

答案:【Softwareengineersshallmaintaindependenceintheirprofessionaljudgment.】6.单选题:Whichofthefollowingstatementsaboutsoftwarecharacteristicsistrue?_________关于软件特性的描述哪项是对的?_________

选项:

A、Thefaultsinasoftwaresystemcomefromwearingout.

B、Softwareissomethingmysteriouscontrolledbysomegeniuses.

C、Softwareistransplantable.

D、Softwareisakindofconcretephysicalentity.

答案:【Softwareistransplantable.】7.单选题:___________isadisciplinewhoseaimistheproductionoffault-freesoftware,deliveredontimeandwithinbudget,thatsatisfiestheclient'sneeds.___________是一个学科,其目标是生产无故障的软件,按时,在预算内交付,满足客户的需求。

选项:

A、Softwareengineering

B、Softwareprocess

C、Software

D、Softwaretesting

答案:【Softwareengineering】8.单选题:Whichofthefollowingistrue?____________以下哪项是正确的?___________

选项:

A、Aclasscanbetakenasamodule.

B、Businessrequirementsistheeasiesttaskduringsoftwarelifecycle,becausenodesignandcodingoccurduringthephase.

C、Hardwarewearsout.Sodoessoftware.Thatiswhysoftwareneedsmaintenance.

D、Thetaskofrequirementsworkflowistocollectanddeterminewhatclientreallywants.

答案:【Aclasscanbetakenasamodule.】9.单选题:Whichofthefollowingisnotsoftware?___________以下哪项不是软件?___________

选项:

A、testingplan

B、users

C、contract

D、requirementsdocuments

答案:【users】10.单选题: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.】11.单选题:Whichofthefollowingstatementsaboutsoftwareistrue?__________以下哪个语是正确的?_______

选项:

A、Softwareistransplantable.

B、Softwareisakindofconcretephysicalentity.

C、Thefaultsinasoftwaresystemcomefromwearingout.

D、Softwareissomethingmysteriousmasteredbysomegeniuses.

答案:【Softwareistransplantable.】12.单选题:Whichofthefollowingstatementsisnotcorrect?_______以下哪个语句是不正确的?_______

选项:

A、Clientistheindividualororganizationthatwantsaproducttobedeveloped.

B、Developersarethemembersoftheorganizationresponsibleforbuildingthatproduct.

C、Useristhepersonorpersonsonwhosebehalftheclienthascommissionedtheproductandwhowillutilizethesoftware.

D、Theclient,developerandusercannotbethesamepersonorthesameorganization.

答案:【Theclient,developerandusercannotbethesamepersonorthesameorganization.】第二章软件过程第二章单元测试1.单选题:Inwhichofthefollowingphasesofsoftwaredevelopmentisitthecheapesttofixafault?_______在软件开发的以下哪个阶段解决故障最廉价?_______

选项:

A、Theintegrationphase

B、Thedesignphase

C、Theimplementationphase

D、Themaintenancephase

答案:【Thedesignphase】2.单选题:Whichofthefollowingstatementsisnotcorrect?________以下哪个语句是不正确的?__________

选项:

A、Ifallthedevelopersareprofessionalenough,managementwon'tbeneeded.

B、Thesoftwaredevelopmentisnotthemysterioustechniqueofacertainindividuallabor,butshouldbetheengineeringofanorganizationofallkindsofpeople.

C、Asoftwaredevelopmentteamshouldincludekindsofpeople.

D、Softwareprojectdevelopmentisateamwork.

答案:【Ifallthedevelopersareprofessionalenough,managementwon'tbeneeded.】3.单选题:Whichofthefollowingstatementsisnottrue?__________以下哪个语句是不正确的?__________

选项:

A、Itisquitecommonthatrequirementsalwayschange,whichmakesbigtroublefordevelopmentorganization.

B、Usersalwayswelcomethecompletedsoftwaresystem.

C、Sometimes,theclientsdonotknowwhattheyreallyneed.

D、Somegoodsoftwareorganizationscanforecasttherequirementsofthepotentialusers,sotheycanleadclientsandusers.

答案:【Usersalwayswelcomethecompletedsoftwaresystem.】4.单选题:Whichofthefollowingshouldbetreatedasaseparatephaseofsoftwarelifecycle?______下列哪一个应该被视为软件生命周期的单独阶段?______

选项:

A、Testing

B、ProjectPlanning

C、Implementationandintegration

D、Documenting

答案:【Implementationandintegration】5.单选题:Whichofthefollowingstatementsistrue?_________下列哪项是正确的?_________

选项:

A、Ifanewcodingtechniquewillreducecodingtime,developingteamshouldsurelyadoptittodevelopprojects,whichwillsavetimeandcostversustheoldcodingtechnique.

B、Agoodcodingtechniquecannotsurelyspeedupthewholesoftwaredevelopment.

C、Addingmorepeopletoaprojectthatisalreadybehindscheduleisagoodwaytocatchup.

D、Goodsoftwaresystemsdonotneedmaintenance.

答案:【Agoodcodingtechniquecannotsurelyspeedupthewholesoftwaredevelopment.】6.单选题:Theseriesofphasesthatsoftwareundergoes,fromconceptexplorationtofinalretirement,istermedits______.软件经历的系列阶段,从概念探索到最终退役,被称为其______。

选项:

A、lifecycleorprocess

B、paradigm

C、logic

D、business

答案:【lifecycleorprocess】7.单选题:Whichofthefollowingstatementsaboutsoftwarelifecycleistrue?___________关于软件生命周期的描述以下哪项是对的?___________

选项:

A、Softwarelifecycleistherepetitivenatureofsoftwaretesting.

B、Everysoftwaresystemhasitslifecycle.

C、Softwarelifecycleistheperiodoftimethatasoftwareproductisinservice.

D、Softwarelifecycleisthecyclingthroughphasesofspecification,design,implementation,andtesting.

答案:【Everysoftwaresystemhasitslifecycle.】8.单选题:Supposethatthemaintenanceprogrammerhaslocatedafaultandmustfixitwithoutinadvertentlyintroducinganotherfaultelsewhereintheproduct,thatis,a________.假设维护程序员已经找到故障并且必须修复它,而不会无意中在产品的其他地方引入另一个故障,即________。

选项:

A、mistake

B、bug

C、regressionfault

D、error

答案:【regressionfault】9.单选题:______istocheckregressionfaults.______是检查回归错误。

选项:

A、Debugging

B、Maintenance

C、Regressiontesting

D、Acceptancetesting

答案:【Regressiontesting】10.单选题:Softwaretestingis_______.软件测试是______。

选项:

A、constructive

B、destructive

C、toprovethereisnofaultsinthesoftwaresystem.

D、aphasefollowingimplementation.

答案:【destructive】11.单选题:Softwaretesting___________.软件测试______。

选项:

A、istotestexecutablecode.

B、isjusttoreadcode.

C、isaphasefollowingimplementationphase.

D、includesexecution-basedtestingandnon-executionbasedtesting.

答案:【includesexecution-basedtestingandnon-executionbasedtesting.】12.单选题:Softwaretestingaimsto______.软件测试旨在______。

选项:

A、coverthefaultsinthesoftwaresystem

B、provethesoftwareisright

C、testthecodeonly

D、findasmanyfaultsaspossibleinthesoftwaresystem

答案:【findasmanyfaultsaspossibleinthesoftwaresystem】13.单选题:Inspectionandwalkthrougharetwotypesof_________.审查和走查是两种类型的_________。

选项:

A、maintenance

B、design

C、non-execution-basedtesting

D、execution-basedtesting

答案:【non-execution-basedtesting】[vk-content]14.单选题:Whichofthefollowingstatementsistrue?_______以下哪个语句是正确的?__________

选项:

A、Softwarecompanycanalwaysmakemoremoneyfromsoftwaredevelopmentthanfrommainteannce.

B、Asoftwaresystemgoesthroughitslifecycle,likeahumanbeinggoesthroughhis/herbirthtodeath.

C、Softwarecompanycanmakenoorlittlemoneyfromsoftwaremaintenance.

D、Softwaredevelopmentismoreimportantthanmaintenance.

答案:【Asoftwaresystemgoesthroughitslifecycle,likeahumanbeinggoesthroughhis/herbirthtodeath.】第三章软件需求第三章单元测试1.单选题:Requirementsarenotthe______ofasoftwaresystem.需求不是软件系统的______。

选项:

A、source

B、root

C、basic

D、solution

答案:【solution】2.单选题:Requirementsworkflowisto_______.需求工作流程旨在_______。

选项:

A、determinewhatclientsanduserswant

B、checkwhatclientsandusersthink

C、determinewhatclientsandusersneed

D、determinefutureusers

答案:【determinewhatclientsandusersneed】3.单选题:Therapidprototypingmodelofsoftwaredevelopmentis________.软件开发的快速原型模型是________。

选项:

A、thebestapproachtouseforprojectswithlargedevelopmentteams

B、ausefulapproachwhenacustomercannotdefinerequirementsclearly

C、areasonableapproachwhenrequirementsarewelldefined

D、ariskymodelthatrarelyproducesameaningfulproduct

答案:【ausefulapproachwhenacustomercannotdefinerequirementsclearly】4.单选题:Whichofthefollowingstatementsisnotcorrect?以下哪个语句是不正确的?__________

选项:

A、Requirementsphaseisthefirstphaseofsoftwarelifecycle.

B、Todeterminerequirementsiseasybecausenocodingisneeded.

C、Therearemanymethodsthatcanbehelpfulforrequirementscollecting.

D、Requirementsdeterminethesuccessofthetargetsystemfundamentally.

答案:【Todeterminerequirementsiseasybecausenocodingisneeded.】5.单选题:Whichofthefollowingistrue?_______以下哪个是对的?_______

选项:

A、Whatclientwantsshouldbecollectedanddeterminedduringrequirementsphase.

B、Tocollectanddeterminebusinessrequirementsneedsdomainknowledge.

C、Interviewingistheonlywaytocollectbusinessrequirements.

D、Todeterminebusinessrequirementsistheeasiesttaskduringsoftwarelifecycle,becausenodesignandcodingoccurduringthephase.

答案:【Tocollectanddeterminebusinessrequirementsneedsdomainknowledge.】6.单选题:Whichofthefollowingstatementsisnotcorrect?_____以下哪个语句是不正确的?_____

选项:

A、Developersarethemembersoftheorganizationresponsibleforbuildingthatproduct.

B、Clientistheindividualororganizationthatwantsaproducttobedeveloped.

C、Useristhepersonorpersonsonwhosebehalftheclienthascommissionedtheproductandwhowillutilizethesoftware.

D、Theclient,developerandusercannotbethesamepersonororganization.

答案:【Theclient,developerandusercannotbethesamepersonororganization.】第四章面向对象范型第四章单元测试1.单选题:WhichofthefollowingisnotaUMLdiagram?__________下列哪一个不是UML图?__________

选项:

A、Sequencediagram.

B、Usercasediagram.

C、Classdiagram

D、ERdiagram.

答案:【ERdiagram.】2.单选题:Itistermed______thatamethodcanbeappliedtoobjectsofdifferentclasses,whichmeans"ofmanyshapes".一种方法可以应用于不同类的对象,这意味着“具有多种形态”,这被称为______。

选项:

A、association

B、polymorphism

C、object-oriented

D、informationalcohesion

答案:【polymorphism】3.单选题:Therelationshipbetweenwhole-classandpart-classesiscalled______.整体和部分类之间的关系被称为______。

选项:

A、aggregation

B、coupling

C、association

D、inheritance

答案:【aggregation】4.单选题:Therelationshipbetweensuper-classandsubclassesiscalled______.超类和子类之间的关系称为______。

选项:

A、association

B、inheritance

C、composition

D、aggregation

答案:【inheritance】5.单选题:Thestrategyofinheritanceistouseinheritancewherever_______.继承的策略是在_______的情况下使用继承。

选项:

A、appropriate

B、possible

C、safe

D、nice

答案:【appropriate】6.单选题:Whichofthefollowingstatementsisnotcorrect?________下列哪个语句是不正确的?

选项:

A、Classisakindofabstractdatatype.

B、Dataencapsulationisafeatureofobject-orientedparadigm.

C、Informationhidingisafeatureofobject-orientedparadigm.

D、Encapsulationandinformationhidingmeanthatallthecomponentsinanobjectwillbetotallyinvisiblefromoutside.

答案:【Encapsulationandinformationhidingmeanthatallthecomponentsinanobjectwillbetotallyinvisiblefromoutside.】7.单选题:Whichofthefollowingstatementsisnotcorrect?下列哪个语句是不正确的?

选项:

A、Informationhidingcanbeusedtoobviatecommoncoupling.

B、Aclassisanabstractdatatype.

C、Anabstractdatatypeisjustaclass.

D、Abstractdatatypesupportsdataabstraction.

答案:【Anabstractdatatypeisjustaclass.】8.单选题:_____istoencapsulatetheattributesandoperationsinanobject,andhidestheinternaldetailsofanobjectaspossible._____是为了在一个对象中封装属性和操作,并尽可能隐藏对象的内部细节。

选项:

A、Inheritance

B、Polymorphism

C、Dataencapsulation

D、Message

答案:【Dataencapsulation】9.单选题:Twomodulesare______coupledifallparametersarehomogeneousdataitems,simpleparameters,ordatastructuresallofwhoseelementsareusedbycalledmodule.如果所有参数都是同类数据项,简单参数或数据结构中所有的元素都由被调用的模块使用,则两个模块______耦合。

选项:

A、content

B、stamp

C、data

D、common

答案:【data】10.单选题:Twomodulesare________couplediftheyhavewriteaccesstoglobaldata.如果两个模块对全局数据具有写访问权限,则是________耦合。

选项:

A、content

B、stamp

C、data

D、common

答案:【common】11.单选题:Invokingthecorrectmethodtobedoneatruntime(dynamically)andnotatcompiletime(statically),theactofconnectinganobjecttotheappropriatemethodistermed_________.调用正确的方法是在运行时完成(动态)而不是在编译时(静态),将对象连接到适当方法的这种行为称为________。

选项:

A、inheritance

B、dynamicbinding

C、datacoupling

D、polymorphism

答案:【dynamicbinding】12.单选题:Whichofthefollowingstatementsiswrong?________下列哪个语句是不正确的?________

选项:

A、Operation-orientedtechniqueprimarilyconsidersboththeoperationsandthedataoftheproduct.

B、Anobjectisaninstanceofabstractdatatype.

C、Theclassical/proceduralparadigmisinferiortotheobject-orientedparadigm.

D、Inallobject-orientedtechnique,dataandoperationsareconsideredofthesameimportance;neithertakesprecedenceovertheother.

答案:【Operation-orientedtechniqueprimarilyconsidersboththeoperationsandthedataoftheproduct.】13.单选题:WhichofthefollowingcannotbeawaytoimplementpolymorphisminJava?_______下列哪项不是java实现多态的方式?_______

选项:

A、Multithreading

B、Interface

C、Overloading

D、Overriding

答案:【Multithreading】14.单选题:UMLisanabbreviationof__________.UML是__________的缩写。

选项:

A、UnifiedModuleLanguage

B、UnifiedModelingLanguage

C、UniversalModuleLanguage

D、UnitedModelingLanguage

答案:【UnifiedModelingLanguage】15.单选题:Whichofthefollowingstatementsisnotcorrect?__________下列哪个语句是不正确的?______

选项:

A、HeadisapartofeGame-HumanBeing,sotherelationshipbetweenHeadandeGame-HumanBeingisassociation.

B、Associationshouldbedescribedwithadomain-relatedstrongverborverbphrase.

C、Associationbetweentwoclassescannotbeimplementedwith"extends"inJava.

D、Inalibrarymanagementsystem,therelationshipbetweenclassBorrowerandBookis"borrows/returns".

答案:【HeadisapartofeGame-HumanBeing,sotherelationshipbetweenHeadandeGame-HumanBeingisassociation.】16.单选题:Whichofthefollowingstatementsistrue?______下列哪个语句是正确的?______

选项:

A、Course"SoftwareEngineering"isasubclassofclass"Course".

B、AnarmisapartofaHumanBeing,soitisasubclassofclassHumanBeing.

C、Ifwecodeproperly,wecangetinheritancewithstructuralprogramminglanguages.

D、Inheritancebringsusbothadvantagesandtroublesifitisnotadoptedproperly.

答案:【Inheritancebringsusbothadvantagesandtroublesifitisnotadoptedproperly.】17.单选题:Averboraverbphrasemustbeusedtodescribetherelationshipbetweentwoclasseswith_______.描述两类之间的_______关系时,必须使用一个动词或动词短语。

选项:

A、composition

B、inheritance

C、aggregation

D、association

答案:【association】18.单选题:Everyclassengagedinarelationshipshouldhaveamultiplicityexcept_______.除_______关系外,每一个参与关系的类都有多重性。

选项:

A、aggregation

B、association

C、inheritance

D、noneoftheabove

答案:【inheritance】19.单选题:Twomodulesare______coupledifonedirectlyreferencescontentsoftheother.如果一个直接引用另一个的内容,两个模块______耦合。

选项:

A、content

B、stamp

C、data

D、common

答案:【content】20.单选题:Twomodulesare______coupledifadatastructureispassedasaparameter,butthecalledmoduleoperatesonsomebutnotalloftheindividualcomponentsofthedatastructure.如果将数据结构作为参数传递,但被调用模块对数据结构的一些但不是所有组件进行操作,则两个模块______耦合。

选项:

A、control

B、stamp

C、data

D、logical

答案:【stamp】21.单选题:Twomodulesare________coupledifonepassesanelementofcontroltotheother.如果一个控制元素传递给另一个,两个模块是________耦合。

选项:

A、control

B、stamp

C、data

D、logical

答案:【control】22.单选题:Whichofthefollowingstatementsaboutmoduleiswrong?_________关于模块的以下语句中哪个是错误的?________

选项:

A、Goodmoduledesignisimportantforthequalityofthewholesoftwaresystem.

B、Moduledesignispartofsoftwaresystemdesign.

C、Modulesarepartsofthewholesoftwaresystem.

D、Anarrayinaprogramcanbetakenasamodule.

答案:【Anarrayinaprogramcanbetakenasamodule.】23.单选题:Whichofthefollowingcannotbetakenasamodule?________以下哪项不能作为模块?________

选项:

A、collection

B、function

C、class

D、method

答案:【collection】24.单选题:A________isalexicallycontiguoussequenceofprogramstatements,boundedbyboundaryelements,withanaggregateidentifier.________是由边界元素限定的具有聚合标识符的程序语句的词法连续序列

选项:

A、system

B、document

C、project

D、module

答案:【module】25.单选题:Amoduleis________cohesionifitsactionsshouldbeperformedinasametimeperiod.如果模块的动作应在相同的时间段内执行,则模块是________内聚。

选项:

A、temporal

B、procedural

C、communicational

D、logic

答案:【temporal】26.单选题:Ingooddesign,modulesshouldhave________.在良好的设计中,模块应该有________。

选项:

A、highcouplingandlowcohesion

B、lowcouplingandlowcohesion

C、highcouplingandhighcohesion

D、lowcouplingandhighcohesion

答案:【lowcouplingandhighcohesion】第五章面向对象分析第五章单元测试1.单选题:Whichmodeldoesnotbelongtotheobjectorientedanalysismodel?_______哪个模型不属于面向对象的分析模型?_______

选项:

A、Usecasemodeling

B、Preliminaryclassmodeling

C、Dynamicmodeling

D、ERmodeling

答案:【ERmodeling】2.单选题:Whichofthefollowingiswrong?以下哪项是错误的?

选项:

A、Aclasscanbetakenasamodule.

B、Usecasediagramfocusesononlythefunctionalrequirementsofthetargetsoftwaresystem.

C、Onlyhumanbeingcanbeanactorinausecasediagram.

D、Usecasediagramisafunctionalmodelingofthesoftwaresystem.

答案:【Onlyhumanbeingcanbeanactorinausecasediagram.】3.单选题:Whichofthefollowingstatementiscorrect?_____在下面的关于用例图的说法中,哪个是正确的?_____

选项:

A、Aclassisanabstractdatatype,butitdoesn'tsupportinheritance.

B、Anactordoesn'trepresentacoherentsetofrolesallthetimethatoneplayswheninteractingwiththeseusecases.

C、Ausecasemaybeinitiatedbyanactortoinvokeacertainfunctionalityinthesystem.

D、Usecasemodelingisbothactionanddataoriented.

答案:【Ausecasemaybeinitiatedbyanactortoinvokeacertainfunctionalityinthesystem.】4.单选题:Inthefollowingusecasediagram,whichstatementiswrong?_____在下面的用例图中,哪个语句是错误的?_____

选项:

A、Customercaninteractwithusecase"A"inthesystem.

B、Ifusecase"A"isexecuted,usecase"B"mustbeexecuted.

C、Ifusecase"A"isexecuted,usecase"C"mustbeexecuted.

D、Usecase"C"maynotbeinvoked.

答案:【Ifusecase"A"isexecuted,usecase"C"mustbeexecuted.】5.单选题:_____describesfunctionalityofthesoftwaretobeconstructed,thecoreofwhichistodescribetheinteractionbetweentheactorandthesystem,butnottheinternalactivityofthesystem._____描述了要构建的软件的功能,其核心是描述参与者和系统之间的交互,而不是系统的内部活动。

选项:

A、Usecasediagram

B、Classdiagram

C、Collaborationdiagram

D、Statediagram

答案:【Usecasediagram】6.单选题:WhichofthefollowingistrueofusecasemodelinginOOA?下列关于OOA中用例建模的描述哪一个是对的?

选项:

A、Asetofusecasesiswrittenforeachscenario.

B、Everyusecasehasonlyonepossiblescenario.

C、Ausecaseisaninstanceofascenario.

D、Ascenarioisaninstanceofausecase.

答案:【Ascenarioisaninstanceofausecase.】7.单选题:Whichofthefollowingstatementsaboutdynamicmodelingiswrong?_____关于动态建模的以下语句中哪一个是错误的?_____

选项:

A、Eachstatediagramcorrespondstooneclassdiagram.

B、Eachstatediagramcorrespondstooneclass.

C、Statediagramistheproductofdynamicmodeling.

D、Notalltheentityclasseshaveastatediagramasitsreplenishment.

答案:【Eachstatediagramcorrespondstooneclassdiagram.】8.单选题:Whichofthefollowingstatementsiscorrect?_______下列哪项语句是正确的?_______

选项:

A、GUIofatargetsoftwaresystemshouldbedesignedbeforeitsarchitecture.

B、Whetherdesignisnecessaryornotisuptoeachsoftwareorganization.

C、Agoodprogrammercandesignatargetsoftwaresystemwhilecoding.

D、Surelyagooddesignisimportantandnecessaryforthesuccessofthetargetsoftwaresystem.

答案:【Surelyagooddesignisimportantandnecessaryforthesuccessofthetargetsoftwaresystem.】9.单选题:Acompanywantstodevelopasoftwaresystemtomanageorder.Everyday,thecustomerssendtheorderinformationtothesalesmanbyfax.Andthen,thesalesmaninputstheinformationintothesystem.Then,inthiscase,whichshouldbetheactorofthesysteminusecasediagram?_______一家公司想要开发一个软件系统来管理订单。每天,客户通过传真将订单信息发送给销售人员。然后,销售员将信息输入系统。那么,在这种情况下,本系统中下列哪个应该是用例图中的参与者?_______

选项:

A、Salesman

B、Customer

C、Orderinformation

D、Faxmachine

答案:【Salesman】第七章实现与集成第七章单元测试1.单选题:Whichofthefollowingstatementsiswrong?_____.以下哪个语句是错误的?_____。

选项:

A、Onestatementofathird-generationlanguagecanbecompiledto5or10machinecodeinstructions.

B、Onestatementofafourth-generationlanguagecanbecompiledto30oreven50machinecodeinstructions.

C、Java,C,andVBarethird-generationprogramminglanguages..

D、Fourth-generationlanguagecanbeselectedforimplementingadatabaseapplication.

答案:【Java,C,andVBarethird-generationprogramminglanguages..】2.单选题:Inthefollowingstatement,whichcannotbeagoodprogrammingpractice?_____在下面的语句中,哪个不能是写代码的标准?_____

选项:

A、Constructanappropriatelayoutofthecode.

B、Makeameaningfulnameofthevariablemeaningful

C、Useashortnameofthevariable

D、Addcomments

答案:【Useashortnameofthevariable】3.单选题:Ifadecisionbyaprogrammerresultsinaviolationofcodingstandards,theprogrammershould________.如果程序员的决定导致违反编码标准,程序员应该________。

选项:

A、checkwiththemanagertodeterminewhetherthecodecanstandasitis

B、keepthecodeinviolationandhidethefact

C、rewritethecodetomeetstandards

D、arguethatthestandardsdonotapplytoeverykindofcode

答案:【checkwiththemanagertodeterminewhetherthecodecanstandasitis】4.单选题:Theprimarypurposeofcarefulandnicecodelayoutofasoftwaresystemisto__________.仔细和漂亮的软件系统代码布局的主要目的是__________。

选项:

A、pleasemanagers

B、improvereadability

C、conformtostandards

D、helptheSQAteam

答案:【improvereadability】5.单选题:ThelanguagesFortran,Pascal,COBOL,andC++areexamplesofwhichgenerationofprogramminglanguages?语言Fortran,Pascal,COBOL和C++是哪一代编程语言?

选项:

A、fourth

B、second

C、first

D、third

答案:【third】6.单选题:Whichofthefollowingstatementsiscorrect?、下列哪个语句是正确的?

选项:

A、Surely,integrationshouldfollowimplementation.

B、Driversareneededfortop-downimplementationandintegration.

C、Driversareneededforbottom-upimplementationandintegration.

D、Stubsareneededforbottom-upimplementationandintegration.

答案:【Driversareneededforbottom-upimplementationandintegration.】7.单选题:Whichofthefollowingaredisadvantagesoftop-downintegrationandimplementation?下列哪些是自顶向下集成和实现的缺点?

选项:

A、Operationalmodulesmaynotbeadequatelytested.

B、Logicalmodulesmaynotbeadequatelytested.

C、Majordesignfaultsshowuplate.

D、Faultisolation

答案:【Operationalmodulesmaynotbeadequatelytested.】8.单选题:Whichofthefollowingwillbethelastonetobeconsideredwhenchoosingaprogramminglanguage?在选择编程语言时,应该最后考虑以下哪项?

选项:

A、productefficiency

B、applicationdomain

C、cost

D、personalemotion

答案:【personalemotion】9.单选题:Thefollowinggraphshowsthemodulesofasoftwaresystem,andthelineinthegraphshowstheinvocationrelationbetweenthemodules.Ifthesystemisimplementedandintegratedusingthebottom-uptype,module_________isthedriverofthemoduleb.下图显示了软件系统的模块,图中的线显示了模块之间的调用关系。如果系统是使用自底向上类型实现和集成的,模块_________是模块b的驱动程序。

选项:

A、a

B、b

C、c

D、d

答案:【a】10.单选题:Whichofthefollowingaredisadvantagesofbottom-upintegrationandimplementation?下列哪些是自底向上集成和实施的缺点?I.Operationalmodulesmaynotbeadequatelytested.操作模块测试不充分II.Logicalmodulesmaynotbeadequatelytested.逻辑模块测试不充分III.Itpromotesresponsibility-drivendesign.促进了职责驱动设计

选项:

A、I,II,andIII

B、IIonly

C、IIIonly

D、IIandIIIonly

答案:【IIonly】11.单选题:Whichofthefollowingstatementsaboutgoodprogrammingpracticeiscorrect?_______以下语句中哪个关于良好的编程实践的描述是正确的?______

选项:

A、Goodvariablenamesaregoodforbothdebuggingandmaintenance.

B、Ifthereisalreadyprologuecomments,inlinecommentswon'tbeneeded.

C、Nicecodelayoutaimsforniceinterface.

D、Nested"if"statementsshouldberecommended.

答案:【Goodvariablenamesaregoodforbothdebuggingandmaintenance.】12.单选题:Whichofth

温馨提示

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

评论

0/150

提交评论