Download presentation
Presentation is loading. Please wait.
Published byGilbert Terry Modified over 8 years ago
1
1 Advanced Computer Programming Software Modeling UML Copyright © Texas Education Agency, 2013
2
Overview Why document UML Class diagrams Relationship diagrams Instance diagram 2Copyright © Texas Education Agency, 2013
3
Why document? Documentation can provide many benefits: Provide a “road map” to new programmers on how the project is constructed Demonstrate how difficult it might be to add functionality to a program Clarify construction of program components Identify interaction between program components Copyright © Texas Education Agency, 2013IT: Advanced Computer Programming – Software Modeling33
4
UML UML (Unified Modeling Language) is a widely used format for communicating the structure of software. UML diagrams can be used to explain how a program works or as an architectural guideline on how to build a program. Copyright © Texas Education Agency, 2013IT: Advanced Computer Programming – Software Modeling44
5
UML Class Diagram Copyright © Texas Education Agency, 2013IT: Advanced Computer Programming – Software Modeling5 Top section – class name may identify > Middle section – class attributes variablename:type Bottom section – class methods methodname(parameter types):return type +public #protected -private Underlinedstatic 5
6
Relationship Diagrams 6Copyright © Texas Education Agency, 2013
7
Instance Diagrams 7 Instance diagrams are useful for communicating about the state of an object. They represent the object at a certain point during execution of a program. They are particularly well suited for Test Plans. Copyright © Texas Education Agency, 2013
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.