Home
Flashcards
Preview
C++
Home
Get App
Take Quiz
Create
What does UML stand for?
Unified Modeling Language
Describe architecture centric
is central to all the development phases - not features
easier to see the big picture
easier to modify and evolve
How is UP risk focused?
Encourages risk factors to be identified and handled early
Name 4 UML criticisms
too big
hard to learn
works better with more object-oriented systems then non-object-oriented systems
hard to move models from one tool to another
What are many of the principles behind UML based upon?
The notion of objects
Describe an 'object'
a person, place, event, or thing about which we want to capture information.
What do each object have?
properites (or attributes)
What is the 'state' of an object?
the value of its properites and relations with other objects at a point in time
What are behaviours decribed with?
methods (or operations)
Instead of primary or foreign keys, what does UML use?
each instance is assigned a unique identifier when it's created.
What is UP?
Unified Software Development or
Unified Process
Describe UP
a popular iterative and incremental software development process framework
4 benifits of UP
quickly move from deliverable to deliverable
early testing
early feedback
early risk reduction
Describe a class
a general template we use to define and create specific instances or objects
What are the 5 requirements of a well-formed design class?
completeness and sufficiency
primitiveness
high cohesion
low coupling
aggregation vs. inheritance
What 2 places do design classes come from?
1.
problem domain
- refinement of analysis classes by adding implementation details
2.
Solution domain
- provides technical tools that allow you to implement the system
What are the 4 tools in a
solution domain
?
reusable components
utility class libraries
databases
GUI frameworks
Describe
operation
in a class
high-level logical specification of a piece of functionality
Describe
method
in a class
full specified function that can be implemented as source code
Describe class primitiveness
should not offer multiple ways of doing the same thing
Describe class high cohesion
easy to understand
most desirable feature of a class
a cohesive class has a small set of responsibilites that are related
Describe class
low coupling
class association should be limited to those which are necessary for realization of responsiabilites
4 things an operation/method may have in a class
visibility
name
parameter list
return type
Name 3 types of methods
constructor
query
update
What is a constructor method?
create new instances of a class
What is a query method?
determine the state of an object and make information about that state available to the system
What is an update method?
change the value of some or all of the object's attributes, resulting in a change of state
Describe
Associations
represent associations between instances of classes
both ends of each line can have a role name associated with it
multiplicity indicates lower and upper bounds for the participating objects
How are constraints represented in a class diagram?
inside { } - the only rule
What does a
Generalization
do?
They describe the hierarchical relationship between classes
|
------------------
| | |
What does
Aggregation
do?
They are relationships that define whole/part relationships.
/\
/ \
/ \
/ \
What is an association class?
describes a relationship between two classes or between instances of two classes
Author
djon
ID
177703
Card Set
C++
Description
UML and BOOST Midterm
Updated
2012-10-15T20:58:41Z
Home
Flashcards
Preview