CS 117 Assignments

New Homework Policy

Effective 10/7/96. All homework is due at the beginning of class (5A) on the due date. Homework turned in on the due date but after the beginning of class will be docked 25%. Homework turned in the day after the due date will be docked 50%. Later homework will be marked as handed in but not given a score. Check with Jeff ahead of time if you have need of an extension.

Things to hand in

Listed in reverse order of due date.
  1. Final Project. Assigned 11/1/96, due 11/22/96. A smart game.
  2. Assignment 9. Assigned 10/30/96, due 11/6/96. A little more data processing.
  3. Assignment 8. Assigned 10/23/96, due 10/28/96. Run the program /Accounts/courses/cs207/squares. Write a program to do the same thing. If you want a bigger challenge, try to mimic /Accounts/courses/cs207/squaresWireframe. You might want to look at sierpinski.p as a model.
  4. Assignment 7. Assigned 10/16/96, due 10/23/96. A potpourri of programming problems.
  5. Assignment 6. Assigned 10/16/96, due 10/18/96. A little binary arithmetic.
  6. Assignment 5. Assigned 10/11/96, due 10/16/96. Write a program to draw a face. See the Carleton graphics documentation for functions and procedures you can use, and see the lab of October 11 for example graphics programs.
  7. Assignment 4. Assigned 9/25/96, due 10/4/96. How long are the words in the dictionary?
  8. Assignment 3. Assigned 9/20/96, due 9/25/96. Write a function that satisfies the following interface:
    
    {
        IsPerfect
    
        This function returns true if its parameter
        is a perfect number, and false otherwise.
        A perfect number is a positive integer, the sum
        of whose proper factors equals the number itself.
        For example, 6 = 1 + 2 + 3, and is thus perfect,
        while 12 is not perfect because
        12 <> 1 + 2 + 3 + 4 + 6
    }
    function IsPerfect( n : integer ) : boolean;
    
    
    Hand in only your function, not the full program you use to test your function. Use HSP to hand in the program.
  9. Assignment 2. Assigned 9/16/96, due 9/20/96. A little bit of data processing.
  10. Assignment 1. Assigned 9/11/96, due 9/13/96. Send email to me (my address is jondich) telling me

Suggested Reading

  1. 9/20/96 Read Chapters 9 and 10.
  2. 9/11/96 Read Chapters 4 and 8 of Abernethy and Allen.




Jeff Ondich, Department of Mathematics and Computer Science, Carleton College, Northfield, MN 55057
(507) 663-4364, jondich@carleton.edu