IBM Ce - UML

11 Questions | Total Attempts: 356

SettingsSettingsSettings
Please wait...
IBM Ce - UML

.


Questions and Answers
  • 1. 
    Which diagram is NOT commonly used for illustrating use cases?
    • A. 

      System sequence diagram

    • B. 

      Activity diagram

    • C. 

      Use case diagram

    • D. 

      Collaboration diagram

  • 2. 
    If you need to show the physical relationship between software components and the hardware in the delivered system, which diagram can you use?
    • A. 

      Component diagram

    • B. 

      Deployment diagram

    • C. 

      Class diagram

    • D. 

      Network diagram

  • 3. 
    What is true about UML stereotypes?
    • A. 

      A stereotype is used for extending the UML language

    • B. 

      A stereotyped class must be abstract.

    • C. 

      The stereotype {frozen} indicates that the UML element cannot be changed.

    • D. 

      UML Profiles can be stereotyped for backward compatibility.

  • 4. 
    What can UML interfaces be used for?
    • A. 

      To provide concrete classes with the stereotype "interface"

    • B. 

      To program in Java and C++, but not in C#

    • C. 

      To define executable logic that can be reused in several classes

    • D. 

      To specify required services for types of objects

  • 5. 
    Inheritance relationships are represented in the UML notation by
    • A. 

      Lines with solid diamond at one end

    • B. 

      Lines with hollow diamond at one end

    • C. 

      Lines with hollow triangular arrow at one end

    • D. 

      Lines with solid triangular arrow at both ends

  • 6. 
    Key elements of use-case diagrams are
    • A. 

      People, computer

    • B. 

      Actors, use cases

    • C. 

      People, classes and objects

    • D. 

      Uses, cases

  • 7. 
    In class diagram, inside each class what is to be printed?
    • A. 

      Its name, attributes, operations and derived class

    • B. 

      Its name, attributes and operations

    • C. 

      Its name and attributes

    • D. 

      Its name and operations

  • 8. 
    Aggregation (encapsulation) relationship is represented in UML notation by
    • A. 

      Line with solid diamond at one end

    • B. 

      Line with hollow diamond at one end

    • C. 

      Line with an arrow at one end

    • D. 

      Line without an arrow

  • 9. 
    The object is represented in UML notation by
    • A. 

      A comment or a explanatory note associated with a class

    • B. 

      A comment or a explanatory note associated with a class

    • C. 

      A rectangular box with the instantiated object, separated from the class name by a ":", and underlined, to show an instantiation.

    • D. 

      A thin vertical line with key method calls shown by outward arrow

  • 10. 
    The interface is represented in UML notation by
    • A. 

      Circle with the name below the circle

    • B. 

      Dotted eclipse with the name inside the eclipse

    • C. 

      Rectangular box with the name of interface inside it

    • D. 

      Dotted circle with the name inside it

  • 11. 
    Which diagram in UML is used to describe the physical components their distribution and association?
    • A. 

      Component diagram

    • B. 

      Object diagram

    • C. 

      Deployment diagram

    • D. 

      Interaction diagram