|
|
 |
|
|
|
|
Active data structures, 842, 909 |
|
|
|
 |
|
|
|
|
Active error detection, 577 |
|
|
|
 |
|
|
|
|
Activity director case study, 215-219 |
|
|
|
 |
|
|
|
|
Activity program, 217-219, 345-347, 360-361 |
|
|
|
 |
|
|
|
|
Actual parameters, 332-333, 342, 349-351, A21 |
|
|
|
 |
|
|
|
|
Addition, 65-66 |
|
|
|
 |
|
|
|
|
in assignment operators, 510, 512 |
|
|
|
 |
|
|
|
|
precedence of, 94-95 |
|
|
|
 |
|
|
|
|
syntax template for, A23 |
|
|
|
 |
|
|
|
|
Address book case study, 794-809 |
|
|
|
 |
|
|
|
|
Address-of operator (&), 970 989 |
|
|
|
 |
|
|
|
|
Addresses, 53 |
|
|
|
 |
|
|
|
|
data types for, 968 |
|
|
|
 |
|
|
|
|
as parameters, 342-345, 351, 608-609, 720 |
|
|
|
 |
|
|
|
|
pointer types. See Pointers |
|
|
|
 |
|
|
|
|
reference type for, 987-990 |
|
|
|
 |
|
|
|
|
Aggregate constants, 672 |
|
|
|
 |
|
|
|
|
Aggregate operations, 602-604 |
|
|
|
 |
|
|
|
|
Airplane weight and balance case study, 433-445 |
|
|
|
 |
|
|
|
|
Alert, escape sequence for, 521 |
|
|
|
 |
|
|
|
|
ALGOL language, 352 |
|
|
|
 |
|
|
|
|
Algorithms, 4-5, 26. See also Problem-solving techniques |
|
|
|
 |
|
|
|
|
for company payroll, 26-30 |
|
|
|
 |
|
|
|
|
efficiency of, 283-286 |
|
|
|
 |
|
|
|
|
implementing, 6-7 |
|
|
|
 |
|
|
|
|
recursive. |
|
|
|
 |
|
|
|
|
See Recursion |
|
|
|
 |
|
|
|
|
walk-through, 6, 230-234 |
|
|
|
 |
|
|
|
|
Aliases, reference variables as, 987 |
|
|
|
 |
|
|
|
|
Allocating |
|
|
|
 |
|
|
|
|
dynamic data, 979-986 |
|
|
|
 |
|
|
|
|
memory for variables, 336, 396 |
|
|
|
 |
|
|
|
|
nodes, 1051-1058 |
|
|
|
 |
|
|
|
|
syntax template for, A25 |
|
|
|
 |
|
|
|
|
Alphabetizing. |
|
|
|
 |
|
|
|
|
See Sorting |
|
|
|
 |
|
|
|
|
ALU (arithmetic/logic unit), 15-16 |
|
|
|
 |
|
|
|
|
Ampersand (&) |
|
|
|
 |
|
|
|
|
as address-of operator, 970, 989 |
|
|
|
 |
|
|
|
|
in assertion comments, 355 |
|
|
|
 |
|
|
|
|
for bit manipulation, 196, 510, 513 |
|
|
|
 |
|
|
|
|
in logical operators, 193-196 |
|
|
|
 |
|
|
|
|
precedence of, 197, 516, A1 |
|
|
|
 |
|
|
|
|
for reference parameters, 342, 344 |
|
|
|
 |
|
|
|
|
for reference variables, 987 |
|
|
|
 |
|
|
|
|
Analogies for problem-solving, 22-23 |
|
|
|
 |
|
|
|
|
Analysis and specification problem-solving phase, 3, 152 |
|
|
|
 |
|
|
|
|
Analytical Engine, 331, 407 |
|
|
|
 |
|
|
|
|
Ancestors of classes, 909-910 |
|
|
|
 |
|
|
|
|
AND operator (&&) |
|
|
|
 |
|
|
|
|
in assertion comments, 355 |
|
|
|
 |
|
|
|
|
in logical expressions, 193-196 |
|
|
|
 |
|
|
|
|
precedence of, 197, 516, A1 |
|
|
|
 |
|
|
|
|
Angle brackets (< >), 77, 546 |
|
|
|
 |
|
|
|
|
Anonymous data types, 544-545, 780 |
|
|
|
 |
|
|
|
|
Apostrophe (') |
|
|
|
 |
|
|
|
|
for char constants, 55, 59-60, 520-521 |
|
|
|
 |
|
|
|
|
escape sequence for, 521 |
|
|
|
 |
|
|
|
|
in input data, 136 |
|
|
|
 |
|
|
|
|
Append function (MergeLists), 818-819 |
|
|
|
 |
|
|
|
|
Application domain in objectoriented design, 930-931 |
|
|
|
 |
|
|
|
|
Area program, 556-558 |
|
|
|
 |
|
|
|
|
Area under curves case study, 551-558 |
|
|
|
 |
|
|
|
|
Arguments. |
|
|
|
 |
|
|
|
|
See Parameters |
|
|
|
 |
|
|
|
|
Arithmetic. |
|
|
|
 |
|
|
|
|
See also Expressions |
|
|
|
 |
|
|
|
|
with floating point numbers, 528-530 |
|
|
|
 |
|
|
|
|
mixing data types in, 95-99 |
|
|
|
 |
|
|
|
|
operators for, 65-68 |
|
|
|
 |
|
|
|
|
with pointers, 979 |
|
|
|
 |
|
|
|
|
precedence rules in, 94-95, A1 |
|
|
|
 |
|
|
|
|
type coercion in, 547-549 |
|
|
|
 |
|
|
|
|
Arithmetic/logic unit (ALU), 15-16 |
|
|
|
 |
|
|
|
|
Arranging. |
|
|
|
 |
|
|
|
|
See Sorting |
|
|
|
 |
|
|
|
|
Arrays |
|
|
|
 |
|
|
|
|
accessing components in, 596-599, 604-607, 709-710, 713, 727 |
|
|
|
 |
|
|
|
|
aggregate operations on, 602-604 |
|
|
|
 |
|
|
|
|
of arrays, 723-724 |
|
|
|
 |
|
|
|
|
for character frequency case studies, 619-635 |
|
|
|
 |
|
|
|
|
copying, 603, 609-610 |
|
|
|
 |
|
|
|
|
declaring, 595-596, 601-602, 604-607, 710, 723 |
|
|
|
 |
|
|
|
|
dynamic, 1018-1030 |
|
|
|
 |
|
|
|
|
dynamic data in, 979-982 |
|
|
|
 |
|
|
|
|
initializing, 601-602, 717-718, 722 |
|
|
|
 |
|
|
|
|
for linked lists, 1048-1050, 1081-1082 |
|
|
|
 |
|
|
|
|
for list processing, 613-619 |
|
|
|
 |
|
|
|
|
minimum value in, 1147-1148 |
|
|
|
 |
|
|
|
|
multidimensional, 724-728 |
|
|
|
 |
|
|
|
|
names of, 596, 976-978 |
|
|
|
 |
|
|
|
|
of objects, 846, 868 |
|
|
|
 |
|
|
|
|
out-of-bounds array indices, 599-601, 635-636 |
|
|
|
 |
|
|
|
|
parallel, 612, 727-728 |
|
|
|
 |
|
|
|
|
as parameters, 603-604, 608-611, 720-722 |
|
|
|
 |
|
|
|
|
of pointers, 973-974 |
|
|
|
 |
|
|
|
|
printing, 718-719, 1132-1134 |
|
|
|
 |
|
|
|
|
of records, 781-782 |
|
|
|
 |
|
|
|
|
strings as, 669-671 |
|
|
|
 |
|
|
|
|
subarrays, 611-612 |
|
|
|
 |
|
|
|
|
testing and debugging, 635-637, 757-759 |
|
|
|
 |
|
|
|
|
two-dimensional. |
|
|
|
 |
|
|
|
|
See Two-dimensional arrays |
|
|
|
 |
|
|
|
|
type definitions with, 678-679 |
|
|
|
 |
|
|
|
|
Arrow operator (->), 973, 978 |
|
|
|
 |
|
|
|
|
Ascending sorts, 655-656 |
|
|
|
 |
|
|
|
|
ASCII character set, A30 |
|
|
|
 |
|
|
|
|
character representations in, 518-520 |
|
|
|
 |
|
|
|
|
string comparisons in, 678 |
|
|
|
 |
|
|
|
|
asin function, A6 |
|
|
|
 |
|
|
|
|
Asking questions in problemsolving, 20 |
|
|
|
|
|