資源描述:
《2005級《軟件需求分析、設(shè)計與建模》試卷_a卷》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫。
1、《面向?qū)ο蠓治雠c設(shè)計》試卷OOA&OODFinalExamStudentNo._________________Name________________Score____________1.SingleChoice&ShortAnswer(eachchoiceworths2points,eachblankworths1points,25pointstotal)1)AUMLcompositionis()A.aprocessforinstantiatingUMLmodelsB.theinterrelationamongc
2、omponentsandpackagesC.aspecificdependencyamongobjectsD.anaggregationwithadditionalsemantics2)WhichofthefollowingarenottheExtensionMechanismsofUML?()A.TaggedValueB.ConstraintC.ConcurrentD.Stereotype3)ConstraintscanberepresentedinUMLby:()A.[textstring]B.{textstri
3、ng}C.notesD.constraint4)UMLinterfacesareusedto:()A.defineanAPIforallclasses.B.programinJava,butnotinC++orSmalltalk.C.defineexecutablelogictoreuseacrossclasses.D.specifyrequiredservicesfortypesofobjects.5)WhichofthefollowingareNOTTRUEaboutthestrengthsandweakness
4、esofactivitydiagrams?()A.Activitydiagramsaregoodatenumeratingobjectcollaborationstoaccomplishatask.B.Activitydiagramsaregoodatexploringtheinteractionsrelatedtooneormoreusecases.C.Itisdifficulttodiscernexactlyhowtomaptheactivitydiagramactionstoobjectmodelspecifi
5、cs.D.Sinceactivitydiagramsallowparallelbehaviormodeling,theyaregoodforworkflowmodeling.6)Whatistrueaboutmessagesinscenarios?()A.Theoperationofthecallingobject.B.Theoperationofthecalledobject.C.Itissentbytheactortothesystem.D.Itissentbythesystemtotheactor.7)dyna
6、micmodeldescribethesystemchangewithtime.includes:_________,__________and_____________.8)WhatarethefourviewinRoseModel?______________,_________________,______________and________________.9)WhichtwoUMLdiagramscanrepresentconcurrentprocessing?______________and_____
7、___________.10)TheUMLarchitectureisafour-layermetamodelingarchitecture.Thisarchitectureisaproveninfrastructurefordefiningtheprecisesemanticsrequiredbycomplexmodels,Whichinclude________________,_________________,________________and_________________.2.Explainthef
8、ollowingConceptsandGiveanExample.(eachquestionworths3points.15pointstotal)1)CollaborationDiagramsa)Generalization2)Transition1)Stereotype2)Encapsulation3.Drawclassdiagramfor