Interaction Diagrams

  • UML Interaction Diagrams
    • Sequence diagram
    • Communication diagram
    • Strengths and Weaknesses of Sequence diagrams
    • Strengths and Weaknesses of Communication...
      View Complete Description
      ×

      Topic Summary

      • UML Interaction Diagrams
        • Sequence diagram
        • Communication diagram
        • Strengths and Weaknesses of Sequence diagrams
        • Strengths and Weaknesses of Communication Diagrams
      • Interaction Diagrams Motivation
      • Common UML Interaction Diagram Notation
      • Examples
      • Basic Sequence Diagram Notation
      • Basic Communication Diagram Notation
Topic Questions:
69
MCQs T/F FiB SQ
18 27 18 6
Question Type Legends

Easy

Medium

Difficult

Multiple Choice Questions for Interaction Diagrams

  • 1 The ______ allows only one instance of a class. It is not possible to create more than one instances.
    1. Singleton Pattern
    2. None
    3. Observer PAttern
    4. no idea

  • 2 In sequence diagram each new object is added to the
    1. left
    2. rigth
    3. bottom
    4. all of above

  • 3 Sequence diagrams consume _____ space.
    1. horizontal
    2. vertical
    3. both a and b
    4. none

  • 4 UML has which diagram that captures the dynamic modeling while designing an operation contract?
    1. Domain Model
    2. Operation Contracts
    3. Communication Diagram
    4. Package Diagram

  • 5 Critical region of code within which only one thread can run is shown in sequence diagrams by:
    1. alt
    2. region
    3. opt
    4. loop

  • 6 Which of the following is a drawback of communication diagrams?
    1. In-efficient use of space
    2. Fewer notation options
    3. Rich notation options
    4. Consumes horizontal spance

  • 7 In design model which type of artifact in the following clearly shows sequence or time ordering of messages between objects?
    1. Communication Diagrams
    2. Sequence Diagrams
    3. System Sequence Diagrams
    4. Interaction Diagrams

  • 8 Which one is basic message expression syntax in sequence diagram
    1. return = message(ParameterType: param1,ParameterType: param2,…) : returnType
    2. return = message(param1:ParameterType, param2:ParameterType,…) : returnType
    3. returnType = message(param1:ParameterType, param2:ParameterType,…) : return
    4. return = message(param1:ParameterType, param2:ParameterType,…)

  • 9 What is used in the following for dynamic object modeling:
    1. Interaction Diagrams
    2. Domain Model
    3. Class Diagram
    4. System Sequence Diagrams

  • ×

    Hidden Questions!

    Some MCQs are not visible. Usually teachers hides the visibility if they are few in number. Subject Expert recommends them to have more than 70+ questions against the topic and make them public.

Contact Us

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

Subject Expert

Learn and Evaluate

Follow Us
© 2020 - Subject Expert