OOP 2 Flashcards

1
Q

It is a standardized general-purpose graphical language for modeling object oriented software.

A

Unified Modeling Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is UML?

A

Unified Modeling Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

They developed UML.

A

Object Management Group

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What year was UML developed?

A

1990s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

UML combines the ideas of these three people.

A

Rumbaugh, Booch, and Jacobson

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Used to graphically describe the design of a software.

A

Unified Modeling Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

It provides a vocabulary and the rules for combining words for the purpose of communication.

A

Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

It is a language whose vocabulary and rules focus on the conceptual and physical representation of a system.

A

Modeling Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

It is the standard language for software blueprints.

A

Unified Modeling Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Two approaches in Modeling a software system

A

Algorithmically
Object-Oriented

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

An approach in modeling that becomes hard to focus on as the requirements change.

A

Algorithmically

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

An approach in modeling that models more closely to real world entities

A

Object-Oriented

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the three major elements in the conceptual model of UML

A

Building Blocks
Rules
Common Mechanisms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the Building Blocks of UML?

A

Things
Relationships
Diagrams

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the kinds of things in the UML?

A

Structural Things
Behavioral Things
Grouping Things
Annotational Things

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Are the nouns of UML Models

A

Structural Things

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What are the structural things collectively called?

A

Classifiers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What elements do Structural Things represent?

A

Conceptual or Physical

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

These are the mostly static parts of a model.

A

Structural Things

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What are the 7 Structural Things

A

Class
Interface
Collaborations
Use Case
Component
Nodes
Active Class
(Artifacts)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Is a description of a set of objects that share the same attributes, operations, relationships, and semantics.

A

Class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What are the Conceptual or Logical Things?

A

(Class)
Interface
Collaboration
Use Case
Component
Active Class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What are the Physical Things?

A

Nodes
Artifacts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

It is a collection of operations that specify a service of class or component.

A

Interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
It describes the externally visible behavior of that element
Interface
26
It might represent the complete behavior of a class or component or only a part of that behavior
Interface
27
It defines a set of operation specifications but never a set of operation implementations.
Interface
28
Defines an interaction and is a society of roles and other elements that work together to provide some cooperative behavior that's bigger than sum of all the elements.
Collaboration
29
Is a description of sequences of actions that a system performs that yield observable results of value to a particular actor.
Use Case
30
It is used to structure the behavioral things in a model.
Use Case
31
It is realized by collaboration.
Use Case
32
Is a class whose objects own one or more processes or threads and therefore can initiate control activity.
Active Class
33
Is just like a class except that its objects represent elements whose behavior is concurrent with other elements
Active Class
34
Is a modular part of the system design that hides its implementation behind a set of external interfaces.
Component
35
It is a physical and replaceable part of a system that contains physical information
Artifact
36
Is a physical element that exists at run time and represents a computational resource, generally having at least some memory and, often, processing capability.
Node
37
Are the dynamic parts of UML models
Behavioral Things
38
These are the verbs of a model, representing behavior over time and space
Behavioral Things
39
Three Primary Kinds of Behavioral Things
Interactions State Machines Activities
40
Is a behavior that comprises a set of messages exchanged among a set of objects or roles within a particular context to accomplish a specific purpose.
Interaction
41
Is a behavior that specifies the sequences of states an object or an interaction goes through during its lifetime in response to events together with its responses to those events.
State Machine
42
It is a behavior that specifies the sequence of steps a computational process performs
Activity
43
Are the organizational parts of UML models
Grouping Things
44
These are the boxes into which a model can be decomposed.
Grouping Things
45
The one and only primary kind of grouping thing
Packages
46
It is a general-purpose mechanism for organizing the design itself, as opposed to classes, which organize implementation constructs.
Package
47
It only exists at development time and not at run time
Package
48
Exist in both development time and run time.
Components
49
Are the explanatory parts of UML models
Annotational Things
50
The one and only primary kind of Annotational Thing
Note
51
Is simply a symbol of rendering constraints and comments attached to an element or a collection of elements
Note
52
The four kinds of relationships in UML
Dependency Association Generalization Realization
53
Is a semantic relationship between two model elements in which a change to one element may affect the semantics of the other element
Dependency
54
Is a structural relationship among classes that describes a set of links
Association
55
A connection among objects that are instances of the classes
Link
56
Is a special kind of association representing a structural relationship between a whole and its parts.
Aggregation
57
a relationship in which the specialized element builds on the specification of the generalized element
Generalization
58
Another term for a specialized element
Child
59
Another term for generalized element
Parent
60
Is a semantic relationship between classifiers, wherein one classifier specifies a contract that another classifier guarantees to carry out.
Realizations
61
Two places where you'll encounter realization relationships
between interfaces and the classes or components that realize them between use cases and the collaborations that realize them
62
Is the graphical presentation of a set of elements, most often rendered as a connected graph of vertices and paths
Diagram
63
A _____ is a projection into a ____.
Diagram; System
64
Represents and elided view of the elements that make up a system.
Diagram
65
Shows a set of classes, interfaces, and collaborations and their relationships.
Class Diagram
66
The most common diagram found in modeling object-oriented systems
Class Diagram
67
Address the static design view of a system.
Class Diagram
68
Shows a set of objects and their relationships
Object Diagram
69
Represent static snapshots of instances of the things found in class diagrams
Object Diagram
70
Shows an encapsulated class and its interfaces, ports, and internal structure consisting of nested components and connectors.
Component Diagram
71
Shows a set of use cases and actors and their relationships
Use Case Diagram
72
A special kind of class
Actors
73
Kinds of Interaction Diagrams
Sequence Diagrams Communication Diagrams
74
Shows an interaction, consisting of a set of objects or roles, including messages that may be dispatched among them.
Interaction Diagrams
75
Is an interaction diagram that emphasizes the time-ordering of messages
Sequence Diagram
76
Is an interaction diagram that emphasizes the structural organization of the objects or roles that send and receive messages
Communication Diagram
77
Emphasize temporal ordering
Sequence Diagram
78
Emphasize data structure through which messages flow
Communication Diagram
79
Shows the actual times at which messages are exchanged
Timing Diagram
80
Shows a state machine, consisting of states, transitions, events, and activities.
State Diagram
81
Shows the structure of a process or other computation as the flow of control and data from step to step within the computation.
Activity Diagram
82
They are especially important in modeling the function of a system and emphasize the flow of control among objects
Activity Diagram
83
Shows the configuration of run-time processing nodes and the components that live on them
Deployment Diagram
84
Shows the physical constituents of a system on the computer
Artifact Diagram
85
Shows the decomposition of the model itself into organization units and their dependencies
Package Diagram
86
Is an interaction diagram that shows actual times across different objects or roles, as opposed to just relative sequences of messages.
Timing Diagram
87
Is a hybrid of an activity diagram and a sequence diagram
Interaction Overview Diagram
88
_____ takes precedence over _____!
Abstraction; Precision
89
What principle states the 20/80 rule?
Pareto Rule
90
What are the main principles shown on class diagrams
Classes Associations Generalization Attributes Operations
91
It represents the class and the name of the class inside it
Box
92
Three Compartments of a Box
1. For name of class 2. For attributes 3. For operations
93
Symbols used in class notation
-, #, +
94
Class notation symbol that means private
hyphen (-)
95
Class notation symbol that means protected
pound (#)
96
Class notation symbol that means public
plus (+)
97
It is a relationship between two classes and is shown by a solid line between two classes
Association
98
What do you call the instance of an association?
Link
99
Is a group of links with a common structure and common sesmantics
Association
100
It indicates how many objects of the class at one end of the association can be linked to a single instance of the class at the other end of the association
Multiplicity
101
Three types of Multiplicity
One-to-one One-to-many Many-to-many
102
What does 0...1 mean in multiplicity?
Zero or One
103
What does * mean in multiplicity?
from zero to any positive integer
104
What does 1...* mean in multiplicity?
from one to any positive integer
105
What are 1 and * respectively called in the form 1...*?
Lowerbound; Upperbound
106
What is the default association name assumed when no association name is given?
'has'
107
Is an association in which one class belongs to a collection
Aggregation
108
are special associations that represent a 'has a' or a 'whole/part' relationship among peers
Aggregations
109
Is also known as a strong aggregation
Composition
110
An aggregation is represented by what symbol?
Diamond
111
A strong aggregation is represented by what symbol?
Solid Diamond
112
Where is the diamond symbol attached in an aggregation?
attached to the aggregate
113
Is the relationship between a more general class and a more specific class
Generalization
114
It is represented with a small triangle pointing to the general class.
Generalization
115
What rule does a generalization follow?
'is a' rule