READING &
HOMEWORK
ASSIGNMENTS
Reading Assignments, Discussion Questions, and Programming Projects
will be listed here in chronological order by due date,
i.e., with the most recent ones at the bottom of the list.
This document was last modified on
February 26, 2008.
Jump directly to
Week 1
| Week 2
| Week 3
| Week 4
| Week 5
| Week 6
| Week 7
| Week 8
| Week 9
| Week 10
Note:
The textbook contains six different types of side notes.
You should always read the first three types: Quality Tips, Common
Errors, and Productivity Hints.
The Quality Tips contain important information on good programming
style. Reading the Common Errors notes will help you avoid
well-known pitfalls. The Productivity Hints are sometimes more
challenging, but helpful.
You should also generally read the Advanced Topics and How To sections unless I specify otherwise.
Random Facts are optional -- read them if you find them interesting.
The book has a Student Companion web site that includes web-only
features (such as source code that appears in the book and some of the
Productivity Hints or Random Facts) and
also has a list of any typos that have been found. You can get to the
website by going to www.wiley.com/college/horstmann,
then clicking on the picture of our textbook (5th Edition of Java
Concepts), and then clicking on the "Go to the Student Companion Site"
link within the "Students" box. Or you can click on this Student Companion Site
link directly. From there, click on the appropriate Resource link,
such as "Source Code" or "Features: By Chapter". For example, you could
find Productivity Hint 1.2 by going to the Student Companion Site,
clicking on Features: By Chapter, clicking on Chapter 1, then clicking
on Productivity Hint 1.2.
Week 1: Tuesday
- Lab Entrance Assignment for Lab 1:
- Buy the textbook and bring it to lab. (You may also wish to buy a
USB drive for backups unless you plan to back up your work to
a machine in your room.)
- Read Chapter 1 of Java Concepts (the
textbook for the course). Much of it should be review if you
took CS 105. You
may skip Section 1.5, but be sure to read Sections 1.6 - 1.7
(including Common Errors 1.1 and 1.2)
before lab. You do not have to type in a program (we will
do that in lab), even though some of the reading may not seem to make
much sense until you do, but it will help the first lab go more
smoothly for you if you have made a first pass at the reading.
- Discussion questions: Be prepared to answer
any of today's discussion
questions.
Week 1: Wednesday
- Reading assignment:
- Review Sections 1.6 - 1.7 and read Section 1.8 and the Chapter
Summary at the end of Chapter 1.
- Constructing Objects and Invoking Methods :Read
Chapter 2, from the beginning through Section 2.7.
- Discussion questions:
- Review Exercises R1.10 and R.1.12.
Week 1: Friday
- Reading assignment:
- Testing: Read Section 2.8.
- Public Interface for a Class: Read Section
2.9, including Productivity Hint 2.1 on p. 52.
- Chapter Review: Read bullets
1 - 25 in the Chapter Summary (pp. 66 - 67).
- Read the patterns in the Mini-Lab: Creating
Fish in an Aquarium.
- Read the class documentation for AquaFish,
Aquarium,
and AquaSimGUI.
- Discussion questions:
- Review Exercises R2.10 - R.2.11.
- We will be doing a mini-lab, so bring your
USB drive to class, or be prepared to transfer files to and from
the computer in your room if you have one.
Looking Ahead:
Week 2: Monday
- Reading assignment:
- Numeric Values: Read Sections 4.1
and 4.2, through the middle of p. 128.
- Strings: Read Section 4.6.
Skip the Advanced Topics and Random Fact at the end of the
section.
- If Statements (Decisions): Read
Sections 5.1 through 5.4. Skim the long code examples; if not
everything makes sense to you, don't worry about it. We haven't
talked about writing methods in a class yet (Chapter 3), although we'll
come to that soon. Skip the Advanced Topics.
- Read the patterns in the Mini-Lab: Staying
In Bounds and Adding Color.
- Discussion questions:
- Review Exercises R2.1 - R.2.9.
Week 2: Tuesday
- Lab Entrance Assignment for
Lab 1:
Reading assignment:
- Review of Alternatives:
Review Sections 5.2 - 5.4
- Programming Project #1
is due at the beginning of lab.
As always, bring a USB drive if you have one.
Week 2: Wednesday
- Reading assignment:
- More on Conditions and Logic:
Review Common Error 5.2 on p. 181 ("Dangling
else")
and Section
5.4, especially Common Errors 5.3 and 5.4. I also recommend reading
Advanced Topic 5.3, and
Section 5.4.4 on De Morgan's Law. Read Section 5.5, including
Quality Tips 5.3 and 5.4, and the Chapter Summary.
Week 2: Friday
- Reading assignment:
- For Loops: Read Sections 6.2 and
6.3.
Skip Quality Tip 6.1 on p. 213, but read the Common
Errors 6.3 and 6.4, and Quality Tip 6.2 on pp. 214 - 215.
- Read the patterns in the Mini-Lab: Keep
on Moving.
- Discussion questions: R5.5 - R5.6,
R5.8 - R.11, R5.13, and R5.14 (pp. 194 - 195).
Looking Ahead:
Week 3: Monday
- Reading assignment:
- ArrayLists: Read Sections 7.2 -
7.3, including Common
Error 7.3. Ignore any references to
arrays for now; we'll come back to them.
- Discussion questions:
Week 3: Tuesday
- Reading assignment:
- The "for each" loop: Read Section 7.4.
- Lab Entrance Assignment:
- Exercises R6.2 and R.6.3 on p. 238. You should bring these, neatly
typed, to lab.
- Programming Project
#2 is due at the beginning of lab.
Week 3: Wednesday
Week 3: Friday
- Reading assignment:
- Implementing Classes: Read
Chapter 3 through Section 3.5.
- Discussion questions:
Looking Ahead:
- Programming Project #3
is due at the beginning of Lab 4.
- Programming Project #4
will be due at the beginning of class on Friday of Week 4.
You may start it anytime after finishing the in-class exercise on Friday of 3rd Week.
Jump directly to
Week 1
| Week 2
| Week 3
| Week 4
| Week 5
| Week 6
| Week 7
| Week 8
| Week 9
| Week 10