CIS 122: Algorithms and Programming

Announcements


08-10-04

Assignment #6 is posted, and is due tomorrow (Wed. 08/11) at 5:00 pm. Please note that this deadline, up to the time of day, is firm. I want you spending the bulk of your remaining time this week preparing for the final, and I want a chance to grade this last homework in time to give it back to you on Thursday. Although 24 hours may not look like much notice, the project is a light one (in spite of the massive amount of code). If you run into problems with it, we can address them in class tomorrow.

A reminder that class tomorrow will be held in KLA B26.


08-09-04

Construction of the last homework project is still ongoing, and the workload of the last homework is getting progressively smaller :-)

In preparation,be sure you're caught up on the following reading: Chapters 11, 14.1-3, 14.5, 18 and 19.


08-07-04

For those of you who've been waiting for HW #6 to come out, you'll be waiting a bit longer -- about 48 hours longer, in fact. I decided I'd rather have you all work first on the practice assignment below, which should help ease the climb over the steep conceptual hill of classes/objects. Assignment 6 will therefore come out Monday morning, will be due on Wednesday, and will have a workload designed to make that turnaround possible.

Do the practice assignment this weekend -- you'll be glad you did.


08-06-04

For the betterment of your command of class implementation, and the general building of character, an optional assignment. Today in class, we began work on implementing the methods defined in the declaration of the Date class. Your job is to complete this implementation.

This assignment is optional. It is good for neither a grade, a makeup, nor extra credit. Do it for the practice of implementing a class, and for some nice puzzles in the method bodies. Of immediate practical value, it will help you with the last (graded) homework, and with the final exam.

Three files, including testDateTime.cpp, which you can use to test your code:

datetime.h, datetime.cpp, testDateTime.cpp

Compile this with the following command:

          g++ -o testDateTime testDateTime.cpp datetime.cpp

Then run testDateTime. I'll post a completed solution on Monday.


08-05-04

No office hour time today. I'll hold additional time tomorrow (08/06), from 2:30 - 3:30.


08-03-04

Tomorrow's class (i.e., Wednesday, 08-04-04) has been rescheduled. There will be no class tomorrow, and a make-up class on Friday, 08-06, from 10-noon. Friday's class will be held in the Klamath B26 lab. Although I expect attendance, I recognize that some of you will have prior commitments that preclude this. Please let me know if this is the case, so that I can make sure you don't miss anything.

Related to this, I will, of course, hold office hours at the regular time (1:30-2:30), but for tomorrow, I will be at Expresso Roma during that time.

If you are wondering what this is about, you can read more at http://www.gtff.net


Assignment 5 is posted, and is due on Thursday, 08/05.


08-02-04 There's a typographic error in Assignment #4, part 1 ("lettershift"). The body of letterShift contains two cout statements which are intended to aid you in debugging, and which are both commmented out. Both have mistakes. They should read (in source code order):
  //cout <<  "should be in range 0-25:" << c_offset );

  // Compute the position of the shifted char in alphabet (range 0-25)
  int shifted =  ????

  //cout <<  "should be in range 0-25:" << shifted );
For those of you who've tried to used these probes to aid in debugging, the above fix should take care of the weird results you're seeing.

07-29-04 Assignment #4 is posted, and is due at the start of class on Tuesday, July 27. Assignment #3 was problem 6.14(a) from HW #2

07-27-04 For HW #2, which is due tomorrow (Wednesday the 28th), you do not need to turn in Problem 6.14(a). That will be turned in separately on Thursday.

07-22-04 Assignment #2 is posted, and is due at the start of class on Tuesday, July 27.

07-20-04 Although it was important that we get through it, covering the information systems aspects of emacs and compilation took much long than I expected today. Consequently, I've decided to postpone the due date for Assignment #1 for a day. New due date is Thursday, July 22.

07-19-04 Assignment #1 is posted, and is due at the start of class on Wednesday, July 21.
I have put three supplementary references on limited reserve at Science Library. Two are C++ language references, which can be used to supplement the information in your textbook. The third is a small primer on C++ programming style, one of those hard-to-quantify-yet-vital elements of good practice, which really does affect your skill as a programmer.

On the other hand, I am thus far having no luck finding copies of our textbook for the library reserve. I continue to hunt for these, and will post an anouncement when they are acquired.

UPDATE (08-01-04): The science library has now acquired a copy of this book. My thanks to the excellent reference and acquisitions folks there.

John H. E. F. Lasseter
Last modified: Tue Jul 27 15:02:09 PDT 2004