USB logo
CS Banner
CSE 219
Computer Science III
How To Hand In - Fall 2009

Quick Links




READ CAREFULLY.

HOW TO HAND-IN ELECTRONICALLY


AN IMPORTANT NOTE ON ACADEMIC DISHONESTY You are encouraged to work and study with your classmates. You can discuss homework problems with your classmates in order to understand what you are being asked to do. HOWEVER, you must work on the actual solution on your own. All work you submit for homework or exams MUST be your own work. This is the only way you will strengthen your skills of programming and program design. You cannot submit any program code or exam answers obtained from another person as your own. You also cannot use unauthorized sources for your answers to programs or exams. If you are unsure whether a source is acceptable, you must ask your instructor. If you cheat or aid someone in cheating, you can automatically fail this course and be brought up on charges of academic dishonesty without warning.

All assignments must be handed in electronically via Unix (use SSH) from your Sparky account. This is the only way submissions will be accepted. Failure to follow these instructions correctly will result in your homework not being graded. No exceptions.

In order to hand in electronically, follow these steps:
  • On sparky, make a subdirectory from your home directory called "cse219". This only has to be done once. For example:

    bash-2.02$ mkdir cse219

    Make sure your directory is protected from access by outside users by changing its permissions using the chmod command in UNIX:

bash-2.02$ chmod 700 cse219

  • Change to this subdirectory from your home directory and make a directory for your assignment. Your directory names for your assignments should be "homeworkX", where the X is replaced with the homework number. For example, if you are working on the first programming assignment:

    bash-2.02$ cd cse219
    bash-2.02$ mkdir homework1

  • If you are working on sparky using JDK, you should create your Java files in this directory. If you are working at home, you can log in to your account through the University terminal server and upload a file to your account from home or the dorm. Please visit the main SINC site for more information on how to do this, or ask one of your TAs for help.

  • When you are done with your work in your program directory, you should have your source files (.java files) and compiled files (.class files). You are ready to submit your work. The only files you should submit are your .java files and image files(*.jpg or *.gif). Do NOT submit binary (compiled) files like .class files. We do not need these files since we will compile your code ourselves. Additionally, the compiled files are quite big and will waste a lot of memory. If you submit binary files, you will lose points on your assignment.

    From your homework directory, perform the following actions:

    bash-2.02$ mkdir submit
    bash-2.02$ cp *.java submit
    bash-2.02$ cp *.jpg submit


  • From the same homework directory, you can hand your homework for us to grade as follows:

    bash-2.02$ handin219 homeworkX _00 submit

    You would replace the "X" with the homework number (for example, "1"). and the "00" with your group number as two digits (for example, "01" or "02" or "03").

    Note: Group numbers are determined by your last name:
    • The handin command will tell you what is being submitted from the program directory and if it is successful. You will be told how many bytes have been submitted.  Check the sizes of your files that you handed in to see if the total is approximately correct. A correct submission might look like:

      bash-2.02$ handin219 homework1_03 submit
      a submit/ 0K
      a submit/Hello.java 1K
      Wrote 10240 bytes to hand-in file, now updating log file.
      Hand-in successful, 10240 bytes saved.
      bash-2.02$

      HINT: If it says '0' or less than 1000 bytes were submitted, you probably did something wrong!

    • If submission is unsuccessful, CHECK YOUR COMMAND to see if you typed it correctly. Also check to see that you are executing this command from the correct subdirectory. Still having trouble, see the instructor or any TA immediately! 

    • You may use the -r option to re-handin your assignment directory as many times as you would like UP TO THE DUE DATE/TIME OF THE ASSIGNMENT. Every time you hand in electronically, the old copy you submit is replaced with the new copy you are submitting. If you hand in (or re-handin) after the due date and time, it will be considered LATE (NO EXCEPTIONS!) and will not be graded. The easiest way to resolve this is to always include the -r option. For example:

      bash-2.02$ handin219 -r homework1_03 submit

    • Once you hand in your final version (before the due date and time), do not alter the source code that you have written in your account in any way. Altering the source code in your account will change the UNIX time stamp on the file(s). If there is a problem with your handin, we may need to examine your files in your account to see when they were completed. 

      WARNING: Electronic handin is NOT EMAIL!!!! Do NOT email your program to your TA or your instructor! If you do, it will not be graded! You MUST hand in electronically using the "handin219" command.

    • All program code that is submitted electronically must have the following information listed clearly in documentation (comments in your program code) at the beginning of each file:
      • Your name
      • Your SOLAR ID#
      • Your Email address
      • The programming assignment number
      • The course (CSE219), and
      • Your TA Name and group number
    • Do not submit after the due date/time even if you submitted earlier, the directories will be removed and all subsequent submissions will be rejected.

      PLEASE NOTE: All submitted programs will be checked using online tools for similarity in design and documentation. Remember, all programming work MUST be your own work. It should not be somebody else's design or a team-work effort. Students submitting programs that are identical or nearly identical in syntactic and algorithmic structure can fail this course immediately without warning. DON'T DO IT!