Links to useful informationTopPrograms from LectureHomework and Programming Assignments

Homework and Programming Assignments

Programs

Programs for this course will be run on the Pomona College Computer Science department's lab facilities, based in Andrew 252. You are welcome to use other computers to write and test your programs, but they must run on our facilities. You may log in remotely to any of the lab machines using ssh. Please do not log into any of our servers (e.g., linus) to do homework.

Turning in Homework

Runnable copies of programs for homework should be copied into directory /common/cs/cs131/dropbox on these computers. Files should be labelled with your name and the assignment number. If you have more than one file for an assignment, please put all associated files in a directory and turn in the directory. You can either drag your file or directory into dropbox or use sftp if you are running remotely. You are responsible for making sure that your program, as turned in, will run successfully without any extra work on my part. Include instructions on how to run your programs either at the top of the program file or in a separate README.

I prefer to receive copies of all problems, whether program or not, in the dropbox. Non-program solutions can be turned in either as plain text or pdf (preferably generated by LaTeX). If you would prefer to write your solutions by hand, please turn in printouts of all problems (including the programs), but also turn in programs in the dropbox. All items turned in must have your name on them (e.g., as comments for programs), as I will normally be looking at printouts, and will not know who to give credit to if there are no names printed.

An important criterion in grading homework will be clarity of solution. Thus you should attempt to explain your solutions, program or not, as clearly as possible. This also means that programs should be carefully documented so that I can understand them. At a minimum, each function defined should include a comment on what it does. The comment should explain what each input parameter stands for and how the output depends on the input.

Late policy

Problems involving analysis of programming language features will be assigned and due most weeks during the term. Homework will generally be due at the beginning of class on Wednesdays. Each student may use a maximum of three late days during the course of the semester (note that weekend days count). Once those late days are used up, late homework will not be accepted. Later revision: Only two days may be taken at a time. Thus, if homework is due at the beginning of class, it must be turned in no later than the beginning of class on Friday to get any credit.

Due Date      Homework      Solutions     
Sept 6 Hmwk 0 solution
Sept 13 Hmwk 1 solution
Sept 20 Hmwk 2 solution
Sept 27 Hmwk 3 solution
Oct 4 Hmwk 4 solution
Oct 12 Hmwk 5 solution
Nov 1 Hmwk 6 solution
Nov 8 Hmwk 7 solution
Nov 15 Hmwk 8 solution
Nov 29 Hmwk 9 solution
Dec 6 Hmwk 10 solution

Helper files for homework 4

Helper files for homework 10

CS 131 art exhibit based on problems from homework 4.
Links to useful informationTopPrograms from LectureHomework and Programming Assignments