|
|
 |
|
|
|
|
dynamic binding to construct programs that are collections of interacting objects |
|
|
|
 |
|
|
|
|
object program the machine language version of a source program |
|
|
|
 |
|
|
|
|
observer an operation that allows us to observe the state of an instance of an ADT without changing it |
|
|
|
 |
|
|
|
|
one-dimensional array a structured collection of components, all of the same type, that is given a single name. Each component (array element) is accessed by an index that indicates the component's position within the collection. |
|
|
|
 |
|
|
|
|
operating system a set of programs that manages all of the computer's resources |
|
|
|
 |
|
|
|
|
out-of-bounds array index an index value that, in C++, is either less than zero or is greater than the array size minus one |
|
|
|
 |
|
|
|
|
overriding reimplementing a member function inherited from a parent class |
|
|
|
 |
|
|
|
|
parameter list a mechanism by which functions communicate with each other |
|
|
|
 |
|
|
|
|
peripheral device an input, output, or auxiliary storage device attached to a computer |
|
|
|
 |
|
|
|
|
pointer type a simple data type consisting of an unbounded set of values, each of which addresses or otherwise indicates the location of a variable of a given type. Among the operations defined on pointer variables are assignment and test for equality. |
|
|
|
 |
|
|
|
|
polymorphic operation an operation that has multiple meanings depending on the type of the object to which it is bound at run time |
|
|
|
 |
|
|
|
|
postcondition an assertion that should be true after a module has executed |
|
|
|
 |
|
|
|
|
precision the maximum number of significant digits |
|
|
|
 |
|
|
|
|
precondition an assertion that must be true before a module begins executing |
|
|
|
 |
|
|
|
|
programming planning, scheduling, or performing a task or an event |
|
|
|
 |
|
|
|
|
programming language a set of rules, symbols, and special words used to construct a program |
|
|
|
 |
|
|
|
|
promotion (widening) the conversion of a value from a lower type to a higher type according to a programming language's precedence of data types |
|
|
|
 |
|
|
|
|
range of values the interval within which values of a numeric type must fall, specified in terms of the largest and smallest allowable values |
|
|
|
 |
|
|
|
|
record (structure, in C++) a structured data type with a fixed number of components that are accessed by name, not by index. The components may be heterogeneous (of different types). |
|
|
|
 |
|
|
|
|
recursive algorithm a solution that is expressed in terms of (1) smaller instances of itself and (2) a base case |
|
|
|
 |
|
|
|
|
recursive call a function call in which the function being called is the same as the one making the call |
|
|
|
 |
|
|
|
|
recursive definition a definition in which something is defined in terms of smaller versions of itself |
|
|
|
 |
|
|
|
|
reference parameter a formal parameter that receives the location (memory address) of the caller's actual parameter |
|
|
|
 |
|
|
|
|
reference type a simple data type consisting of an unbounded set of values, each of which is the address of a variable of a given type. The only operation defined on a reference variable is initialization, after which every appearance of the variable is implicitly dereferenced. |
|
|
|
 |
|
|
|
|
representational error arithmetic error that occurs when the precision of the true result of an arithmetic operation is greater than the precision of the machine |
|
|
|
 |
|
|
|
|
reserved word a word that has special meaning in C++; it cannot be used as a programmer-defined identifier |
|
|
|
 |
|
|
|
|
scope the region of program code where it is legal to reference (use) an identifier |
|
|
|
 |
|
|
|
|
scope rules the rules that determine where in the program an identifier may be |
|
|
|
|
|