Supplemental Lesson Material
All materials courtesy of Stuart Reges &
Marty Stepp,
and the UW CS & Engineering Department.
Further supplements may be found on our textbook web site: Building Java Programs.
Introduction
back to top
Chapter 1
- 1.1-1.3
- 1.4
- Video: methods
- Slides: pdf,
ppt
- Procedural decomposition example using Lightbot: video
- Procedural decomposition - eliminating redundancy: video
- 1.5
- Song Project
- Specification: spec (ignore due date in specification)
- Expected Output: hw1.output.txt
- Mr T's metrics: 66 lines of code, 33 lines of comments
- Helpful tools:
back to top
Chapter 2
- 2.1
- 2.2
- 2.3a for Loops
- 2.3b Nested Loops
- 2.4-2.5
- Rocketship Project
- Specification: spec (ignore due date in specification)
- Expected Output:
- Mr T's metrics:
- Using only Ch 1 & 2 features: 79 lines of code, 18 'for' loops, 72 lines of comments
- Using Ch 3 features: 55 lines of code, 4 'for' loops (nested via method calls), 84 lines of comments
back to top
Chapter 3
- 3.1
- Supplement 3G
- 3.2
- 3.3
- 3.4
- Cafe Wall Project
back to top
Chapter 4
- 4.1-4.2
- 4.3
- strings: pdf
- char primative data type: pdf
- printf: pdf
- Caesar Cypher Assignment:
- 4.4, 4.5
- Admissions Project
- Specification: spec (ignore due date in specification)
- Output Examples To Compare:
- Helper methods (round, compare doubles, get input fm user): HelperMethods.java
- Project postmortem
- Mr T's metrics: 72 lines of code, 107 lines of comments
back to top
Chapter 5
- 5.1, 5.2
- While loops, sentinel loops
- BMIcalc3 Looped Assignment
- Fencepost Looping Assignment
- Sentinel Looping Assignment
- More Sentinel Looping (Report Statistics on a Whole Number) Assignment
- Random numbers
- Example programs
- 5.3, 5.5
- Boolean type
- Rhyme & Alliterate (Boolean) Assignment
- Program verification
- Example programs
- Guessing Game Project
- Specification: spec (ignore due date in specification)
- Output Example To Compare:
#1,
#2,
#3
back to top
Midterm
back to top
Chapter 6
- 6.1-6.2
- 6.3-6.5
- Baby Names Project
- Specification: spec (ignore due date in specification)
- Supporting files:
- Output Example To Compare:
- sample logs for names.txt:
name found,
name not found
- sample logs for names2.txt:
name found,
name not found
- A recent update (windows? jgrasp? java?) has changed fonts. You must match one or the other regular or alternate
graphical outputs, but not a mix!
back to top
Chapter 7
- 7.1
- Array basics
- Slides: pdf,
ppt
- Example programs
- 7.2
- 7.3
- 7.5
- Personality Test Project
- Specification: spec (ignore due date in specification)
- Personality Score Line Parsing: plan
- Input files:
- Sample output:
- Sample log:
- Links/Information:
back to top
Chapter 8 (and a little bit of 10)
- 8.1-8.2
- 8.3-8.5
- 10.1
- Critters Project
back to top
Chapter 9
back to top