rent-now

Rent More, Save More! Use code: ECRENTAL

5% off 1 book, 7% off 2 books, 10% off 3+ books

9780073250304

Java 5.0 Program Design

by ;
  • ISBN13:

    9780073250304

  • ISBN10:

    0073250309

  • Edition: 1st
  • Format: Paperback
  • Copyright: 2005-06-23
  • Publisher: McGraw-Hill Education

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $183.60 Save up to $45.90
  • Buy Used
    $137.70
    Add to Cart Free Shipping Icon Free Shipping

    USUALLY SHIPS IN 2-4 BUSINESS DAYS

Summary

August Release--5.0 Update.Java 5.-0 Program Designis about the fundamentals of programming and software development using Java. It is targeted for a first programming course and has been designed to be appropriate for people from all disciplines. The authors assume no prior programming skills and use mathematics and science at a level appropriate to first-year college students. The breadth of coverage and the arrangement of the chapters provide flexibility for the instructor in what and when topics are introduced.Key toJava 5.0 Program Designis an introduction to problem solving. The basics of problem-solving techniques are introduced in chapter one and then reinforced during the explanations of Java programming and design. In addition, software engineering design concepts are introduced via problem studies and software projects.This updated version ofJava Program Designtakes advantage of the improvements to the language introduced with Java 5.0. The additions are especially important for beginning programmers because they help make program design and development a clearer and more straightforward process. Key Handles: Good Problem Solving Techniques Wide Variety of Examples Placement of Objects firstAids students in Problem Solving 5.0 update is included in this revision

Table of Contents

Background
1(38)
Introduction
2(1)
Computer organization
3(7)
Computing units of measure
5(1)
Buying a personal computer
6(4)
Internet computing
10(4)
Networks
11(3)
Software and Java
14(4)
Programming languages
14(1)
Running a Java program
15(3)
Engineering software
18(5)
Software engineering principles
20(3)
Object-oriented design
23(3)
Problem solving
26(8)
Ask questions as needed
29(1)
Find out as much as you can
30(1)
Break complex problems into subproblems
31(1)
Reuse and expect future reuse
32(1)
Further reading
33(1)
Review
34(1)
Self-test
35(1)
Exercises
35(3)
Self-test answers
38(1)
Java Basics
39(66)
A first program
40(12)
Commenting and whitespace
41(2)
Classes, keywords, and identifiers
43(1)
Methods
44(2)
Selecting methods print() and printIn()
46(3)
Escape sequences
49(3)
Simple computations
52(9)
Constants
54(2)
Variables
56(1)
Operations
57(4)
Primitive types
61(6)
int type
61(2)
char type
63(2)
double type
65(2)
Expressions
67(6)
Unary and binary operators
68(1)
Precedence
69(2)
Widening and narrowing operand conversion
71(2)
Overflow, underflow, and exceptions
73(1)
Interactive programs
73(5)
Primitive variable assignment
78(8)
Swapping
81(1)
Assignment precedence and associativity
82(1)
Increment and decrement
83(3)
Case study --- averaging five numbers
86(3)
Review
89(2)
Self-test
91(2)
Exercises
93(5)
Programming project --- you
98(3)
Programming project --- training zone
101(2)
Self-test answers
103(2)
Using Objects
105(34)
Classes
106(1)
Objects and variables
107(4)
Initialization
108(2)
Null and uninitialized references
110(1)
Assignment
111(2)
Final variables
113(2)
String operations and methods
115(8)
Case study --- date translation
123(6)
Review
129(1)
Self-test
130(1)
Exercises
130(4)
Programming project --- harvester
134(2)
Self-test answers
136(3)
Being Classy
139(40)
Preparation
140(2)
A very simple class
142(12)
Instance variables and attributes
144(2)
A default constructor
146(1)
An instance method
147(4)
Usage
151(3)
Methods with parameters and return values
154(12)
Summary
166(1)
Review
167(2)
Self-test
169(1)
Exercises
169(3)
Programming project---rationality
172(3)
Self-test answers
175(4)
Decisions
179(62)
Boolean algebra and truth tables
180(2)
Logical expressions
181(1)
Boolean type
182(5)
Boolean equality and ordering operators
183(3)
Operator precedence revisited
186(1)
If statement
187(5)
Avoiding gotchas
191(1)
If-else statement
192(3)
Nested constructs
195(3)
If-else-if construct
198(4)
Testing objects for equality
202(4)
Switch statement
206(7)
Case study --- checksum validation
213(4)
Case study --- triangles
217(9)
Review
226(2)
Self-test
228(2)
Exercises
230(5)
Programming project --- medical assistant
235(4)
Self-test answers
239(2)
Iteration
241(48)
While statement
242(10)
For statement
252(6)
Index variable scope
256(1)
Computing the number of combinations
256(2)
Do-while statement
258(4)
Nested loops
262(3)
Simple file processing
265(7)
Case study --- data set analysis
272(8)
Review
280(1)
Self-test
281(1)
Exercises
282(3)
Programming project --- four hobo problem
285(2)
Self-test answers
287(2)
GUI Interlude I: GUI-Based Programming
289(230)
GUI and event-driven programming
290(3)
Windchill calculator
293(15)
Class constants and instance variables
298(3)
GUI construction
301(3)
Event handling and actionPerformed()
304(2)
Method main()
306(2)
Review
308(1)
Self-test
309(1)
Exercises
310(1)
Programming project --- training zones
311(2)
Self-test answers
313(2)
Programming with Methods and Classes
315(66)
Modifier static
316(6)
Parameter passing
322(9)
This
331(3)
Inherited methods and overriding
334(6)
Scope and name reuse
340(4)
Local scope rules
340(1)
Name reuse
341(3)
Overloading
344(7)
Illustrations
351(7)
Generic classes
358(3)
Review
361(2)
Self-test
363(2)
Exercises
365(8)
Programming project --- automobile financing
373(4)
Self-test answers
377(4)
Arrays and Collections
381(78)
Basic list requirements
382(1)
One-dimensional arrays
382(11)
Definitions
383(2)
Element access
385(3)
Explicit initialization
388(1)
Constant arrays
389(1)
Members
390(3)
Iterator for loop
393(3)
Simple array processing
396(5)
Extraction
396(2)
Searching for a key value
398(2)
Searching for the minimum value
400(1)
Arrays and methods
401(12)
Sequential and binary search
402(3)
Zeroing
405(3)
Display
408(3)
Extraction and reversal
411(1)
Increasing representation capacity
411(2)
Sorting
413(4)
Method selectionSort()
414(2)
Quality of selectionSort()
416(1)
Command-line parameters
417(2)
Multidimensional arrays
419(5)
Matrices
422(2)
Collections framework
424(1)
ArrayList<T>
425(5)
Collections algorithms
430(4)
Case study --- pie charts
434(9)
Review
443(2)
Self-test
445(1)
Exercises
446(6)
Programming project --- matrices
452(1)
Self-test answers
453(6)
Inheritance and Polymorphism
459(60)
Object-oriented design
460(13)
ThreeDimensionalPoint
462(7)
ColoredPoint
469(4)
Polymorphism
473(2)
Inheritance nuances
475(11)
Controlling access
476(3)
Data fields
479(3)
Typing
482(2)
Late binding
484(1)
Finality
485(1)
Abstract base classes
486(4)
Interfaces
490(5)
Case study --- preparing the aquarium
495(11)
Review
506(2)
Self-test
508(2)
Exercises
510(4)
Programming project --- change maker
514(3)
Self-test answers
517(2)
GUI Interlude 2: GUI-Based Programming
519(162)
Case study --- personality typing
520(15)
Background
520(15)
Programming project --- Smiley guessing game
535(16)
Exceptions
551(22)
Exception handling
552(9)
Finally and the command type
561(2)
Creating and throwing exceptions
563(5)
Review
568(1)
Self-test
569(1)
Exercises
569(1)
Programming project --- a second look
570(1)
Self-test answers
570(3)
Recursive Problem Solving
573(36)
Recursive methods
574(7)
Fibonacci numbers and squares
577(4)
Case study --- recursive binary search
581(6)
Method mergeSort()
587(5)
How fast can we sort?
592(1)
Recursion versus iteration
593(2)
Case study --- string permutation
595(6)
Review
601(1)
Self-test
601(1)
Exercises
602(3)
Programming project --- Sierpinski fractal
605(3)
Self-test answers
608(1)
Threads
609(36)
Scheduling
610(14)
Running after a delay
612(3)
Running repeatedly
615(4)
Running at a chosen time
619(5)
Sleeping
624(2)
Case study --- animation
626(6)
Case study --- swimming fish
632(7)
Review
639(1)
Self-test
640(1)
Exercises
640(2)
Programming project --- better fish
642(2)
Self-test answers
644(1)
Testing and Debugging
645(36)
Testing
646(21)
Testing --- an example
647(9)
Testing fundamentals
656(3)
Reviews and inspections
659(3)
Black-box and white-box testing
662(4)
Integration and system testing
666(1)
Debugging
667(8)
Scientific method
667(4)
Debugging tips and techniques
671(4)
Review
675(1)
References
675(1)
Self-test
676(1)
Exercises
676(1)
Programming project --- getList()
677(2)
Self-test answers
679(2)
Appendix A: Tables and Operators
681(6)
Unicode character set
682(1)
Reserved words
683(1)
Operators and precedence
683(4)
Appendix B: Number representation
687(4)
Binary number representation
688(1)
Two's-complement representation
689(2)
Appendix C: Formatted I/O
691(6)
Introduction
692(1)
Format String Syntax
692(5)
Appendix D: Applets
697(12)
A simple applet
698(2)
Applet methods
700(5)
Method init()
700(1)
Method start()
701(1)
Method stop()
701(1)
Method destroy()
701(1)
Method paint()
701(4)
Applets and threads
705(2)
Applet security
707(1)
Summary
708(1)
Appendix E: Standard Java Packages
709(194)
Index 903

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program