查看更多
当前 - 选择题 - 专业英语
中等
单选题
2020年5月第47题
#了解即可
#超纲

Unified Modeling Language (UML) is a widely used method of visualizing and documenting an information system. The UML can be used to develop(【object models】) , in which an object represents a person, place, event, or transaction that is significant to the information system. Systems analysts define an object's attributes during the(【systems design process】)。 An object also has(【methods】) ,which are tasks or functions that the object performs when it receives a message, or command, to do so. A(n)(【class】)is a group of similar objects. If objects are similar to nouns, attributes are similar to adjectives that describe the characteristics of an object. Objects can have a specific attribute called a(n)(【state】), which of an object is an adjective that describes the object's current status. All objects within a class share common attributes and methods, so a class is like a blueprint, or template for all the objects within the class.

浓缩知识点

统一建模语言UML是信息系统领域广泛应用的可视化与文档化工具,核心可用于构建对象模型,对象映射对系统有重要意义的各类实体,如人、场所、事件或事务。对象的属性一般在系统设计阶段由分析人员定义,用于刻画对象特征;对象接收消息或指令后执行的具体任务与功能被称为方法,这是对象实现交互与功能的核心载体。类是拥有相同属性与方法的相似对象的集合,相当于创建对象的蓝图或模板,类的具体实例化个体称为对象实例。需注意区分UML中的易混淆概念:参与者是用例图中与系统交互的外部实体,并非对象集合;组件代表系统内可替换的功能模块,和类的对象集合属性不同。此外,对象可包含特殊的状态属性,用于描述对象的当前运行状态,这是动态刻画对象特征的关键属性。UML的对象模型是面向对象分析与设计的核心,类与对象的关系是面向对象思想的核心体现,能支撑系统从需求梳理到设计、实现的全流程建模工作。

正确答案
B

本题考察的是UML面向对象分析与设计的核心概念,包括对象、类、属性、方法、状态等。
问题1
A选项 database models:用于表示数据结构和关系,属于数据库设计范畴,不是UML描述对象的主要模型,错误。
B选项 object models:UML可以用来开发对象模型,其中对象代表对信息系统重要的事物,这是正确答案。
C选项 event models:关注事件触发与响应,不符合题意,错误。
D选项 static system models:描述静态结构的模型,范围更广,不特指UML对象模型,错误。
所以选择 B。

问题2
A选项 systems maintenance process:是系统运行后的维护阶段,不涉及对象属性定义,错误。
B选项 systems implementation process:是将设计转化为实际系统的阶段,非属性定义阶段,错误。
C选项 systems design process:对象属性在系统设计阶段由分析人员定义,正确。
D选项 systems testing process:测试阶段是验证系统,不涉及定义属性,错误。
所以选择 C。

问题3
A选项 methods:对象的方法是其能执行的操作或功能,符合题意,正确。
B选项 interactions:表示对象之间的交互,不是对象自身功能的定义,错误。
C选项 interfaces:定义类对外暴露的方法集合,但不是直接描述对象功能的术语,错误。
D选项 behaviors:行为可以描述对象表现,但在UML术语中,对象的具体可执行操作叫方法,错误。
所以选择 A。

问题4
A选项 actor:用例图中代表与系统交互的外部实体,不是相似对象的集合,错误。
B选项 instance:是类的具体实现个体,不是类的概念,错误。
C选项 component:代表系统中的可替换部分,不是对象集合,错误。
D选项 class:类是相似对象的集合,具有相同的属性和方法,正确。
所以选择 D。

问题5
A选项 state:状态是描述对象当前情况的属性,正确。
B选项 constant:常量是不可变的数据,不是描述对象状态的术语,错误。
C选项 instance:对象的具体化,不是属性,错误。
D选项 member:成员是类中的变量或方法,范围不同于状态,错误。
所以选择 A。

联系我们
隐私协议
用户协议
微信公众号
知乎
小红书
浙ICP备2021029036号
@2022-2026
嘉兴市安芯网络科技有限公司 版权所有