Download presentation
Presentation is loading. Please wait.
Published byPercival Smith Modified over 9 years ago
1
WARNING These slides are not optimized for printing or exam preparation. These are for lecture delivery only. These slides are made for PowerPoint 2010. They may not show up well on other PowerPoint versions. You can download PowerPoint 2010 viewer from here.here These slides contain a lot of animations. For optimal results, watch in slideshow mode. 35 min
2
What is common?
3
models What is common? [… are representations of something else]
4
models What is common? [… are representations of something else]
5
models … are not the real thing!
6
models … are simpler than the real thing!
7
models
8
… capture different aspects
9
models … combat complexity
10
models … are indispensable for bigger projects bigger roles in
11
models Modelling your way out of complexity: Other useful CS2103/T, Lecture 10, Part 2, [Oct 24, 2014]
12
models for what?
13
models for what?
14
i. for analysis iii. as a blueprint ii. for communication In CS2103? models for what? Most common use
15
models for what? Most common use Nope, we don’t use UML diagrams i. for analysis ii. for communication iii. as a blueprint
16
models for what? Most common use i. for analysis ii. for communication iii. as a blueprint
17
Mobile, desktop, etc. Java, C++, etc. Generate !
18
Class diagrams Object diagrams Use cases Sequence diag. UML models Structure diagramsBehavior diagrams ……………………………. …………………………… ……………………………. Behavior diagrams Structure diagrams
19
Class diagrams Object diagrams Use cases Sequence diag. UML models Structure diagramsBehavior diagrams ……………………………. …………………………… …………………………….
20
What is the object/class structure?
22
Snakes&LaddersGame Player plays Piece Board Square Turn number owns played on 100 takes is on 2..* 1 * AutoMover Starts in 1 1 * has Die FaceValue dieValue Ends in 1 moves piece from moves piece to 1 1 name id name id = Conceptual Class Diagrams 1 0..1 Snake Ladder
23
Snakes&LaddersGame Player plays Piece Board Square Turn number owns played on 100 takes is on 2..* 1 * AutoMover Starts in 1 1 * has Die FaceValue dieValue Ends in 1 moves piece from moves piece to 1 1 1 0..1 Snake Ladder name id name id *
24
Snakes&LaddersGame Player plays Piece Board Square Turn number owns played on 100 takes is on 2..* 1 * AutoMover Starts in 1 1 * has Die FaceValue dieValue Ends in 1 moves piece from moves piece to 1 1 1 0..1 Snake Ladder name id name id *
25
Which class is least likely to appear in an OODM? a)Student b)Grade c)StudentArrayList d)AcademicMentor domain {a|b|c|d} e.g. domain c 77577 OR tinyurl.com/answerpost Pause video
26
Class diagrams Object diagrams Use cases Sequence diag. UML models Behavior diagrams OO domain models …………………………… ……………………………. Structure diagrams
27
Class diagrams Object diagrams Use cases Sequence diag. UML models Structure diagramsBehavior diagrams OO domain models …………………………… …………………………….
28
Package diagram
29
Deployment diagram
30
Package diagram Deployment diagram Component diagram
31
Composite structure diagram Deployment diagram Package diagram
32
Class diagrams Object diagrams Use cases Sequence diag. UML models Structure diagramsBehavior diagrams OO domain models …………………………… Package diagrams Deployment diagrams Component diagrams Composite structure diag. …………………………….
33
Class diagrams Object diagrams Use cases Sequence diag. UML models Behavior diagrams OO domain models …………………………… ……………………………. Package diagrams Deployment diagrams Component diagrams Composite structure diag. Structure diagrams
37
Show logo Show ‘loading’ screen Load file Show file Create file [first time use] init file
39
Show logo Show ‘loading’ screen Load file Show file Create file [first time use] init file
40
Show logo Show ‘loading’ screen Load file Show file Create file [first time use] init file actions
41
Show logo Show ‘loading’ screen Load file Show file Create file [first time use] init file
42
Show logo Show ‘loading’ screen Load file Show file Create file [first time use] init file
43
Show logo Show ‘loading’ screen Load file Show file Create file [first time use] init file
44
Show logo Show ‘loading’ screen Load file Show file Create file [first time use] init file Action 2
45
Show logo Show ‘loading’ screen Load file Show file Create file [first time use] init file
46
Show logo Show ‘loading’ screen Load file Show file Create file [first time use] init file
47
Show logo Show ‘loading’ screen Load file Show file Create file [first time use] init file
48
Show logo Show ‘loading’ screen Load file Show file Create file [first time use] init file
49
A A B B F F E E i.ABCEF ii.ADBCF iii.ABECF iv.ABCF v.ABCEDF vi.ACBEF D D C C
50
A A B B F F E E i.ABCEF ii.ADBCF iii.ABECF iv.ABCF v.ABCEDF vi.ACBEF D D C C
51
Are the other paths allowed? A A B B F F E E i.ABCEF ii.ADBCF iii.ABECF iv.ABCF v.ABCEDF vi.ACBEF D D C C activity {1|2|3|4|5} e.g. activity 2 77577 OR tinyurl.com/answerpost Pause video
52
A A B B F F E E i.ABCEF ii.ADBCF iii.ABECF iv.ABCF v.ABCEDF vi.ACBEF D D C C
53
A A B B F F E E i.ABCEF ii.ADBCF iii.ABECF iv.ABCF v.ABCEDF vi.ACBEF D D C C
54
A A B B F F E E D D C C
55
A A B B F F E E D D C C
56
Class diagrams Object diagrams Use cases Sequence diag. UML models Behavior diagrams OO domain models Activity diagrams ……………………………. Package diagrams Deployment diagrams Component diagrams Composite structure diag. Structure diagrams
57
Class diagrams Object diagrams Use cases Sequence diag. UML models Structure diagramsBehavior diagrams OO domain models Activity diagrams ……………………………. Package diagrams Deployment diagrams Component diagrams Composite structure diag.
59
An object, a component, or a whole system. Who’s there? hmmp… come here baby Go away Ha? Knock knock…
60
PRE_GAME LOST READY new IN_PLAY WON deduce [incorrect deduction] [correct deduction] [correct deduction && no more cells to deduce] deduce [correct deduction && more cells to deduce] /start timer /stop timer
61
PRE_GAME LOST READY new IN_PLAY WON deduce [incorrect deduction] [correct deduction] [correct deduction && no more cells to deduce] deduce [correct deduction && more cells to deduce] /start timer /stop timer
62
PRE_GAME LOST READY new IN_PLAY WON deduce [incorrect deduction] [correct deduction] [correct deduction && no more cells to deduce] deduce [correct deduction && more cells to deduce] /start timer /stop timer
63
PRE_GAME LOST READY new IN_PLAY WON deduce [incorrect deduction] [correct deduction] [correct deduction && no more cells to deduce] deduce [correct deduction && more cells to deduce] /start timer /stop timer states
64
PRE_GAME LOST READY new IN_PLAY WON deduce [incorrect deduction] [correct deduction] [correct deduction && no more cells to deduce] deduce [correct deduction && more cells to deduce] /start timer /stop timer state transitions
65
PRE_GAME LOST READY new IN_PLAY WON deduce [incorrect deduction] [correct deduction] [correct deduction && no more cells to deduce] deduce [correct deduction && more cells to deduce] /start timer /stop timer triggers
66
PRE_GAME LOST READY new IN_PLAY WON deduce [incorrect deduction] [correct deduction] [correct deduction && no more cells to deduce] deduce [correct deduction && more cells to deduce] /start timer /stop timer guard conditions
67
PRE_GAME LOST READY new IN_PLAY WON deduce [incorrect deduction] [correct deduction] [correct deduction && no more cells to deduce] deduce [correct deduction && more cells to deduce] /start timer /stop timer activity
68
PRE_GAME LOST READY new IN_PLAY WON deduce [incorrect deduction] [correct deduction] [correct deduction && no more cells to deduce] deduce [correct deduction && more cells to deduce] /start timer /stop timer
70
Class diagrams Object diagrams Use cases Sequence diag. UML models Structure diagramsBehavior diagrams OO domain models Activity diagrams State Machine Diagrams ……………………………. Package diagrams Deployment diagrams Component diagrams Composite structure diag.
71
Class diagrams Object diagrams Use cases Sequence diag. UML models Structure diagramsBehavior diagrams OO domain models Activity diagrams State Machine Diagrams ……………………………. Package diagrams Deployment diagrams Component diagrams Composite structure diag.
72
Timing diagram
73
Interaction overview diagram
74
Timing diagram Interaction overview diagram
75
Communication diagram Timing diagram Interaction overview diagram
76
Class diagrams Object diagrams Use cases Sequence diag. UML models Structure diagramsBehavior diagrams OO domain models Activity diagrams State Machine diagrams Timing diagrams Interaction overview diag. Communication diag. Package diagrams Deployment diagrams Component diagrams Composite structure diag.
77
Class diagrams Object diagrams Use cases Sequence diag. UML models Structure diagramsBehavior diagrams OO domain models Activity diagrams State Machine diagrams Timing diagrams Interaction overview diag. Communication diag. Package diagrams Deployment diagrams Component diagrams Composite structure diag.
79
Use Be aware
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.