CSCI 1200 - Spring 2008
Computer Science II
Home
  Contact Information

Announcements

Course Overview
  Prerequisites

Grading

Sechedule
  Lab Times
  Office Hours

Calendar
  Lecture notes
  Lab materials
  Homework
  Test reviews

Textbooks
  Web Resources
  Drop in Tutoring

Academic Integrity

Homework
  Due Date and Time
  Late Day Policy
  Compilers
  Electronic Submission

Programming Tips

C++ Development
  Cygwin
  Emacs
  Dev C++
  MinGW

Other Information

Announcements

Apr 15 Megha's office hours tomorrow (the 28th) will be from 5-6 instead of 11-1
Apr 15 Alison's office hour tomorrow (the 16th) will be from 2-3 instead of 5-6 (tomorrow only)
Apr 14 Megha's Office hours today canceled. She will be having make-up hours tomorrow from 4-6pm in MRC 331. THIS WEEK ONLY
Mar 4 Lecture 12 posted, HAVE A GOOD SPRING BREAK!!
Mar 4 Lectures 11 posted, Lab 7 posted
Feb 28 There is still some confusion about the use of the cs2list class from Tuesday's lecture and today's lab in HW 5. You may NOT use the class directly as a replacement for std::list. What we need to see instead is direct manipulation of the linked list structure in solving the Josephus problem. Therefore, you may use ideas or code from the cs2list member functions in your function(s) that solve the Josephus problem. One example is copying a list.

Another way to think about this is that you should not use iterators (as in the std::list::iterator or cs2list::iterator type), but instead you should use pointer operations

Here is a more extensive example that might help in understanding this. When you step through the list and reach the next person to "die", you will stop at a node in the list containing a person's name. In using cs2list or std::list you would step through using an iterator and then call "erase" using that iterator. This would actually call "delete" (see the code for cs2list::erase) that node. Then you would call "insert" or "push_back" to add the name of the person to the end of a second list that keeps the order the names were removed. This involves a "new" operation. Instead, for the Josephus problem, you should be using pointers to step through the linked structure and use pointer operations to remove the *node* from the one list and put the node on a second list *without* new or delete.

Feb 26 HW 5 is now due Friday February 29 at 11:59:59 pm. Students may only use one late day, however, so all HW 5 solutions must be submitted by Saturday March 1 at 11:59:59pm. Similarly, HW 6 must be submitted by Friday March 7 at 11:59:59pm to avoid being late, and all solutions must be submitted by Saturday March 8 at 11:59:59 pm.
Feb 26 Lectures 9 and 10 posted, Lab 6 posted
Feb 22 Homework 5 Posted
Feb 20 Jason's Office Hours Friday Canceled
Feb 14 Homeworkd 4 posted
Feb 12 Lab 5 Posted
Feb 11 Test 1 Sample Question Solutions Posted
Feb 6 Test 1 Sample Questions Posted
Feb 5 Lab 4 posted
Feb 4 *** IMPORTANT *** All homeworks must be submitted as a single zipped directory with all your source files and readme.txt inside it. The directory should be named hw3 (and not Homework3 or hw 3 or Hw3 or anything else) for Homework 3, hw4 for Homework 4, and so on. You will be heavily penalized if you do not follow this structure from now on. Those who have already submitted hw3 should resubmit follwing these instructions.
Feb 1 *** IMPORTANT ** PLEASE DO NOT PUT SPACES IN YOUR FILE AND FOLDER NAMES FOR HOMEWORK AND LAB SUBMISSIONS
Feb 1 *** IMPORTANT *** Office Hours Updated
Feb 1 Lecture 4 notes posted, Lecture 6 code posted
Jan 31 Homework 3 posted
Jan 30 *** IMPORTANT *** Alison's office hours today (Weds 1/30) are 2-3pm instead of 5-6pm
Jan 29 Lecture 3 notes posted, Lab 3 postted, updated Academic Integrity site
Jan 25 Lecture 2 notes posted, Lecture 4 code posted
Jan 24 Homework 2 posted
Jan 22 Lab 2, checkpoints 1 and 2 posted
Jan 20 Homework 1 is fixed and updated, all proper information is availible
Jan 15 Website is updated and Lab 1 is posted
Jan 11 Welcome to CSCI 1200: Computer Science II
The first day of class will be Tuesday Jan 15th, see you there!