Lab%204%20-%20Activity%20Diagrams

Lab%204%20-%20Activity%20Diagrams - LAB 4 ACTIVITY DIAGRAMS...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
L AB 4 A C T I V I T Y D I A G R A M S ACTIVITY DIAGRAM NOTATIONS Activity diagrams are tools used to model workflow, business process, and procedural logic. As such, one of their uses is to graphically model a use case narrative. Below are the major notational symbols for an activity diagram: Name Shape Use Initial node Represents the start of the process. Normally placed in the top and/or left of activity diagram. Action Represents individual steps in sequence. Actions should be named with a verb followed by the object of the verb's action. Flow Represents the sequence of actions. Most flows do not need words to identify them. Decision Represents a decision point. Has one incoming flow and two or more outgoing flows. The outgoing flows should use words in brackets [] to identify the conditions under which that flow is taken. Merge Represents the combining of two or more flows previously separated. Has multiple incoming flows and one outgoing flow. Does not need words to identify the flows. Fork Has one incoming flow and multiple outgoing flows. The outgoing flows represent actions that can occur in any order or concurrently. CNIT 180: Lab 4 – Activity Diagrams Page 1
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Join Has multiple incoming flows and one outgoing flows. Represents the end of concurrent processing begun by a fork. All flows coming into the join must be completed before processing can continue. Activity Final Represents the conclusion of the process. Normally placed in the bottom and/or right of the activity diagram. The activity diagram below for the final steps of an e-commerce transaction use all of the above notations. Talk through the logic that is documented in the diagram. PARTITIONS The above activity diagram shows you what happens, but it does not tell you who does what. To do that you need to draw the activity diagram with partitions. Partitions, sometimes called swim lanes, are used to divide the activity diagram into areas for each relevant actor or object class.
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern