1 / 72

WARNING

35 min. 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 .

kinac
Download Presentation

WARNING

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 35 min 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. • These slides contain a lot of animations. For optimal results, watch in slideshow mode.

  2. What word is common to all three?

  3. models • What word is common to all three? [… are representations of something else]

  4. models … are not the real thing!

  5. models … are simpler than the real thing!

  6. models

  7. models … capture different aspects

  8. models … combat complexity

  9. models bigger roles in … are indispensable for bigger projects

  10. models Modelling your way out of complexity: Other useful CS2103/T, Lecture 10, Part 1, [Oct 21, 2016]

  11. models for what?

  12. models for what?

  13. i. for analysis ii. for communication models for what? iii. as a blueprint

  14. iii. as a blueprint Model-Driven Development

  15. i. for analysis ii. for communication models for what? iii. as a blueprint

  16. Most common use i. for analysis ii. for communication models for what? In CS2103? iii. as a blueprint

  17. Most common use i. for analysis ii. for communication Nope, we don’t use UML diagrams models for what? iii. as a blueprint

  18. UML models Structure diagrams Behavior diagrams Class diagrams Object diagrams Use cases Sequence diag. Behavior diagrams Structure diagrams …………………………… ……………………………. ……………………………. ……………………………. ……………………………. ……………………………. ……………………………. ……………………………. ……………………………. …………………………….

  19. UML models Structure diagrams Behavior diagrams Class diagrams Object diagrams Use cases Sequence diag. …………………………… ……………………………. ……………………………. ……………………………. ……………………………. ……………………………. ……………………………. ……………………………. ……………………………. …………………………….

  20. What is the object/class structure? Problem Domain

  21. Die FaceValue 1 plays Snakes&LaddersGame 2..* owns takes Player Turn 1 played on name id dieValue Piece 1 * is on Board 0..1 1 moves piece from Square 100 1 number moves piece to 1 1 Starts in Ends in has * OO Domain Model AutoMover Snake = Conceptual Class Diagrams Ladder

  22. Die FaceValue 1 plays Snakes&LaddersGame 2..* owns takes Player Turn 1 played on name id dieValue Piece 1 * is on Board 0..1 1 moves piece from Square 100 1 number moves piece to 1 1 Starts in Ends in has * OO Domain Model AutoMover Snake Ladder

  23. Which class is least likely to appear in an OODM? • Student • Grade • StudentArrayList • AcademicMentor domain {a|b|c|d} e.g. domain c 77577OR tinyurl.com/answerpost

  24. UML models Structure diagrams Behavior diagrams Class diagrams Object diagrams Use cases Sequence diag. ? …………………………… OO domain models ……………………………. ……………………………. ……………………………. ……………………………. ……………………………. ……………………………. ……………………………. …………………………….

  25. UML models Structure diagrams Behavior diagrams Class diagrams Object diagrams Use cases Sequence diag. …………………………… OO domain models ……………………………. ……………………………. ……………………………. ……………………………. ……………………………. ……………………………. ……………………………. …………………………….

  26. Package diagram

  27. Package diagram Deployment diagram

  28. Package diagram Deployment diagram Component diagram

  29. Package diagram Deployment diagram Composite structure diagram Component diagram

  30. UML models Structure diagrams Behavior diagrams Class diagrams Object diagrams Use cases Sequence diag. …………………………… OO domain models Package diagrams Deployment diagrams Component diagrams Composite structure diag. ……………………………. ……………………………. ……………………………. …………………………….

  31. UML models Structure diagrams Behavior diagrams Class diagrams Object diagrams Use cases Sequence diag. …………………………… OO domain models Package diagrams Deployment diagrams Component diagrams Composite structure diag. ……………………………. ……………………………. ……………………………. …………………………….

  32. What is the workflow?

  33. What is the workflow? Activity Diagram

  34. Show logo [first time use] Load file Show ‘loading’ screen Create file init file Activity Diagram Show file

  35. Show logo [first time use] Load file Show ‘loading’ screen Create file init file Activity Diagram Show file

  36. Show logo actions [first time use] Load file Show ‘loading’ screen Create file init file Activity Diagram Show file

  37. Show logo [first time use] Load file Show ‘loading’ screen Create file init file Activity Diagram Show file

  38. Show logo [first time use] Load file Show ‘loading’ screen Create file init file Activity Diagram Show file

  39. Show logo [first time use] Load file Show ‘loading’ screen Create file init file Activity Diagram Show file

  40. Show logo [first time use] Load file Show ‘loading’ screen Create file init file Activity Diagram Show file

  41. Show logo [first time use] Load file Show ‘loading’ screen Create file init file Activity Diagram Show file

  42. ABCEF • ADBCF • ABECF • ABCF • ABCEDF • ACBEF A B D E C F

  43. ABCEF • ADBCF • ABECF • ABCF • ABCEDF • ACBEF A B D E C F

  44. ABCEF • ADBCF • ABECF • ABCF • ABCEDF • ACBEF A B D E C F

  45. ABCEF • ADBCF • ABECF • ABCF • ABCEDF • ACBEF A B D E C F

  46. ABCEF • ADBCF • ABECF • ABCF • ABCEDF • ACBEF A B D E C F

  47. ABCEF • ADBCF • ABECF • ABCF • ABCEDF • ACBEF A B D E C F

  48. UML models Structure diagrams Behavior diagrams Class diagrams Object diagrams Use cases Sequence diag. ? Activity diagrams OO domain models Package diagrams Deployment diagrams Component diagrams Composite structure diag. ……………………………. ……………………………. ……………………………. …………………………….

More Related