True/False Questions for Class Diagram

  • 1 A UML note symbol in the class diagram may represent Interfaces. False View Answer

  • 2 User-defined compartments CANNOT be added to a class box in the class diagram True View Answer

  • 3 An association class allows you to treat an association itself as a class, and model it with attributes, operations, and other features True View Answer

  • 4 In class diagrams use the diamond ended line to show global, parameter variable, local variable, and static-method False View Answer

  • 5 In class diagram use the "attribute text notation" for data type objects and the "association line notation" for others. True View Answer

  • 6 A method in class diagram is the result of static modeling, which was identified during dynamic modeling in interaction diagram. True View Answer

  • 7 A method is shown with a UML note symbol stereotyped with «method» in class diagram. True View Answer

  • 8 In class diagram attributes are usually assumed private if no visibility is given True View Answer

  • 9 The third blank compartment in a class diagram, represents that the class has no behavior. True View Answer

  • 10 Association in class diagram is shown by a solid line with arrow at one end. True View Answer

  • 11 Association in class diagram is shown by a dashed line with arrow at one end. False View Answer

  • 12 Dependency in class diagram is shown by a solid line with arrow at one end. False View Answer

  • 13 Dependency in class diagram is shown by a dashed line with arrow at one end. True View Answer

  • 14 The most common format to distinguish the Class (Font) from the Package (java.awt) is its unofficial format java.awt.Font. True View Answer

  • 15 Classes and interfaces are two classifiers in class diagram. True View Answer

  • 16 Designing class diagram is static modeling. True View Answer

Contact Us

support@subexpert.com
Write to Us View Help
Subject Expert Logo

Subject Expert

Learn and Evaluate

Follow Us
© 2020 - Subject Expert