< previous page page_a45 next page >

Page A45
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
accessed, given the point where that identifier is declared
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
self-documenting code program code containing meaningful identifiers as well as judiciously used clarifying comments
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
semantics the set of rules that determines the meaning of instructions written in a programming language
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
shallow copy an operation that copies one class object to another without copying any pointed-to data
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
short-circuit (conditional) evaluation evaluation of a logical expression in left-to-right order with evaluation stopping as soon as the final truth value can be determined
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
side effect any effect of one function on another that is not a part of the explicitly defined interface between them
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
significant digits those digits from the first nonzero digit on the left to the last nonzero digit on the right (plus any zero digits that are exact)
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
simple (atomic) data type a data type in which each value is atomic (indivisible)
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
software computer programs; the set of all programs available on a computer
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
sorting arranging the components of a list into order (for instance, words into alphabetical order or numbers into ascending or descending order)
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
source program a program written in a high-level programming language
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
static binding the compile-time determination of which function to call for a particular object
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
static variable a variable for which memory remains allocated throughout the execution of the entire program
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
string a collection of characters interpreted as a single item; in C++, a null-terminated sequence of characters stored in a char array
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
structured data type a collection of components whose organization is characterized by the method used to access individual components. The allowable operations on a structured data type include the storage and retrieval of individual components.
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
structured (procedural) programming the construction of programs that are collections of interacting functions or procedures
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
stub a dummy function that assists in testing part of a program. A stub has the same name and interface as a function that actually would be called by the part of the program being tested, but it is usually much simpler.
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
switch expression the expression whose value determines which switch label is selected. It cannot be a floating point expression.
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
syntax the formal rules governing how valid instructions are written in a programming language
T
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
tail recursion a recursive algorithm in which no statements are executed after the return from the recursive call
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
termination conditiont the condition that causes a loop to be exited
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
testing the state of a stream the act of using a C++ stream variable in a logical expression as if it were a Boolean variable; the result is nonzero (TRUE) if the last I/O operation on that stream succeeded, and zero (FALSE) otherwise
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
top-down design a technique for developing a program in which the problem is divided into more easily handled subproblems, the solutions of which create a solution to the overall problem
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
transformer an operation that builds a new value of the ADT, given one or more previous values of the type
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
two-dimensional array a collection of components, all of the same type, structured in two dimensions. Each component is accessed by a pair of indices that represent the component's position in each dimension.

 
< previous page page_a45 next page >