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

下載本文檔

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

文檔簡介

【MOOCC】《軟件工程》(東北大學(xué))中國大學(xué)慕課答案

有些題目順序不一致,下載后按鍵盤ctrl+F進行搜索第一章引言第一章單元測試1.單選題:Whichofthefollowingisnotsoftware?__________以下哪項不是軟件?__________

選項:

A、Computergame

B、PowerPoint

C、USB

D、SoftwareProjectManagementPlan

答案:【USB】2.單選題:Softwareengineersshallactconsistentlywiththe_______interest.軟件工程師應(yīng)按照和_______的利益一致行事。

選項:

A、public

B、friends

C、government

D、family

答案:【public】3.單選題:Whichofthefollowingstatementsaboutcomputerscienceandsoftwareengineeringiscorrect?______關(guān)于計算機科學(xué)和軟件工程的以下語句哪個是正確的?______

選項:

A、Computerscientistsandsoftwareengineerscareaboutthesamething.

B、Softwareengineersalwaystrytofindallkindsofsolutionsforthetargetsoftwaresystem.

C、Computerscientists'jobistofindthemostsuitablesolutionforsoftwaresystem.

D、TherelationshipbetweenComputerScienceandSoftwareEngineeringisjustliketheonebetweenChemistryandChemicalEngineering.

答案:【TherelationshipbetweenComputerScienceandSoftwareEngineeringisjustliketheonebetweenChemistryandChemicalEngineering.】4.單選題:Whichofthefollowingistrueaboutthepossibleeffectofaddingnewprogrammerstoasoftwareproject?__關(guān)于增加新程序員到軟件項目的可能效果,下列哪個是正確的?__

選項:

A、Productionwillgenerallybespedupbecausenewprogrammersgenerallybringbrightnewimplementationideastoaproject.

B、Productionwillgenerallybesloweddownbecauseoftheneedfortrainingandadditionalcoordination.

C、Productionwillgenerallybespedupbecauseprogrammersaregenerallymostproductivewhentheyfirststartonaproject.

D、Productionwillgenerallybespedupbecauseofthedecreaseinpressureontheprogrammersalreadyworkingontheproject.

答案:【Productionwillgenerallybesloweddownbecauseoftheneedfortrainingandadditionalcoordination.】5.單選題:Whichofthefollowingisnotasoftwareengineeringcodeofethics?______以下哪項不是軟件工程的道德規(guī)范?_____

選項:

A、Softwareengineersshalladvancetheintegrityandreputationoftheprofessionconsistentwiththepublicinterest.

B、Softwareengineersshallparticipateinlifelonglearningregardingthepracticeoftheirprofessionandshallpromoteanethicalapproachtothepracticeoftheprofession.

C、Softwareengineersshallmaintaindependenceintheirprofessionaljudgment.

D、Softwareengineersshallbefairtoandsupportiveoftheircolleagues.

答案:【Softwareengineersshallmaintaindependenceintheirprofessionaljudgment.】6.單選題:Whichofthefollowingstatementsaboutsoftwarecharacteristicsistrue?_________關(guān)于軟件特性的描述哪項是對的?_________

選項:

A、Thefaultsinasoftwaresystemcomefromwearingout.

B、Softwareissomethingmysteriouscontrolledbysomegeniuses.

C、Softwareistransplantable.

D、Softwareisakindofconcretephysicalentity.

答案:【Softwareistransplantable.】7.單選題:___________isadisciplinewhoseaimistheproductionoffault-freesoftware,deliveredontimeandwithinbudget,thatsatisfiestheclient'sneeds.___________是一個學(xué)科,其目標(biāo)是生產(chǎn)無故障的軟件,按時,在預(yù)算內(nèi)交付,滿足客戶的需求。

選項:

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?___________關(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.】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?_______在軟件開發(fā)的以下哪個階段解決故障最廉價?_______

選項:

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?______下列哪一個應(yīng)該被視為軟件生命周期的單獨階段?______

選項:

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______.軟件經(jīng)歷的系列階段,從概念探索到最終退役,被稱為其______。

選項:

A、lifecycleorprocess

B、paradigm

C、logic

D、business

答案:【lifecycleorprocess】7.單選題:Whichofthefollowingstatementsaboutsoftwarelifecycleistrue?___________關(guān)于軟件生命周期的描述以下哪項是對的?___________

選項:

A、Softwarelifecycleistherepetitivenatureofsoftwaretesting.

B、Everysoftwaresystemhasitslifecycle.

C、Softwarelifecycleistheperiodoftimethatasoftwareproductisinservice.

D、Softwarelifecycleisthecyclingthroughphasesofspecification,design,implementation,andtesting.

答案:【Everysoftwaresystemhasitslifecycle.】8.單選題:Supposethatthemaintenanceprogrammerhaslocatedafaultandmustfixitwithoutinadvertentlyintroducinganotherfaultelsewhereintheproduct,thatis,a________.假設(shè)維護程序員已經(jīng)找到故障并且必須修復(fù)它,而不會無意中在產(chǎn)品的其他地方引入另一個故障,即________。

選項:

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.需求不是軟件系統(tǒng)的______。

選項:

A、source

B、root

C、basic

D、solution

答案:【solution】2.單選題:Requirementsworkflowisto_______.需求工作流程旨在_______。

選項:

A、determinewhatclientsanduserswant

B、checkwhatclientsandusersthink

C、determinewhatclientsandusersneed

D、determinefutureusers

答案:【determinewhatclientsandusersneed】3.單選題:Therapidprototypingmodelofsoftwaredevelopmentis________.軟件開發(fā)的快速原型模型是________。

選項:

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.】第四章面向?qū)ο蠓缎偷谒恼聠卧獪y試1.單選題:WhichofthefollowingisnotaUMLdiagram?__________下列哪一個不是UML圖?__________

選項:

A、Sequencediagram.

B、Usercasediagram.

C、Classdiagram

D、ERdiagram.

答案:【ERdiagram.】2.單選題:Itistermed______thatamethodcanbeappliedtoobjectsofdifferentclasses,whichmeans"ofmanyshapes".一種方法可以應(yīng)用于不同類的對象,這意味著“具有多種形態(tài)”,這被稱為______。

選項:

A、association

B、polymorphism

C、object-oriented

D、informationalcohesion

答案:【polymorphism】3.單選題:Therelationshipbetweenwhole-classandpart-classesiscalled______.整體和部分類之間的關(guān)系被稱為______。

選項:

A、aggregation

B、coupling

C、association

D、inheritance

答案:【aggregation】4.單選題:Therelationshipbetweensuper-classandsubclassesiscalled______.超類和子類之間的關(guān)系稱為______。

選項:

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._____是為了在一個對象中封裝屬性和操作,并盡可能隱藏對象的內(nèi)部細節(jié)。

選項:

A、Inheritance

B、Polymorphism

C、Dataencapsulation

D、Message

答案:【Dataencapsulation】9.單選題:Twomodulesare______coupledifallparametersarehomogeneousdataitems,simpleparameters,ordatastructuresallofwhoseelementsareusedbycalledmodule.如果所有參數(shù)都是同類數(shù)據(jù)項,簡單參數(shù)或數(shù)據(jù)結(jié)構(gòu)中所有的元素都由被調(diào)用的模塊使用,則兩個模塊______耦合。

選項:

A、content

B、stamp

C、data

D、common

答案:【data】10.單選題:Twomodulesare________couplediftheyhavewriteaccesstoglobaldata.如果兩個模塊對全局?jǐn)?shù)據(jù)具有寫訪問權(quán)限,則是________耦合。

選項:

A、content

B、stamp

C、data

D、common

答案:【common】11.單選題:Invokingthecorrectmethodtobedoneatruntime(dynamically)andnotatcompiletime(statically),theactofconnectinganobjecttotheappropriatemethodistermed_________.調(diào)用正確的方法是在運行時完成(動態(tài))而不是在編譯時(靜態(tài)),將對象連接到適當(dāng)方法的這種行為稱為________。

選項:

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實現(xiàn)多態(tài)的方式?_______

選項:

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_______.描述兩類之間的_______關(guān)系時,必須使用一個動詞或動詞短語。

選項:

A、composition

B、inheritance

C、aggregation

D、association

答案:【association】18.單選題:Everyclassengagedinarelationshipshouldhaveamultiplicityexcept_______.除_______關(guān)系外,每一個參與關(guān)系的類都有多重性。

選項:

A、aggregation

B、association

C、inheritance

D、noneoftheabove

答案:【inheritance】19.單選題:Twomodulesare______coupledifonedirectlyreferencescontentsoftheother.如果一個直接引用另一個的內(nèi)容,兩個模塊______耦合。

選項:

A、content

B、stamp

C、data

D、common

答案:【content】20.單選題:Twomodulesare______coupledifadatastructureispassedasaparameter,butthecalledmoduleoperatesonsomebutnotalloftheindividualcomponentsofthedatastructure.如果將數(shù)據(jù)結(jié)構(gòu)作為參數(shù)傳遞,但被調(diào)用模塊對數(shù)據(jù)結(jié)構(gòu)的一些但不是所有組件進行操作,則兩個模塊______耦合。

選項:

A、control

B、stamp

C、data

D、logical

答案:【stamp】21.單選題:Twomodulesare________coupledifonepassesanelementofcontroltotheother.如果一個控制元素傳遞給另一個,兩個模塊是________耦合。

選項:

A、control

B、stamp

C、data

D、logical

答案:【control】22.單選題:Whichofthefollowingstatementsaboutmoduleiswrong?_________關(guān)于模塊的以下語句中哪個是錯誤的?________

選項:

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.________是由邊界元素限定的具有聚合標(biāo)識符的程序語句的詞法連續(xù)序列

選項:

A、system

B、document

C、project

D、module

答案:【module】25.單選題:Amoduleis________cohesionifitsactionsshouldbeperformedinasametimeperiod.如果模塊的動作應(yīng)在相同的時間段內(nèi)執(zhí)行,則模塊是________內(nèi)聚。

選項:

A、temporal

B、procedural

C、communicational

D、logic

答案:【temporal】26.單選題:Ingooddesign,modulesshouldhave________.在良好的設(shè)計中,模塊應(yīng)該有________。

選項:

A、highcouplingandlowcohesion

B、lowcouplingandlowcohesion

C、highcouplingandhighcohesion

D、lowcouplingandhighcohesion

答案:【lowcouplingandhighcohesion】第五章面向?qū)ο蠓治龅谖逭聠卧獪y試1.單選題:Whichmodeldoesnotbelongtotheobjectorientedanalysismodel?_______哪個模型不屬于面向?qū)ο蟮姆治瞿P??_______

選項:

A、Usecasemodeling

B、Preliminaryclassmodeling

C、Dynamicmodeling

D、ERmodeling

答案:【ERmodeling】2.單選題:Whichofthefollowingiswrong?以下哪項是錯誤的?

選項:

A、Aclasscanbetakenasamodule.

B、Usecasediagramfocusesononlythefunctionalrequirementsofthetargetsoftwaresystem.

C、Onlyhumanbeingcanbeanactorinausecasediagram.

D、Usecasediagramisafunctionalmodelingofthesoftwaresystem.

答案:【Onlyhumanbeingcanbeanactorinausecasediagram.】3.單選題:Whichofthefollowingstatementiscorrect?_____在下面的關(guān)于用例圖的說法中,哪個是正確的?_____

選項:

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._____描述了要構(gòu)建的軟件的功能,其核心是描述參與者和系統(tǒng)之間的交互,而不是系統(tǒng)的內(nèi)部活動。

選項:

A、Usecasediagram

B、Classdiagram

C、Collaborationdiagram

D、Statediagram

答案:【Usecasediagram】6.單選題:WhichofthefollowingistrueofusecasemodelinginOOA?下列關(guān)于OOA中用例建模的描述哪一個是對的?

選項:

A、Asetofusecasesiswrittenforeachscenario.

B、Everyusecasehasonlyonepossiblescenario.

C、Ausecaseisaninstanceofascenario.

D、Ascenarioisaninstanceofausecase.

答案:【Ascenarioisaninstanceofausecase.】7.單選題:Whichofthefollowingstatementsaboutdynamicmodelingiswrong?_____關(guān)于動態(tài)建模的以下語句中哪一個是錯誤的?_____

選項:

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?_______一家公司想要開發(fā)一個軟件系統(tǒng)來管理訂單。每天,客戶通過傳真將訂單信息發(fā)送給銷售人員。然后,銷售員將信息輸入系統(tǒng)。那么,在這種情況下,本系統(tǒng)中下列哪個應(yīng)該是用例圖中的參與者?_______

選項:

A、Salesman

B、Customer

C、Orderinformation

D、Faxmachine

答案:【Salesman】第七章實現(xiàn)與集成第七章單元測試1.單選題:Whichofthefollowingstatementsiswrong?_____.以下哪個語句是錯誤的?_____。

選項:

A、Onestatementofathird-generationlanguagecanbecompiledto5or10machinecodeinstructions.

B、Onestatementofafourth-generationlanguagecanbecompiledto30oreven50machinecodeinstructions.

C、Java,C,andVBarethird-generationprogramminglanguages..

D、Fourth-generationlanguagecanbeselectedforimplementingadatabaseapplication.

答案:【Java,C,andVBarethird-generationprogramminglanguages..】2.單選題:Inthefollowingstatement,whichcannotbeagoodprogrammingpractice?_____在下面的語句中,哪個不能是寫代碼的標(biāo)準(zhǔn)?_____

選項:

A、Constructanappropriatelayoutofthecode.

B、Makeameaningfulnameofthevariablemeaningful

C、Useashortnameofthevariable

D、Addcomments

答案:【Useashortnameofthevariable】3.單選題:Ifadecisionbyaprogrammerresultsinaviolationofcodingstandards,theprogrammershould________.如果程序員的決定導(dǎo)致違反編碼標(biāo)準(zhǔn),程序員應(yīng)該________。

選項:

A、checkwiththemanagertodeterminewhetherthecodecanstandasitis

B、keepthecodeinviolationandhidethefact

C、rewritethecodetomeetstandards

D、arguethatthestandardsdonotapplytoeverykindofcode

答案:【checkwiththemanagertodeterminewhetherthecodecanstandasitis】4.單選題:Theprimarypurposeofcarefulandnicecodelayoutofasoftwaresystemisto__________.仔細和漂亮的軟件系統(tǒng)代碼布局的主要目的是__________。

選項:

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?下列哪些是自頂向下集成和實現(xiàn)的缺點?

選項:

A、Operationalmodulesmaynotbeadequatelytested.

B、Logicalmodulesmaynotbeadequatelytested.

C、Majordesignfaultsshowuplate.

D、Faultisolation

答案:【Operationalmodulesmaynotbeadequatelytested.】8.單選題:Whichofthefollowingwillbethelastonetobeconsideredwhenchoosingaprogramminglanguage?在選擇編程語言時,應(yīng)該最后考慮以下哪項?

選項:

A、productefficiency

B、applicationdomain

C、cost

D、personalemotion

答案:【personalemotion】9.單選題:Thefollowinggraphshowsthemodulesofasoftwaresystem,andthelineinthegraphshowstheinvocationrelationbetweenthemodules.Ifthesystemisimplementedandintegratedusingthebottom-uptype,module_________isthedriverofthemoduleb.下圖顯示了軟件系統(tǒng)的模塊,圖中的線顯示了模塊之間的調(diào)用關(guān)系。如果系統(tǒng)是使用自底向上類型實現(xiàn)和集成的,模塊_________是模塊b的驅(qū)動程序。

選項:

A、a

B、b

C、c

D、d

答案:【a】10.單選題:Whichofthefollowingaredisadvantagesofbottom-upintegrationandimplementation?下列哪些是自底向上集成和實施的缺點?I.Operationalmodulesmaynotbeadequatelytested.操作模塊測試不充分II.Logicalmodulesmaynotbeadequatelytested.邏輯模塊測試不充分III.Itpromotesresponsibility-drivendesign.促進了職責(zé)驅(qū)動設(shè)計

選項:

A、I,II,andIII

B、IIonly

C、IIIonly

D、IIandIIIonly

答案:【IIonly】11.單選題:Whichofthefollowingstatementsaboutgoodprogrammingpracticeiscorrect?_______以下語句中哪個關(guān)于良好的編程實踐的描述是正確的?______

選項:

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. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(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)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論