{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

umlclass - 02 Modeling UML class diagrams 19 Jan 2011...

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

View Full Document Right Arrow Icon
02 Modeling: UML class diagrams 19 Jan 2011 CSCD08S Software Engineering 1 02 modeling CSCD08 Software Engineering 1 Intro to Software Modeling: UML Class Diagrams CSCD08 Software Engineering
Image of page 1

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

View Full Document Right Arrow Icon
02 Modeling: UML class diagrams 19 Jan 2011 CSCD08S Software Engineering 2 02 modeling CSCD08 Software Engineering 2 UML Overview boxshadowdwn You will be expected to demonstrate fluency in a few of the most widely used forms of UML: head2right Use cases head2right Sequence diagrams head2right Class diagrams boxshadowdwn Does this stuff really matter? boxshadowdwn Yes, and not just to satisfy a curriculum point. head2right UML has become the dominant notational tool in (academia and) industry for communicating requirements and designs for development. head2right Informal (napkin sketch of system design) and formal (working document to guide developers writing code). head2right If you can’t read and write UML, you’ll be in trouble.
Image of page 2
02 Modeling: UML class diagrams 19 Jan 2011 CSCD08S Software Engineering 3 02 modeling CSCD08 Software Engineering 3 Why Model? boxshadowdwn Natural language, s.a. English, imprecise, ambiguous head2right requirements head2right user stories boxshadowdwn Large software -> communication head2right requires precision, not ambiguity head2right at right level of detail/abstraction for task at hand boxshadowdwn Code is too detailed as basis for getting “big picture” understanding of modules boxshadowdwn Modeling helpful for communication and understanding of: head2right application domain (what’s that?) head2right system requirements head2right structure and behavior of the code you are about to write
Image of page 3

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

View Full Document Right Arrow Icon
02 Modeling: UML class diagrams 19 Jan 2011 CSCD08S Software Engineering 4 02 modeling CSCD08 Software Engineering 4 Why Model? boxshadowdwn Helps you to visualize what you want to build boxshadowdwn Creates a shared language among developers, designers, domain experts, testers, etc. boxshadowdwn Helps you express precise statements about structure and behavior boxshadowdwn Can facilitate prototyping and simulation boxshadowdwn Sets expectations and provides templates for implementation boxshadowdwn Allows you to explore scenarios without having to build them first boxshadowdwn Provides a structure to guide the process of transforming requirements into code (e.g. Iconix)
Image of page 4
02 Modeling: UML class diagrams 19 Jan 2011 CSCD08S Software Engineering 5 02 modeling CSCD08 Software Engineering 5 Class Diagrams boxshadowdwn Perhaps the most important for OO designs; expresses many details of an OO design: adapted from Easterbrook type
Image of page 5

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

View Full Document Right Arrow Icon
02 Modeling: UML class diagrams 19 Jan 2011 CSCD08S Software Engineering 6 02 modeling CSCD08 Software Engineering 6 Class Diagrams: Basic Building Blocks Window size: Size visibility: boolean display() hide() Class name attributes aka fields operations aka methods boxshadowdwn A class describes a group of objects with: head2right similar properties (attributes), head2right common behaviour (operations), head2right common relationships to other objects, head2right common meaning (“semantics”).
Image of page 6
Image of page 7
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