SYSC3313 - Chapter 2 More UML Diagrams (Besides State Diagrams)

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/22

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 1:53 AM on 4/15/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

23 Terms

1
New cards

Use case diagrams

Define a sequence of interactions between actors and the system.

Connect actors with use cases they participate in.

<p>Define a sequence of interactions between actors and the system.</p><p>Connect actors with use cases they participate in.</p>
2
New cards

Include and Extend Relationship in UML Use Case Diagrams

Include: a use case always includes another use case as part of its behavior

Extend: Optional extension of a use case under certain conditions

<p>Include: a use case always includes another use case as part of its behavior</p><p>Extend: Optional extension of a use case under certain conditions</p>
3
New cards

Elevator System Use Case Diagram Example

knowt flashcard image
4
New cards

Telephone system use case diagram example

knowt flashcard image
5
New cards

UML class diagrams

A structural diagrams that shows system classes, their attributes and operations, and relationships between them.

Class = building block

component = collection of building blocks

6
New cards

Classes in UML class diagrams

Describes general structure of as system including the types of components, their attributes, and operations (Elevator, door, button)

7
New cards

Objects in UML diagrams

Used to represent a specific instance of a class, showing how it behaves or interacts during system execution (door1 opening or elevator1 moving)

Used by sequence and communication diagrams to model runtime interactions

8
New cards

Relationships in UML class diagrams

  • association: general connection

  • multiplicity: specifies number of instances that are related

  • navigability: indicates direction of access between classes

  • aggregation: weak whole-part relationship, where the part can exist on its own

  • composition: strong whole-part relationship, where the part cannot exist on its own

  • generalization: inheritance

<ul><li><p>association: general connection</p></li><li><p>multiplicity: specifies number of instances that are related</p></li><li><p>navigability: indicates direction of access between classes</p></li><li><p>aggregation: weak whole-part relationship, where the part can exist on its own</p></li><li><p>composition: strong whole-part relationship, where the part cannot exist on its own</p></li><li><p>generalization: inheritance</p></li></ul><p></p>
9
New cards

Class diagram example of simle elevator system

knowt flashcard image
10
New cards

UML Interaction Diagrams

  • sequence diagrams

  • communication diagrams

Indicate how objects interact

11
New cards

UML sequence diagram

Shows how objects interact over time by exhcaning messages in a specific order.

<p>Shows how objects interact over time by exhcaning messages in a specific order.</p>
12
New cards

Elevator Hall Call Use Case Example

knowt flashcard image
13
New cards

UML Communication Diagrams

Illustrates how objects interact by showing ojbects as boxes connected by links, along with the messages exchanged between them.

Compared to sequence diagrams, it emphasizes the sturcutal relationships between objects while still representing the order of interactions.

lifeline: object that participates in an interaction

<p>Illustrates how objects interact by showing ojbects as boxes connected by links, along with the messages exchanged between them.</p><p>Compared to sequence diagrams, it emphasizes the sturcutal relationships between objects while still representing the order of interactions.</p><p>lifeline: object that participates in an interaction</p>
14
New cards

Communication diagram online book shop example

knowt flashcard image
15
New cards

Active vs Passive Objects in UML Sequence and Communication diagrams

Objects that have their own control logic are called active objects.

Some objects don’t have their own thread or process. They only exists when a process or thread invokes them. These are passive objects.

<p>Objects that have their own control logic are called active objects.</p><p>Some objects don’t have their own thread or process. They only exists when a process or thread invokes them. These are passive objects.</p>
16
New cards

Example of concurrent sequence diagram

knowt flashcard image
17
New cards

Asynchronous vs Synchrnous Messages in Concurrent Sequence and Communication Diagrams

asynchronous: shown with open arrowhead, allow sender to continue without waiting for reply or completion.

synchronous: shown with filled arrowhead, required sender to wait for completion, with or without a reply.

<p>asynchronous: shown with open arrowhead, allow sender to continue without waiting for reply or completion.</p><p>synchronous: shown with filled arrowhead, required sender to wait for completion, with or without a reply.</p>
18
New cards

Concurrent Sequence Diagram with different messages example

knowt flashcard image
19
New cards

Concurrent communication diagram with different messages

knowt flashcard image
20
New cards

Deployment diagrams

Show physical configuration of a system, inlcuding nodes (usually computers) and teh connections between them (like LAN or WAN).

Nodes are represented as cubes, and connections as labeled links indicating the type of network. You can also show the objects deployed on each node and support multiple node instances.

<p>Show physical configuration of a system, inlcuding nodes (usually computers) and teh connections between them (like LAN or WAN). </p><p>Nodes are represented as cubes, and connections as labeled links indicating the type of network. You can also show the objects deployed on each node and support multiple node instances.</p>
21
New cards

Robot Control System Deployment Diagram Example

knowt flashcard image
22
New cards

ABS system deployment diagram example

knowt flashcard image
23
New cards

Timing diagram

Time-annotated sequence diagram that shows the execution of concurrent tasks over time.

Time is marked explicitly along the veritcal axis. Lifelines represent tasks and shaded segments indicate when the task is actively executing and for how long.

<p>Time-annotated sequence diagram that shows the execution of concurrent tasks over time.</p><p>Time is marked explicitly along the veritcal axis. Lifelines represent tasks and shaded segments indicate when the task is actively executing and for how long.</p>