uml英文考試題及答案_第1頁
uml英文考試題及答案_第2頁
uml英文考試題及答案_第3頁
uml英文考試題及答案_第4頁
uml英文考試題及答案_第5頁
已閱讀5頁,還剩6頁未讀, 繼續(xù)免費閱讀

下載本文檔

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

文檔簡介

uml英文考試題及答案

一、單項選擇題(每題2分,共10題)1.WhichofthefollowingisastructuraldiagraminUML?A.ActivitydiagramB.SequencediagramC.ClassdiagramD.Statechartdiagram2.Inaclassdiagram,anassociationwithasolidlineandanarrowrepresents:A.AggregationB.CompositionC.GeneralizationD.Dependency3.WhatdoesadashedarrowinaUMLdiagramusuallyindicate?A.InheritanceB.AssociationC.DependencyD.Aggregation4.Ause-casediagramismainlyusedto:A.DescribethedynamicbehaviorofasystemB.ShowthestructureofclassesinasystemC.Definethefunctionalityofasystemfromtheuser'sperspectiveD.Representthestatesofanobject5.Whichdiagramisusedtoshowtheflowofcontrolinasystem?A.ClassdiagramB.ActivitydiagramC.ObjectdiagramD.Componentdiagram6.Inasequencediagram,theverticallinesrepresent:A.MessagesB.LifelinesC.ObjectsD.Classes7.Aggregationisaspecialtypeof:A.AssociationB.GeneralizationC.DependencyD.Realization8.Astatechartdiagramisusedtomodel:A.ThestructureofasystemB.ThebehaviorofanobjectovertimeC.TherelationshipsbetweencomponentsD.Theinteractionsbetweenusersandthesystem9.WhichofthefollowingisnotaUMLdiagramtype?A.DeploymentdiagramB.FlowchartC.PackagediagramD.Communicationdiagram10.Inaclassdiagram,afilleddiamondatoneendofanassociationrepresents:A.AggregationB.CompositionC.GeneralizationD.Dependency二、多項選擇題(每題2分,共10題)1.WhichofthefollowingarebehavioraldiagramsinUML?A.ClassdiagramB.ActivitydiagramC.SequencediagramD.Statechartdiagram2.Theelementsinause-casediagraminclude:A.ActorsB.UsecasesC.AssociationsD.Packages3.Inaclassdiagram,relationshipscanbe:A.AssociationB.GeneralizationC.DependencyD.Realization4.ThepurposesofusingUMLdiagramsare:A.TovisualizethesystemB.TospecifythesystemC.ToconstructthesystemD.Todocumentthesystem5.Whichdiagramsareusedtoshowtheinteractionsbetweenobjects?A.SequencediagramB.CommunicationdiagramC.ActivitydiagramD.Statechartdiagram6.Adeploymentdiagramshows:A.HardwarenodesB.SoftwarecomponentsdeployedonnodesC.CommunicationlinksbetweennodesD.Classesinasystem7.Inastatechartdiagram,statescanbe:A.SimplestatesB.CompositestatesC.FinalstatesD.Initialstates8.Thecomponentsinacomponentdiagramcanbe:A.ExecutablefilesB.LibrariesC.DatabasesD.Classes9.GeneralizationinUMLrepresents:A.An"is-a"relationshipB.InheritanceC.ArelationshipbetweenasuperclassandsubclassesD.Arelationshipbetweenobjects10.ThenotationsinaUMLclassdiagramforaclassinclude:A.ClassnameB.AttributesC.OperationsD.Stereotypes三、判斷題(每題2分,共10題)1.Aclassdiagramcanonlyshowthestaticstructureofasystem,notitsbehavior.()2.Inasequencediagram,messagesaresenthorizontallybetweenlifelines.()3.Ause-casediagramcanrepresenttheinternalimplementationdetailsofasystem.()4.Aggregationimpliesastrongerownershiprelationshipthancomposition.()5.Anactivitydiagramismainlyusedtomodeltheflowofdatainasystem.()6.Astatechartdiagramcanonlymodelthestatesofasingleobject.()7.ApackagediagramisusedtogrouprelatedUMLelements.()8.Adeploymentdiagramisconcernedwiththephysicaldeploymentofsoftwarecomponents.()9.Inaclassdiagram,ageneralizationrelationshipisrepresentedbyadashedarrow.()10.Acommunicationdiagramandasequencediagramcanbothshowobjectinteractions,butwithdifferentfocuses.()四、簡答題(每題5分,共4題)1.WhatisthemaindifferencebetweenaggregationandcompositioninUML?Aggregationrepresentsa"has-a"relationshipwithweakownership.Thepartcanexistindependentlyofthewhole.Compositionimpliesstrongownership,wherethepartcannotexistwithoutthewhole.2.Explainthepurposeofause-casediagram.Ause-casediagramdefinesthefunctionalityofasystemfromtheuser'sperspective.Itshowsactors(usersorexternalsystems)andtheusecases(functions)theycanperform,helpingtounderstandsystemrequirements.3.Whatinformationdoesaclassdiagramprovide?Aclassdiagramshowsthestaticstructureofasystem.Itincludesclasses,theirattributes,operations,andrelationshipssuchasassociations,generalizations,anddependencies.4.Howdoesasequencediagramdifferfromacommunicationdiagram?Asequencediagramemphasizesthechronologicalorderofmessagesbetweenobjects,showingtheflowofinteractionsovertime.Acommunicationdiagramfocusesontherelationshipsbetweenobjectsandthemessagesexchangedbetweenthem,withlessemphasisontime.五、討論題(每題5分,共4題)1.DiscusstheimportanceofUMLinsoftwaredevelopment.UMLhelpsinvisualizing,specifying,constructing,anddocumentingsoftwaresystems.Itallowsstakeholderstounderstandthesystem'sstructureandbehavior,promotescommunication,andsupportsthedevelopmentprocessfromdesigntoimplementation.2.Analyzetheadvantagesanddisadvantagesofusingstatechartdiagrams.Advantages:Theycanmodelcomplexobjectbehaviorovertime,handlestatesandtransitionswell.Disadvantages:Canbecomplexforsimplesystems,andover-detaileddiagramsmaybehardtounderstand.3.HowcanUMLdiagramsimprovethecollaborationbetweendevelopersandnon-technicalstakeholders?UMLdiagramsprovideacommonvisuallanguage.Non-technicalstakeholderscanunderstandsystemfunctionalitythroughuse-casediagrams,whiledeveloperscanuseotherdiagramsfor

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論