Programming, like composition, is an individual creative process. Individuals must reach their own understanding of the problem and discover a path to its solution. During this time, discussions with friends are encouraged. However, when the time comes to write the code that solves the problem, such discussions are no longer appropriate; the program must be your own work.
Do not, under any circumstances, copy another person's program. This includes relevant Linux source. Writing code for use by another or using another's code in any form is academic fraud and will be dealt with harshly. You are also responsible for ensuring that the code you write for the assignments is not readable by others.
The assignments will be implemented on the Linux machines in Friend 010. You can SSH to the machines from other computers in the Computer Science department, e.g., first ssh to portal.cs.princeton.edu, then connect to labpc-XX.cs.princeton.edu, where XX < 24.
Note that the lab machines use your OIT password, not your CS password. Please contact us if you have any trouble accessing your account.
If you are having trouble accessing your account in the Friend 010 lab, see these instructions: https://csguide.cs.princeton.edu/resources/friend
Make certain that your home directory on the lab machines is not world-readable/executable, i.e., other students could see your files. To do this, execute:
chmod 700 ~
from the command line.
You should submit your work on an assignment (electronically) before its due time. All assignments will be due at 11:59pm on their selected days. We will be giving special prizes for the first student to submit work for full credit per assignment. If you submit your work late, we will give you credit for it on this scale:
We will grant extensions only in the case of illness (with a doctor's note) or extraordinary circumstances. If illness or an extraordinary circumstance will cause you to submit an assignment late, then you should discuss the matter with your instructor as soon as possible. Please plan your work on the assignments so that travel, religious holidays, etc. do not cause you to submit it late. Note that heavy workload is not an extraordinary circumstance.
That said, you are allowed one "free" late day during the semester (that can be applied to one of assignments 1 through 4).
Note that reasonable work must be done for all submitted assignments in order to achieve a passing grade, so even if it is more than 7 days late, you should still submit the assignment by Dean's Date.
The final assignment is due on the Dean's Date, and we are not permitted to accept work after that date. Thus you may not turn in the final assignment late.
All of the code you turn in for this course should have good style. Make sure that your code has proper indentation, descriptive comments, and a comment header at the beginning of each file, which includes your name, userid, and a description of the file. In addition, your code should never leak memory and should always check the return value of function calls.
Last updated: Wed Mar 30 09:09:43 -0400 2011