How to Submit Homework

This document explains how to submit the first homework. Subsequent homeworks are submitted in exactly the same way except for the name of the directory containing your files. You will learn about files and directories in the intitial lab sections.

You are responsible for understanding everything on this page. I will be glad to help you if anything is unclear. You should practice submitting a file several times before the first homework is due. Stating the you did not understand the information on this page will not result in the submission policies being modified for you.

You must be on CSA in order to use the gsubmit program, which in effect forwards a copy of your work to the grader.

  • Put all of the files that you want to submit in a directory called hw2, and make sure that this directory does not contain any other files.

  • Submit the directory by typing:
              gsubmit cs111a2 hw2
    
  • You MUST always view each file that you submit in order to see exactly what the grader will see. This allows you to be certain that you have submitted the file that you actually intended to submit. For example, if one of the files is called prog1.cpp, then you will see exactly what the grader will see when viewing this file by typing:
              gsubmit cs111a2 -cat hw2/prog1.cpp
    
    Credit will not be given for work that you intended to submit, but rather only for the work that you actually did submit, so using this view option is absolutely crucial. Ignore or forget this requirement at your own risk. No exceptions.
  • If after submitting your work you wish to modify one of the files, you can resubmit that file (for example, prog1.cpp) like this:
             gsubmit cs111a2 -cp prog1.cpp hw2
    
    If you make any changes to your submitted work, no matter how small, the date/time stamp of the entire assignment will be that of the most recently submitted part.

    If you wish to remove a submitted file (for example, prog1.cpp), you can type:

             gsubmit cs111a2 -rm hw2/prog1.cpp
    
    The grader will put a file in your submission directory called GRADE-1 containing your score and an explanation of any errors or deficiencies. You can view that file in the same way that you view your submitted work:
             gsubmit cs111a2 -cat hw2/GRADE-1
    
    Or, you can copy it to your own directory like this:
             gsubmit cs111a2 -cat hw2/GRADE-1 > GRADE-1