更多“composite granulator ”相关问题
  • 第1题:

    下图所示为(46)设计模式,

    A.组件(Component)

    B.适配器(Adapter)

    C.组合(Composite)

    D.装饰器(Decorator)


    正确答案:C
    题中的图,即为组合模式的标准UML图,所以应对软件设计师考试,要求掌握常见设计模式的UML图示。组合模式将对象组合成树形结构以表示“部分-整体”的层次结构,使得用户对单个对象和组合对象的使用具有一致性。

  • 第2题:

    YouaredefiningareasonyourOracledatabase.Whichofthefollowingprofileareascanbeusedtocontroltheresourceusagefortheotherfour?()

    A.LOGICAL_READS_PER_SESSION

    B.CONNECT_TIME

    C.COMPOSITE_LIMIT

    D.CPU_PER_SESSION

    E.PRIVATE_SGA


    参考答案:C

  • 第3题:

    In a ______boiler the hot gases from the furnace pass through the tubes while the water is on the outside.

    A.water-tube

    B.fire-tube

    C.exhaust gas

    D.Composite


    正确答案:B

  • 第4题:

    Every value in arelation must be().

    A.composite(复合的)and single-valued

    B.single-valued

    C.notnull and single-valued

    D.simple and single-valued


    答案D

  • 第5题:

    Process EIGRP 1 is redistributing routes from process OSPF 2. Which two of the following methods may be used to set the metrics of the redistributed routes?()

    A. Let the metrics default.

    B. Set the metric components using the redistri bute command‘s metric keyword.

    C. Set the metric components using the default - metric router subcommand.

    D. Set the integer (composite) metric using the redistribute command‘s metric keyword.


    参考答案:B, C

  • 第6题:


    A.代理(Proxy)
    B.生成器(Builder)
    C.组合(Composite)
    D.观察者(Observer)

    答案:C
    解析:

    选项A代理(Proxy)模式适用于在需要比较通用和复杂的对象指针代替简单的指针的时候,常见情况有:远程代理 (Remote Proxy) 为一个对象在不同地址空间提供据不代表;虚代理 (Virtual Proxy) 根据需要创建开销很大的对象;保护代理 (Protection Proxy) 控制对原 始对象的访问,用于对象应该有不同的访问权限的时候;智能指引 (Smart Reference) 取代了简单的指针,它在访问对象时执行一些附加操作。

    选项B生成器/建造者(Builder)模式将一个复杂的对象的构建与它的表示分离,使得同样的构建过程可以创建不同的表示。

    选项C组合(Composite)模式。将对象组合成树形结构以表示“部分-整体”的层次结构。它使得客户对单个对象和复合对象的使用具有一致性。

    选项D观察者(Observer)模式定义了对象间的一种一对多依赖关系,使得每当一个对象改变状态,则所有依赖于它的对象都会得到通知并被自动更新。发生改变的对象称为观察目标,被通知的对象称为观察者。一个观察目标可以对应多个观察者。