zoukankan      html  css  js  c++  java
  • View Assessment Result: MultipleChoice Quiz 2


    UML class diagrams can describe which of the following?

       1. The internal structure of classes
       2. Relationships between classes
    (a) I only
    (b) I and II
    (c) None
    (d) II only
    Correct answer is     (b)

    In a UML class diagram's representation of a class, the top, middle, and lower rectangular compartments respectively describe the _____ of the class.
    (a) attributes, methods, and name
    (b) name, attributes, and methods
    (c) attributes, methods, and constants
    (d) name, methods, and constants

    Correct answer is     (b)

    A relationship that exists between two specific instances of an object is known as a(n)
    (a) aggregation
    (b) link
    (c) association
    (d) specialization

    Correct answer is     (b)

    A binary association is said to exist between two classes when
    (a) one class belongs to the same package as the other class
    (b) one class is a subtype of the other class
    (c) an object of one class is instantiated in the same method as an object of the other class
    (d) an object of one class requires an object of the other class

    Correct answer is     (d)

    Consider the following UML class diagram.
     
    The diagram describes a
    (a) class without methods
    (b) self-containing class
    (c) one-to-one relationship
    (d) relationship between a subclass and a superclass

    Correct answer is     (b)

    Consider the following UML class diagram.
     
    According to the diagram, which of the following statements is (are) true?

       1. ClassB is a specialization of ClassA.
       2. ClassA is a generalization of ClassC.
       3. ClassC is involved in a self-containment loop.
    (a) I, II, and III
    (b) I and II only
    (c) I and III only
    (d) II and III only
    Correct answer is (a)

    A collection typically models a _____ relationship.
    (a) zero-to-one
    (b) many-to-many
    (c) one-to-one
    (d) one-to-many

    Correct answer is     (d)

    If a class has an association with itself, then the class contains
    (a) a method that calls itself
    (b) a method that calls another method within the same class
    (c) an attribute that references an object of the same class
    (d) its own superclass

    Correct answer is     (c)

    When using noun-phrase analysis to model a software system, which of the following should typically be eliminated from the list of potential classes?

       1. References to the software system itself
       2. Nouns that imply roles between objects
       3. Synonyms to other nouns in the list
    (a) III only
    (b) II and III only
    (c) I and III only
    (d) I, II, and III

    Correct answer is     (d)

    An object model describes which of the following?

       1. Attributes of classes
       2. Methods of classes
       3. Relationships between classes
    (a) I and II only
    (b) I, II, and III
    (c) I and III only
    (d) II and III only

    Correct answer is     (b)

  • 相关阅读:
    腾讯TDW:大型Hadoop集群应用[转载]
    [转]常见分布式系统数据分布解析
    一种基于Storm的可扩展即时数据处理架构思考
    storm
    storm
    精华文章
    Dubbo使用解析及远程服务框架
    职责链实现的apache.chain使用
    设计模式之享元模式
    SVN安装与eclipseSVN插件基本使用
  • 原文地址:https://www.cnblogs.com/vivizhyy/p/3394925.html
Copyright © 2011-2022 走看看