

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Introduction to computer science - Section Handout Assignment of Programming Methodology. Submitting Work. Prof. Sahami - Stanford University
Typology: Exercises
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Mehran Sahami Handout # CS 106A September 26, 2007
Based on a handout by Eric Roberts
This handout provides a little more background on submitting work. Remember first of all that each assignment requires two submissions: an electronic component submitted through Eclipse and a hardcopy component submitted in class. Whether an assignment is submitted on time is determined by the electronic submission, which is timestamped in the submission process. That time is based on the time on the server that receives the assignment, so it pays to submit things with a few minutes to spare, particularly if you discover that your computer’s clock is running slow. The hardcopy piece should be submitted in class on the due date for the assignment, and must match the electronic submission. It is not appropriate, for example, to submit an uncommented rough draft early and then hand in a beautifully commented listing for your hardcopy.
Submitting the electronic component
The Stanford version of Eclipse makes submission a relatively painless process. All you need to do is select the Submit Project entry under the Stanford menu, as you did for the Karel assignment:
Once you click on this button, Eclipse will bring up a dialog box asking you to select a project from your workspace, enter your SUNet ID and password, and then click on the Finish button.
In many cases—and particularly here in the case of Assignment #1—the project file will contain the source files for all the problems, so that a single submission is sufficient to deliver all the files. You may, however, make new submissions by invoking the Submit Project mechanism additional times. Your section leader will receive only the most recent submission.
The project you submit must contain all the files necessary to run your program. These files will typically be .java files containing programs. However, particularly if you are extending the program (say, because you’ve added some extra features in search of a + or ++ score), you may also have some image files or audio clips that are part of the submission as well.
Submitting the hardcopy component
The hardcopy submissions must include the following:
Program listings and sample runs are both easy to generate in Eclipse. All you need to do is select the Print command under the File menu.
Make a backup copy of your assignment
Although we work hard to keep track of all the assignments that come in, the fact that CS 106A has so many students and such a large staff means that assignments have sometimes gotten lost. If your assignment goes missing, you will need to resubmit. To make resubmission possible, you are responsible for keeping a backup copy.