Code Examples and Reading Assignments

This page documents what we do in class. It contains Java programs that we will discuss in class, simple homework exercises that you can work on for practice and exam preparation (not for credit), and reading assignments from our textbook.

The reading assignments and practice problems are listed by the date on which they were assigned. The sample program files are listed by the date on which they were used. You can click on either a .java link and see the source code, or click on a .html link (when available) and see an applet running. When you are viewing the source code, you can use your browser's "File -> Save As..." menu item to save a copy of the file on your computer. It is a good idea for you to "play" with these example programs; compile them, run them, make simple changes to them and compile and run them again.

  • Wednesday, October 31.

  • Monday, October 29.

  • Wednesday, October 24.

  • Monday, October 22.

  • Wednesday, October 17.

  • Monday, October 15.

  • Wednesday, October 10.

  • Monday, October 8.

  • Monday, October 1.
    • In class today we will go over any questions there are about the homework problems that were assigned from the end of each of chapters 1 through 4. We will also finish going over Chapter 4 and, if there is time, begin Chapter 5.

  • Wednesday, September 26.
    • From Chapter 4.
    • For our next class, please read sections 4.8, 4.9, and 4.10 from Chapter 4 and also Sections 5.1 and 5.2 from Chapter 5.
    • Do the following Exercises at the end of Chapter 4: 1, 4, 5, 6, 7, 10, 12, 13, 14, 15, 17, 18, 19, 20, 21, 22.
    • Remember that the first exam is on Wednesday, October 3, one week from today. The exam is over Chapters 1 through 4 of our textbook and it is based on the end of chapter exercises that were assigned with the readings on this page. On Monday, October 1, we will go over any questions that you may have about any of these assigned exercises. We will spend as much time Monday as is needed to answer questions. So please start preparing for the exam and come Monday ready to ask questions.

  • Monday, September 24.

  • Wednesday, September 19.

  • Monday, September 17.

  • Wednesday, September 12.
    • From Chapter 3.
    • For our next class, please read sections 3.6 through 3.10 from Chapter 3.
    • Do the following Exercises at the end of Chapter 3: 7, 8, 9, 11, 12.
    • Be sure to check the programming assignments page for Assignment 3.

  • Monday, September 10.
    • From Chapter 2.
    • For our next class, please read sections 3.1 through 3.5 from Chapter 3.
    • Do the following Exercises at the end of Chapter 3: 1, 2, 3, 4, 6.
    • Be sure to check the programming assignments page for Assignment 2.

  • Wednesday, September 5.

  • Wednesday, August 29.
    • From Chapter 2.
    • Read sections 2.4 through 2.9 (pages 39-57) from Chapter 2.

  • Monday, August 27.
    • Read Chapter 1 and Sections 2.1, 2.2, 2.3, and 2.10 (pages 58-60 only) from Chapter 2.
    • Do the following Exercises at the end of Chapter 1: 3, 4, 8, 10.

  • Return to the main Java page.
    Return to the CS 490A home page.


    compliments and criticisms