Glossary (i-w) Flashcards

1
Q

white-box reuse

A

A style of reuse based on class inheritance.

A subclass reuses the interface and implementation of
its parent class, but it may have access to otherwise private aspects of its parent.

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

parameterized type

A

A type THAT LEAVES some constituent types unspecified.

The unspecified types are supplied as parameters at the point of use.

In C++, parameterized types are called templates.

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

object composition

A

Assembling or composing objects to get more complex behavior.

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

toolkit

A

A collection of classes that provides useful functionality but does not define the design of an application.

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

object

A

A run-time entity that packages both data and the procedures that operate on that data.

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

subtype

A

A type that contains an interface inherited from a supertype

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

signature

A

An operation’s signature defines its name, parameters, and return value.

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

operation

A

The procedure AN OBJECT PERFORMS when it receives a request.

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

protocol

A

Extends the concept of an interface to include the allowable sequences of requests.

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

subsystem

A

An independent group of classes that COLLABORATE TO FULFILL a set of responsibilities.

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

polymorphism

A

The ability to substitute objects of matching interface for one another at run-time.

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

supertype

A

The parent type from which a type inherits.

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

interaction diagram

A

A diagram that shows the flow of requests between objects.

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

handle

A

A value that identifies an object.

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

reference

A

a variable that contains a handle

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

overriding

A

Redefining an inherited operation in a subclass.

17
Q

interface

A

The set of ALL signatures defined by an object’s operations.

The interface DESCRIBES the set of requests to which an object can respond.

18
Q

type

A

The name of a particular interface.

19
Q

inheritance

A

A relationship that defines one entity in terms of another.

Interface inheritance defines a new interface in terms of one or more existing interfaces.

Implementation inheritance defines a new implementation in terms of one or more existing implementations.

Class inheritance combines interface inheritance and implementation inheritance.

20
Q

object diagram

A

A diagram that depicts a particular object structure at run-time.

21
Q

instance variable

A

A piece of data that defines part of an object’s representation.

C++ uses the term data member.

22
Q

receiver

A

The target object of a request.