mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 21:34:06 -06:00
vault backup: 2022-06-13 12:24:23
This commit is contained in:
parent
e19f1d414a
commit
2c9b6c9dd7
16
content/notes/i201-practice.md
Normal file
16
content/notes/i201-practice.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
title: "i201-practice"
|
||||||
|
aliases:
|
||||||
|
tags:
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
# Section A
|
||||||
|
|
||||||
|
## 1
|
||||||
|
a) sequence diagram - to document a *sequence* of particpant interactions required to carry out a use case
|
||||||
|
b)
|
||||||
|
1 - Actor
|
||||||
|
2 - Activation Bar
|
||||||
|
3 - message
|
||||||
@ -9,7 +9,7 @@ tags:
|
|||||||
---
|
---
|
||||||
|
|
||||||
- [coursework tiddlywiki](https://isgb.otago.ac.nz/infosci/INFO201/labs_release/raw/master/output/info201_labs.html#)
|
- [coursework tiddlywiki](https://isgb.otago.ac.nz/infosci/INFO201/labs_release/raw/master/output/info201_labs.html#)
|
||||||
- [assignments tiddlywiki](https://isgb.otago.ac.nz/info201/shared/assignments_release/raw/master/output/info201_assignments.html)W
|
- [assignments tiddlywiki](https://isgb.otago.ac.nz/info201/shared/assignments_release/raw/master/output/info201_assignments.html)
|
||||||
|
|
||||||
# Outline
|
# Outline
|
||||||
- [version control system](notes/version-control-systems.md)
|
- [version control system](notes/version-control-systems.md)
|
||||||
|
|||||||
@ -1,13 +0,0 @@
|
|||||||
---
|
|
||||||
title: "photos"
|
|
||||||
aliases:
|
|
||||||
tags:
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||

|
|
||||||

|
|
||||||

|
|
||||||

|
|
||||||

|
|
||||||

|
|
||||||
@ -29,7 +29,7 @@ These diagrams are:
|
|||||||
- back and forth process
|
- back and forth process
|
||||||
|
|
||||||
|
|
||||||
General overview example: [annotated example](https://i.imgur.com/1myG3rU.png)
|
General overview example: 
|
||||||
- time goes from top to bottom
|
- time goes from top to bottom
|
||||||
- however no specific time units
|
- however no specific time units
|
||||||
- can have actors as participants
|
- can have actors as participants
|
||||||
@ -62,25 +62,25 @@ relevant slide:
|
|||||||
|
|
||||||
|
|
||||||
# Messages
|
# Messages
|
||||||
[example](https://i.imgur.com/XedVmng.png)
|

|
||||||
- direction
|
- direction
|
||||||
- <- or ->
|
- <- or ->
|
||||||
- easier to under stand if most messages are ->
|
- easier to under stand if most messages are ->
|
||||||
- however this is not always possible
|
- however this is not always possible
|
||||||
- same object used by multiple other objects
|
- same object used by multiple other objects
|
||||||
- an object calls back to the object that called it
|
- an object calls back to the object that called it
|
||||||
- can be conditions (guards) [example](https://i.imgur.com/yWTcD1F.png)
|
- can be conditions (guards) 
|
||||||
- only sent if condition is true
|
- only sent if condition is true
|
||||||
- able to approximate if-then-else using multiple branches with exclusive conditions
|
- able to approximate if-then-else using multiple branches with exclusive conditions
|
||||||
- this is better done in activity diagram
|
- this is better done in activity diagram
|
||||||
- looping messages [example](https://i.imgur.com/tcFZ4bb.png)
|
- looping messages 
|
||||||
- an asterisk idicated looping
|
- an asterisk idicated looping
|
||||||
- repeat message until condition id false
|
- repeat message until condition id false
|
||||||
- send messge to each object in a collection
|
- send messge to each object in a collection
|
||||||
- may also be better in activity diagram
|
- may also be better in activity diagram
|
||||||
|
|
||||||
# Interaction frames (UML 2.x)
|
# Interaction frames (UML 2.x)
|
||||||
[example](https://i.imgur.com/V1Jhnd2.png)
|

|
||||||
- loop frame
|
- loop frame
|
||||||
- any kind of loop
|
- any kind of loop
|
||||||
- replaces * notation
|
- replaces * notation
|
||||||
@ -141,10 +141,10 @@ note navigability of domain
|
|||||||
|
|
||||||
sequence diagram
|
sequence diagram
|
||||||
|
|
||||||
- [part 1](https://i.imgur.com/PJJBZav.png)
|
- 
|
||||||
- [part 2](https://i.imgur.com/M3jRM8g.png)
|
- 
|
||||||
- [part 3](https://i.imgur.com/PhCYWsy.png)
|
- 
|
||||||
- [part 4](https://i.imgur.com/L0h4nb8.png)
|
- 
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user