问题 单项选择题

It should go without saying that the focus of UML is modeling. However, what that means, exactly, can be an open-ended question. (1) is a means to capture ideas, relationships,decisions, and requirements in a well-defined notation that can be applied to many different domains. Modeling not only means different things to different people, but also it can use different pieces of UML depending on what you are trying to convey. In general, a UML model is made up of one or more (2) . A diagram graphically represents things, and the relationships between these things. These (3) can be representations of realworld objects,pure software constructs, or a description of the behavior of some other objects. It is common for an individual thing to show up on multiple diagrams; each diagram represents a particular interest, or view, of the thing being modeled. UML 2.0 divides diagrams into two categories: structural diagrams and behavioral diagrams. (4) are used to capture the physical organization of the things in your system, i.e., how one object relates to another. (5) focus on the behavior of elements in a system. For example, you can use behavioral diagrams to capture requirements, operations, and internal state changes for elements.

A.Activity diagrams

B.Use-case diagrams

C.Structural diagrams

D.Behavioral

答案

参考答案:D

解析:[参考译文] 不用说,UML的聚焦点是建模。然而,这就意味着它是个开放式问题。建模是一种以规范好的符号(这些符号可以应用于许多不同的领域)记录概念、关系、决策和需求的方法。建模不仅意味着对不同的人有不同的事物,也可以根据你的需求来使用不同的UML块。一般意义上,UML由一个或多个图组成。图能够形象化地表示事物以及这些事物之间的联系。这些事物能代表现实世界中的物体、纯软件结构或者一些其他物体行为的描述。在UML中用多个图形表示单个物体是非常普遍的;每个图形代表被建模事物的某个特定的方面。UML 2.0将图形划分为两个范畴:结构图和行为图。结构图用于记录系统中事物的物理组织以及与其他模块怎样联系。行为图则把重心放在系统中元素的行为上。例如,你可以用行为图记录需求、操作以及元素的内部状态的变化。

选择题
名词解释