首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
下图是________________设计模式的类图,该设计模式的目的是________________,图中,Decorator和Component之间是________________关系,ConcreteDecorator和Decorator之间是_
下图是________________设计模式的类图,该设计模式的目的是________________,图中,Decorator和Component之间是________________关系,ConcreteDecorator和Decorator之间是_
admin
2021-01-11
63
问题
下图是________________设计模式的类图,该设计模式的目的是________________,图中,Decorator和Component之间是________________关系,ConcreteDecorator和Decorator之间是________________关系。
选项
A、依赖
B、关联
C、继承
D、组合
答案
C
解析
本题考查软件设计模式的基础知识。要求学生了解常用的设计模式。本题考查装饰模式(Decorator),其目的是动态地给一个对象附加额外的职责,不必通过子类就能灵活地增加功能。在上述类图中,Decorator和Component之间是关联关系和实现关系,注意这里的Component是接口。ConcretcDecorator和Decorator之间是继承关系。
转载请注明原文地址:https://kaotiyun.com/show/MGPZ777K
本试题收录于:
软件评测师上午基础知识考试题库软考中级分类
0
软件评测师上午基础知识考试
软考中级
相关试题推荐
某政府B部门准备进行电子政务信息系统的建设,建设内容包括旧机房的改造、网络综合布线、计算机设备和网络设计的集成,应用软件的开发。项目前期的工作已完成并经过了批准,先决定对该项目进行公开招标。于2012年6月5日发布了招标公告,凡是具有计算机信息系统集成国家
刘工是M公司的项目经理,有着丰富的项目管理经验,最近负责公司某信息系统集成项目的项目管理工作。为了更好地对项目的开发过程进行监控,保证项目顺利完成,拟采用网络计划技术对项目进度进行管理,刘工根据总体要求,经过仔细分析,得到了一张工作计划表,如表18-1所示
某企业承接了某政府部门的系统集成项目。项目投标费用为5万元,预计每个子项目开发完成后的维护成本为50万元,项目初步的WBS分解结果如下图所示:该项目的项目经理在完成以上成本预算后,制订了全面的成本管理计划,安排了新来的小王负责监控项目成本。小王认为成
(2009年下半年)系统集成公司A于2009年1月中标某市政府B部门的信息系统集成项目。经过合同谈判,双方签订了建设合同,合同总金额1150万元,建设内容包括:搭建政府办公网络平台,改造中心机房,并采购所需的软硬件设备。A公司为了把项目做好,将
(2009年上半年)小赵是一位优秀的软件设计师,负责过多项系统集成项目的应用开发,现在公司因人手紧张,让他作为项目经理独自管理一个类似的项目,他使用瀑布模型来管理该项目的全生命周期,如下所示:项目进行到实施阶段,小赵发现在系统定义阶段所制订的
阅读下列说明,回答问题l至问题4,将解答填入答题纸的对应栏内。【说明】某系统集成公司b承建了a公司的办公自动化系统建设项目,任命张伟担任项目经理。该项目所使用的硬件设备(服务器、存储、网络等)和基础软件(操作系统、数据库、中间
以下关于电子政务与传统政务比较的描述中,错误的是(6)。
沟通是项目管理的一项重要工作,如图5-2所示为人与人之间的沟通模型。该模型说明了沟通的发送者收集信息、对信息加工处理、通过通道传送、接收者接收并理解、接收者反馈等若干环节。由于人们的修养和表达能力的差别,在沟通时会产生各种各样的障碍。认知障碍最常出现在(5
随机试题
按会计工作内容划分,会计制度可以分为
在我国经济运行中,对资源配置起决定性作用的是()。
已知连续函数f(x)满足f(x)=x2+x∫01f(x)dx,则f(x)=().
()是除海洋产业和空间科学技术产业外一切产业项目的支撑基础。
基坑边坡失稳坍塌的实质是边坡土体中的剪应力大于土体的抗剪强度,而土体的抗剪强度决定于土体的内摩擦力和内聚力。因此,凡是能影响土体中剪应力、抗剪强度的都会影响边坡的稳定。下列因素中,不影响边坡稳定的是()。
下列属于市场管理法范围的法是()。
试论法治国家的标志。
下面关于计算机病毒的描述中,正确的是( )。
要使文本框可输入多行文字,要更改的默认选项是
请根据以下各小题的要求设计VisualBasic应用程序(包括界面和代码)。(1)在名称为Form1的窗体上画一个名称为Frame1、标题为“目的地”的框架,在框架中添加三个复选框,名称分别为Check1、Check2、Check3,其标题分别是“上海
最新回复
(
0
)