Programming and Problem Solving with Java

(やまだぃちぅ) #1

752


Computers(continued)
programming with, 4
Computer science, founders of, 164
Computer Science Education of the
Association for Computing
Machinery, Special Interest Group for,
443
Computer Sciences Man of the Year
award, 443
Computer/user interface, 23 ,34
Computer viruses, 634
Computing profession, ethics and respon-
sibilities in, 301–303
Concatenation, 61–63, 86
Concatenation operator (+), 129
and string conversion, 118–120
Concrete steps, 287
Conditional branches, 193
Conditional evaluation, 163
Conditional operator (?:), 449 , 456
Conic sections, 121
Connection Machine, 580
Consistency
with braces, 171
and error detection, 178
Constant declarations
comments added to, 58
syntax template for, 57
ConstantExpression, 439, 440
Constant(s), 56–58, 70, 88, 108, 156, 290
index as, 490
and index expressions, 489
order of definition with, 341
Constant time, 454
Constant time complexity, 453
Constructor methods, 68, 69
Constructors, 80, 81, 83, 88, 288, 289, 291,
335, 367
in derived classes, 346, 347
effect of calling for character stream file
object, 215
Constructs, 42
Containerclass, 333, 335, 380, 660
Containerobject, 401, 421
Container variables, declaring, 376
Content pane, 405, 421
field added to, 397
for frame, 377

getting, 278
and layout, 378
output added to, 380
continuestatement, 431
Continuous values, discrete values versus,
481
Contributions to Computer Science
Education Award, 443
Control abstraction, 179, 180
Control Data Corporation, 325
Control signals, 21
Control structures, 16, 18, 154, 482
looping, 221
nested, 173, 236
of programming languages, 17
selecting, 175, 186
Control unit, 20, 21, 34
convertmethod, 642
Convert (10), code walk-through of, 643
Copy constructors, 288, 352–353
Copy machines, 269
Copyright
laws, 301
Napster and, 658
CopyStringclass, 399–400, 410
Count, 221, 230
as local variable in appletclass, 673
scope of, 447
Count-controlled loops, 223–225, 233, 234,
254, 256
and do statement, 444
with floating-point control variables,
596
and looping statement choices, 448
nested, 238
and for statement, 445, 468
testing, 252, 253
Counters, 224, 256
Counting, 229–231, 235, 256, 257
Counting operation, in income by gender
case study, 251
CPUs.SeeCentral processing units
Crashes, avoiding, 231
Cray, Seymour, 325
Cray 2 parallel processor, 580
Cray XP supercomputer, 581
CRC card design process, 277–285
brainstorming, 277–278
Free download pdf