Submit script

From Tux
Revision as of 17:47, 11 January 2018 by Williams (talk | contribs)
Jump to: navigation, search

The submit script is a program used on UNLV CS servers for students to submit assignments to instructors. It is more common to use it in required introductory CS courses such as CS 135, although instructors may opt to use alternate submission methods such as email, WebCampus, or Moodle). Be sure to follow the assignment submission policies as provided by your instructor in class and on the syllabus.

To use the submit script:

  • SSH to bobby.cs.unlv.edu and log in
    • You cannot submit your programs directly from lab computers in TBE B-361, you must SSH into bobby first
    • If bobby is not available, try cardiac.cs.unlv.edu or java.cs.unlv.edu
  • Navigate to the directory your file is located in
  • Make sure your program compiles, is documented, and is tested
  • Type the following: submit filename XX instructor
    • filename is the name of your file (e.g. asst1.cpp)
    • XX is the assignment code and can range from 01 to 30, inclusive (note: the leading 0 is important -- 04 is correct, 4 is not correct)
    • instructor is the login name of your instructor -- you can see a current list of instructors and usage tips by typing submit without any other text
  • Check below for examples of correct and incorrect submissions as well as output from the script

Things to note:

  • You should only submit .cpp or .tar files
  • Your file is time stamped and the instructor will download all student submitted files at once by specifying the assignment number and the last time stamp to accept
    • If your submission is due by 11:59 PM, you submit it at 12:03 AM, and your instructor downloads all submissions that are no later than 11:59 PM then your instructor will not get your submission
    • If your submission is for assignment 05 but you submit it with assignment code 06 then your instructor will not get your submission
  • You may submit as many times as you like although typically only the last submission prior to the deadline is downloaded by the instructor
  • The name of the file you submit does not matter -- when an instructor downloads your submission the file is renamed, although if you are submitting a .tar file the paths and filenames within are not modified

If you are curious and wish to view the submit script, it is located on bobby at /usr/bin/submit

Example submissions

INSERT THESE AFTER THE SYNTAXHIGHLIGHT PACKAGE HAS BEEN INSTALLED

Instructor notes

Use getsubmit to see usage details on how to download student submissions and filter by assignment number and time stamp. All student submissions remain in ~/submit until you manually move or remove them.