Glossary (a-f) Flashcards

1
Q

abstract class

A

A class whose primary purpose is to define an interface.

An abstract class defers some or all of its implementation to subclasses. 
An abstract class cannot be instantiated.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

abstract coupling

A

A reference to a type of object, as opposed to a concrete object.

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

abstract operation

A

An operation that declares a signature but doesn’t implement it.

An abstract operation corresponds to a pure virtual member function.

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

acquaintance relationship

A

A class that refers to another class has an acquaintance with that class.

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

aggregate object

A

An object that’s composed of subobjects.

The subobjects are called the aggregate’s parts, and the aggregate is responsible for them.

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

aggregation relationship

A

The relationship of an aggregate object to its parts.

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

black-box reuse

A

A style of reuse based on object composition.

Composed objects reveal no internal details to each other.

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

class

A

A class defines an object’s interface, representation and implementation.

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

class diagram

A

A diagram that depicts classes, their internal structure and operations, and the static relationships between them.

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

class operation

A

An operation targeted to a class, not an individual object.

In C++, class operations are are called static member functions.

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

concrete class

A

A class having no abstract operations. It can be instantiated.

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

constructor

A

An operation that is automatically invoked to initialize new instances.

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

coupling

A

The degree to which software components depend on each other.

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

delegation

A

An implementation mechanism in which an object forwards or delegates a request to another
object.

The delegate carries out the request on behalf of the original object.

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

design pattern

A

A design pattern systematically names, motivates, and explains

a general design that addresses a
recurring design problem in object-oriented systems.

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

destructor

A

In C++, an operation that is automatically invoked to finalize an object that is about to be deleted.

17
Q

dynamic binding

A

The run-time association of a request to an object and one of its operations.

Only virtual functions are dynamically bound.

18
Q

encapsulation

A

The result of hiding a representation and implementation in an object.

The representation is not visible and cannot be accessed directly from outside the object.

19
Q

framework

A

A set of cooperating classes that makes up a reusable design for a specific class of software.

Frameworks provides architectural guidance by partitioning the design into abstract classes and defining their responsibilities and collaborations.