Here is the example that we wrote in class today.
This page documents what we do in class. It contains Java programs that we will discuss in class, reading assignments, simple homework exercises that you can work on for practice and exam preparation (not for credit), and links to other sources of information. It is a good idea for you to "play" with the example Java programs; compile them, run them, make simple changes to them and compile and run them again.
Here is the example that we wrote in class today.
The final exam will be one week from this Thursday, on December 13, at 2:45.
Here is a summary of the final exam topics and some review/practice problems.
Read Section 8.3 (pages 547-555).
Here is the example that we wrote in class today.
See the homework assignment page for your sixth (and last) assignment.
Read Sections 8.1 and 8.2 (pages 531-547).
Do Self-Check Problems 15, 16, 17, 19, 20, 21 on pages 517-519 of the textbook (solutions are here).
Here is the example that we used in class today.
Here are the DrJava interactions that we did in class today.
Read Section 7.2 (pages 465-479).
Read Section 7.3 (pages 479-483).
We will look at this example today.
Do Self-Check Problems 1, 3, 4, 5, 7, 10 on pages 516-517 of the textbook (solutions are here).
Do programming Exercise 1 from page 522.
Here are the examples that we wrote in class today.
Thanksgiving Break. No class.
Here are the example programs from Chapter 7 of the textbook.
Here are the examples that we wrote in class today.
Read Section 5.4 (pages 349-352).
Read Section 7.1 (pages 444-465).
Do Self-Check Problems 14, 17, 18, 19, 21, 22, 24, 25 on pages 375-379 of the textbook (solutions are here).
Do programming Exercise 13 from page 384.
Read Section 5.3 (pages 333-348).
Do Self-Check Problems 1, 2, 5, 10, 11, 12, 13 on pages 371-375 of the textbook (solutions are here).
Do programming Exercises 1 and 7 from pages 381 and 382.
Here are the example programs from Chapter 5 of the textbook.
The second midterm exam is today.
For next week, read Chapter 5, Sections 5.1 and 5.2 (pages 316-333).
See the homework assignment page for your fifth assignment.
Remember that the second midterm exam will be this Thursday.
See the review material from last Tuesday.
Here are the examples that we wrote in class today.
The second midterm exam will be one week from Thursday.
Here is a summary of the midterm exam topics and some review/practice problems.
I was given the following handout by the Student Academic Support office. This office is another campus resource for you to get help with this course (or your other courses).
Read Chapter 5, Sections 5.1 and 5.2 (pages 316-333).
Here are the examples that we wrote in class today.
Do Self-Check Problems 20, 21, 22, 23 on page 307 of the textbook (solutions are here).
Here are the examples that we wrote in class today.
See the homework assignment page for your fourth assignment.
Read Chapter 4, Sections 4.3 and 4.4 (pages 265-285).
Do Self-Check Problems 15, 17, 18, 19 on page 306 of the textbook (solutions are here).
Here are the examples that we wrote in class today.
Read Chapter 4, Section 4.2 (pages 254-265).
Here are the example programs from Chapter 4 of the textbook.
Do Self-Check Problems 1, 2, 4, 7, 8, 12, 13 on pages 301-305 of the textbook (solutions are here).
Solve these problems from the CodingBat web site.
Here is a file that shows some important nested if-else-statement patterns.
Here are the examples that we wrote in class today.
Read Chapter 4, Section 4.1 (pages 239-253).
Use the "Definitions Pane" in DrJava or the Java Visualizer to do Exercise 5 on page 191 of the textbook.
Today we will look at these examples.
Read Chapter 3, Section 3.4 (pages 173-181).
Do Self-Check Problems 19, 20, 21, 23, 24, 25, 26 on pages 188-189 of the textbook (solutions are here).
Use the "Definitions Pane" in DrJava or the Java Visualizer to do Exercise 4 on page 191 of the textbook.
Solve these "warmup" problems from the CodingBat web site.
Here are the DrJava interactions we did in class today for Section 3.3. You can open these in DrJava and "replay" the interactions.
Fall Break. No class.
Here are the examples that we wrote in class today.
Do Self-Check Problems 8, 10, 12, 13, 14, 15, 16 on pages 185-187 of the textbook (solutions are here).
Read Chapter 3, Section 3.3 (pages 160-172).
Here are the example programs from Chapter 3 of the textbook.
Here are the examples that we wrote in class today that improved an example from Chapter 2.
The first midterm exam is today.
For next week, read Sections 3.1 and 3.2 (pages 137-160) from the textbook.
Do Self-Check Problems 1, 2, 3, 4, 5 on pages 182-183 of the textbook (solutions are here).
Remember that the first midterm exam is this Thursday. See the review sheet listed below.
Here are the examples that we wrote in class today.
Remember that the first midterm exam will be one week from today. See the review sheet listed below.
Here are the examples that we wrote in class today.
The first midterm exam will be one week from Thursday.
Here is a summary of the midterm exam topics and some review/practice problems.
Here is the example that we wrote in class today.
Here are more example programs for Sections 2.4 and 2.5.
Here are the examples that we did in class today.
See the homework assignment page for your third assignment.
Here are a few more example programs for Sections 2.3 and 2.4.
Use the "Definitions Pane" in DrJava or the Java Visualizer to do Exercises 8, 20 and 21 on pages 129-131 of the textbook.
Here are the examples that we did in class today.
For Tuesday, read Section 2.5 (pages 110-118).
Do Self-Check Problems 34, 35, 36 on pages 126-128 of the textbook (solutions are here).
For Thursday, read Section 2.4 (pages 99-110).
Do Self-Check Problems 21, 22, 23, 28, 29, 30, 31, 32 on pages 123-126 of the textbook (solutions are here).
Use the "Definitions Pane" in DrJava or the Java Visualizer to do Exercise 2 on page 128 of the textbook.
See the homework assignment page for your second assignment.
For Thursday, read Section 2.3 (pages 89-99).
Do Self-Check Problems 5, 9, 10, 11, 17, 19, 20 on pages 120-123 of the textbook (solutions are here).
For Tuesday, read Chapter 2, Sections 2.1 and 2.2 (pages 64-89).
Here are the example programs from Chapter 2 of the textbook.
Do Self-Check Problems 21, 22, 23, 26, 29, 30, 32 on pages 50-54 of the textbook (solutions are here).
Use the "Definitions Pane" in DrJava to do Exercise 8 on page 55 of the textbook.
Be sure to look at the homework assignment page. Your first assignment is already listed there.
On your home computer, install the Java 8 JDK and DrJava as described in these instructions.
Here is a brief DrJava Primer
For today, read Chapter 1, Sections 1.1 - 1.3 (pages 1-28) from the textbook.
For Wednesday, read Sections 1.4 - 1.5 (pages 28-46) from the textbook.
Here are the example programs from Chapter 1 of the textbook.
Here is a simple program that helps demonstrate the difference between DrJava's "Definitions Pane" and "Interactions Pane".
Use the "Interactions Pane" in DrJava (or this web page) to do Self-Check Problems 10, 11 and 12 on page 48 of the textbook (solutions to the Self-Check Problems are here).
Do Self-Check Problems 18 and 19 on page 49 of the textbook.
Use the "Definitions Pane" in DrJava to do Exercise 1 on page 54 of the textbook.