PPP Flashcards

1
Q

abstract class

A

a class that cannot be directly used to creat objects; often used in defining an interface to derviced classes. A class is made abstract by having pure virtual function or protected constructor.

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

address

A

a value that allows us to find an object in a computers memory

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

algorithm

A

a procedure or formula for solving a problem; a finite series of computational steps to produce a result

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

alias

A

an alternative way to referring to an object; often a name, pointer or reference

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

argument

A

a value passed to a function or a template, in which it is accessed through a parameter

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

assertion

A

a statement inserted into a program to state that something must always be true at this point in the program

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

base class

A

a class used as the base of a class hierarchy. Typically has one or more virtual functions

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

bit

A

basic unit or information, valued 0 or 1.

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

byte

A

basic unit of addressing, typically holding 8 bits.

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

class

A

a user defined type that may contain data members, function members, and member types.

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

concrete class

A

a class for which objects can be created

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

constructor

A

an operation that initializes an object. Typically establishes an invariant and often acquires resources needed for an object to be used.

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

inveriant

A

something that must always be true at a given point of a program; typically used to describe the state (set of values) of an object or the state of a loop before entry into the repeated statement

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

reference

A

a value describing the location of a typed value in memory (2) a variable holding such a value.

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

container

A

object that holds elements (other objects)
ex:std::vector<int> myVector;</int>

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

declaration

A

the specification of a a name with its type in a program

17
Q

definition

A

a declaration of an entity that allocates memory

18
Q

derived class

A

a class derived from one or more base classes

19
Q

destructor

A

an operation that is implicity invoked when an object is destroyed, often releases resources if made to do so.

20
Q

scope

A

the region of a program source code in which a name can be referred to.

21
Q

subtype

A

derived type; a type that has all properties of a type and possibly more

22
Q

supertype

A

base type; a type that has a subset of the properties of a type

23
Q

iteration

A

repetition of a task or activity

24
Q
A