|
|
 |
|
|
|
|
Assemblers, 10 |
|
|
|
 |
|
|
|
|
Assembly language, 10, 21 |
|
|
|
 |
|
|
|
|
assert function, 371-373, A2-A3 |
|
|
|
 |
|
|
|
|
assert.h file, 371-372, A2-A3 |
|
|
|
 |
|
|
|
|
Assertions |
|
|
|
 |
|
|
|
|
as comments, 354-356 |
|
|
|
 |
|
|
|
|
and control structures, 187-188 |
|
|
|
 |
|
|
|
|
executable, 371-373, A2-A3 |
|
|
|
 |
|
|
|
|
implementation and abstract, 1062 |
|
|
|
 |
|
|
|
|
loop invariants, 305-307 |
|
|
|
 |
|
|
|
|
for out-of-bounds array indexes, 600 |
|
|
|
 |
|
|
|
|
Assignments, 63-64, 510-512 |
|
|
|
 |
|
|
|
|
of class members, 847 |
|
|
|
 |
|
|
|
|
versus comparisons, 193 |
|
|
|
 |
|
|
|
|
of enumeration types, 538-540 |
|
|
|
 |
|
|
|
|
mixing data types in, 95-96 |
|
|
|
 |
|
|
|
|
of pointers, 978-979 |
|
|
|
 |
|
|
|
|
of records (structs), 777 |
|
|
|
 |
|
|
|
|
side effects from, 209, 510-511 |
|
|
|
 |
|
|
|
|
slicing problem with, 927 |
|
|
|
 |
|
|
|
|
of strings, 671-672 |
|
|
|
 |
|
|
|
|
syntax templates for, A21 |
|
|
|
 |
|
|
|
|
type coercion in, 549-551 |
|
|
|
 |
|
|
|
|
Associativity of operators, 95, 516-517, A1-A2 |
|
|
|
 |
|
|
|
|
Asterisk (*) |
|
|
|
 |
|
|
|
|
in assignment operators, 510, 512 |
|
|
|
 |
|
|
|
|
in comments, 29, 70-71 |
|
|
|
 |
|
|
|
|
for multiplication, 65-66 |
|
|
|
 |
|
|
|
|
with pointers, 969-970, 972-974, 978 |
|
|
|
 |
|
|
|
|
precedence of, 94-95, 197, 516, A1 |
|
|
|
 |
|
|
|
|
At sign (@), 355 |
|
|
|
 |
|
|
|
|
atan function, A6 |
|
|
|
 |
|
|
|
|
atof function, A8 |
|
|
|
 |
|
|
|
|
atoi function, A8 |
|
|
|
 |
|
|
|
|
atol function, A8 |
|
|
|
 |
|
|
|
|
Atomic data types, 502-504 |
|
|
|
 |
|
|
|
|
Attendance case study, 683-698 |
|
|
|
 |
|
|
|
|
Automated address book case study, 794-809 |
|
|
|
 |
|
|
|
|
Automatic arrays, 602 |
|
|
|
 |
|
|
|
|
Automatic variables, 398-400 |
|
|
|
 |
|
|
|
|
Auxiliary storage devices, 16-17 |
|
|
|
 |
|
|
|
|
Average income by gender case study, 286-292 |
|
|
|
 |
|
|
|
|
Average rainfall case study, 486-492 |
|
|
|
 |
|
|
|
|
Averages of test scores case study, 169-173 |
|
|
|
 |
|
|
|
|
\b escape sequence, 521 |
|
|
|
 |
|
|
|
|
B language, 21 |
|
|
|
 |
|
|
|
|
Babbage, Charles, 330, 406-407 |
|
|
|
 |
|
|
|
|
Backslash (\) |
|
|
|
 |
|
|
|
|
for escape sequences, 520-521 |
|
|
|
 |
|
|
|
|
in output statements, 69-70 |
|
|
|
 |
|
|
|
|
Backspace, escape sequence for, 521 |
|
|
|
 |
|
|
|
|
Backus, John, 46 |
|
|
|
 |
|
|
|
|
Backus-Naur Form (BNF), 46-47 |
|
|
|
 |
|
|
|
|
Bar charts |
|
|
|
 |
|
|
|
|
in absenteeism case study, 741-743, 746 |
|
|
|
 |
|
|
|
|
in sales case study, 362-363 |
|
|
|
 |
|
|
|
|
Bar (|) |
|
|
|
 |
|
|
|
|
in assertion comments, 355 |
|
|
|
 |
|
|
|
|
for bit manipulation, 196, 510, 513 |
|
|
|
 |
|
|
|
|
in logical operators, 193-196 |
|
|
|
 |
|
|
|
|
precedence of, 197, 516, A1-A2 |
|
|
|
 |
|
|
|
|
Base addresses of arrays, 608, 720, 976-978 |
|
|
|
 |
|
|
|
|
Base case in recursion, 1121 |
|
|
|
 |
|
|
|
|
Base classes, 910 |
|
|
|
 |
|
|
|
|
Base specifiers, syntax template for, A19 |
|
|
|
 |
|
|
|
|
Basic Combined Programming Language (BCPL), 21 |
|
|
|
 |
|
|
|
|
BASIC language, 11n, 1120 |
|
|
|
 |
|
|
|
|
Batch processing, 19, 144-145 |
|
|
|
 |
|
|
|
|
BCPL (Basic Combined Programming Language), 21 |
|
|
|
 |
|
|
|
|
Beechcraft Starship-1 weight and balance case study, 433-445 |
|
|
|
 |
|
|
|
|
Beep, escape sequence for, 521 |
|
|
|
 |
|
|
|
|
Bell, escape sequence for, 521 |
|
|
|
 |
|
|
|
|
Big-O notation, 286 |
|
|
|
 |
|
|
|
|
Binary numbers |
|
|
|
 |
|
|
|
|
codes for, 8 |
|
|
|
 |
|
|
|
|
converting decimal numbers to, 1143-1146 |
|
|
|
 |
|
|
|
|
Binary operators, 65, A18 |
|
|
|
 |
|
|
|
|
Binary search, 662-666 |
|
|
|
 |
|
|
|
|
Binding of operations to objects, 925-930 |
|
|
|
 |
|
|
|
|
BinSearch function, 663-664 |
|
|
|
 |
|
|
|
|
efficiency of, 667-668 |
|
|
|
 |
|
|
|
|
in Exam, 694-695 |
|
|
|
 |
|
|
|
|
in TimeCardList class, 946, 948, 950-951 |
|
|
|
 |
|
|
|
|
walk-through of, 664-666 |
|
|
|
 |
|
|
|
|
Birthday calls case study, 882-889 |
|
|
|
 |
|
|
|
|
Birthday reminder case study program, 569-576, 679-683 |
|
|
|
 |
|
|
|
|
BirthdayCalls program, 885-889 |
|
|
|
 |
|
|
|
|
BirthdayReminder program, 572-581, 679-683 |
|
|
|
 |
|
|
|
|
Bits, 8-9 |
|
|
|
 |
|
|
|
|
Bitwise operators, 196, 510, 513 |
|
|
|
 |
|
|
|
|
Black box concept, 850-851 |
|
|
|
 |
|
|
|
|
Blank characters |
|
|
|
 |
|
|
|
|
in input data, 135, 138-139 |
|
|
|
 |
|
|
|
|
in strings, 107-108, 672-675 |
|
|
|
 |
|
|
|
|
testing for, 413 |
|
|
|
 |
|
|
|
|
Blank lines |
|
|
|
 |
|
|
|
|
in output, 106-107 |
|
|
|
 |
|
|
|
|
in programs, 73, A33 |
|
|
|
 |
|
|
|
|
Blocks, 73-75 |
|
|
|
 |
|
|
|
|
braces for, 74, 205-206 |
|
|
|
 |
|
|
|
|
for functions, 352 |
|
|
|
 |
|
|
|
|
with if statements, 204-205, 212 |
|
|
|
 |
|
|
|
|
nested, 393-396 |
|
|
|
 |
|
|
|
|
scope in, 393-396 |
|
|
|
 |
|
|
|
|
syntax template for, A12 |
|
|
|
 |
|
|
|
|
with while statements, 255 |
|
|
|
 |
|
|
|
|
BNF (Backus-Naur Form), 46-47 |
|
|
|
 |
|
|
|
|
Body |
|
|
|
 |
|
|
|
|
of functions, 43, 49, 72, 352 |
|
|
|
 |
|
|
|
|
of loops, 254-255 |
|
|
|
|
|