CS201 Spring 2001
4/27/01 Homework #11 is due Friday, May 4th by 4:00 pm.
4/18/01 Homework #10 is assigned. It will be due next Wednesday (the 25th) by 4:00 pm.
4/13/01 Homework #9 is assigned. It will be due next Friday (the 20th) by 4:00 pm.
3/30/01 Homework #8 is assigned. It will be due next Friday by 4:00 pm.
3/21/01 Homework #7 is assigned. It will be due Monday by 4:00 pm. Also, there is now a link to the sort animations I showed you in class, see the links section.
3/22/01 Here are the files for the hard homework problem (knights tour) weve been working out during class time. Chess1.cpp is the original one that takes the first legal move it can, and Chess2.cpp (which has a bug) is the one that is supposed to pick a random move from the legal possibilities.
3/2/01 I have assigned the rest of Homework #6 (one more problem). See the link. Note that the homework will now be due at 4:00 pm on the due date (Friday the 9th, in this case) so that the grader can pick it up and grade it over the weekend.
2/21/01 Well, the trial is supposed to finish today, so Ill probably be gone all day in deliberations. If you need to contact me, use email, or see if Im around Thursday or Friday before the exam. There is a handout (see handout links) with information about the test.
2/16/01 I will still be on jury duty today (Friday), but I will be in class on Monday since that is a state holiday so there is no trial court. Hopefully I will be done and back in class by next Wednesday. Dr. Chappell will be lecturing and finishing up Chapter 3, and passing out the next homework assignment (also linked below) and a sample test.
2/9/01 The tentative semester schedule for this class has been updated a little. See the syllabus handout link below.
1/29/01 There were two slight errors in homework #2. First, in 1b, the question should have only two quotes in it (otherwise there is a syntax error). As written it has three. The middle one wasnt supposed to be there. Also, problem 6 says to reverse a 5 digit number, but the example has only 4 digits. Make it work for 5 digits. The homework assignment on the web has these errors fixed.
1/19/01 I managed to
forget a line when I wrote what you need to do for homework #1-B on the board.
Youll need to type
using namepace std;
as the second line of your program, after the #include line and before the definition of main().
1/19/01 Some of you have the 2nd edition of the text, instead of the 3rd. This is fine. This textbook is the best C++ reference we have found, but sometimes doesn't explain concepts as well as you may like. Feel free to use other books as supplements. Many students have found the C++ Primer, by Lippman and Lajoie (Addison Wesley) to be helpful. You can also check the library or reviews on Amazon to find a C++ book you like.
1/19/01 I don't feel that a lab is necessary for this course, so the Thursday afternoon times in the lab will not be class meeting times. However, I suggest that you use that time to work on homework assignments. That way you will have other people from the class in the lab at the same time, and you can ask them questions and get advice. (Presumably you will answer questions and offer advice, too.)
1/19/01 After writing your program for homework #1, go back and make some changes to it that will cause errors. Look at what your compiler says, and compare it to what you know is wrong. This kind of experiment will save you a lot of time in the future. When you get a compiler error, you will already know what kind of mistake it is referring to.