OOAD Chapter 5: Activity Diagram
10 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is represented by a rectangular box in an object node?

  • A control token
  • An activity edge
  • A noun and its state (correct)
  • A verb phrase

What is the direction of the flow of control and objects in an activity diagram?

  • Across the page and from top to bottom
  • Up the page and from right to left
  • Diagonally across the page
  • Down the page and from left to right (correct)

What is the primary difference between a control token and a data token?

  • Control tokens are used for activity edges, while data tokens are used for object nodes
  • Control tokens do not contain data, while data tokens do (correct)
  • Control tokens are used for control flow, while data tokens are used for data flow
  • Control tokens are used for object nodes, while data tokens are used for activity edges

What should be used to name activities and actions in an activity diagram?

<p>Verb phrases (D)</p> Signup and view all the answers

When should an activity diagram be used?

<p>When making a dynamic model of any process (B)</p> Signup and view all the answers

What is the purpose of using [else] guard in an activity diagram?

<p>To indicate every branch (B)</p> Signup and view all the answers

What is the term for an activity edge that is a channel for control tokens?

<p>Control flow (C)</p> Signup and view all the answers

Who are the authors of the book 'The Unified Modeling Language User Guide'?

<p>Booch, Rumbaugh, and Jacobson (C)</p> Signup and view all the answers

What is the term for an activity edge that is a channel for data tokens?

<p>Data flow (D)</p> Signup and view all the answers

What is the rule for token flow through nodes in an activity diagram?

<p>The same rules apply to control and data tokens, except that data is extracted from consumed tokens and added to produced tokens (A)</p> Signup and view all the answers

More Like This

OOAD Chapter 5: Activity Diagram
10 questions
CSC 2210 Object Oriented Analysis & Design
40 questions
CSC 2210: Activity Diagrams Quiz
40 questions
UML Activity Diagrams Quiz
51 questions
Use Quizgecko on...
Browser
Browser