Using cs35handin to submit homework assignments

  1. Create a tarfile
    cd to the directory containing your homework files and create a tar file containing everything needed to compile and run your program:
    1. all your java source files (.java files)
    2. your Makefile
    3. a README file containing:
      1. the name of you and your partner
      2. any information we need to compile your program (other than typing "make")
      3. any information we need to run your program (for example, a description of any command line arguments and an example command line)
    4. any other files that we explicitly ask that you turn in as part of your assignment

    An example of creating a tarfile:

    % tar cvf prog2.tar Main.java Square.java Circle.java Shape.java README Makefile
    
    creates a tarfile named prog2.tar containing the files Main.java, Square.java, Circle.java, Shape.java, README, and Makefile

    More information about using tar can be found here.

  2. Run cs35handin
        % cs35handin
    
    you should see a menu that looks like the following:
          Hi, your_username!
          This program allows you to turn in your solution to
          Homework 2 -- due by midnight Sunday, September 12
    
          Enter 'h' to hand in a homework file
          Enter 'v' to view the files you have turned in
          Enter 'q' to quit
    
          handin>
    
  3. Submit the tarfile
    To submit your homework assignment, type h at the "handin>" prompt. cs35handin will list a menu of Exercises from this week's homework assignment. Type in your choice, and then cs35handin will prompt you to enter the name of the tarfile you are handing in for the Exercise.

    To list the Exercises that you have submitted, type v.

    Remember: you can re-submit solution to homework assignments any time before the due date (just re-run cs35hanin, and re-submit any Exercises that you wish to change).

AN EXAMPLE SESSION

allspice,[~],3:15pm% cs35handin

Hi, newhall!
This program allows you to turn in your solution to
Homework 1 -- due by midnight Monday, September 12

Enter 'h' to hand in a homework file
Enter 'v' to view the files you have turned in
Enter 'q' to quit

handin> h

Which of the following files do you wish to hand in?

   (a) Hello World Program (Problem 1)
   (b) Goodbye Cruel World Program (Problem 2)

Enter choice (a-b): a

What is the name of your Problem 1 (Hello World Program) tar file? prog1.tar 

OK, you have now turned in your Problem 1 (Hello World Program) tar file.
It will appear in the list of submitted files as "hw1.1.tar"


Enter 'h' to hand in a homework file
Enter 'v' to view the files you have turned in
Enter 'q' to quit

handin> v

newhall, you have turned in the following files:

hw1.1.tar

Enter 'h' to hand in a homework file
Enter 'v' to view the files you have turned in
Enter 'q' to quit
 
handin> q
allspice,[~],3:17pm%