Handin and Hello Unix Lab: Difference between pages

From Computer Science at Indiana State University
(Difference between pages)
Jump to navigation Jump to search
m 1 revision imported
 
wiki_previous>Jkinne
 
Line 1: Line 1:
== The handin program ==
A CS course might require that you visit the CS help lab (aka the unix lab) early in the termThe reason for this is to force you to check it, so that when you do need help you hopefully feel comfortable going there for help.  For basic information on the help lab see [[Unix Lab and Help]]
Handin is a program for checking out and handing in assignmentsThere is an online manual entry for handin and all associated programs, so you can type:
<pre>
man handin
</pre>


at your prompt if you need to refer to the documentation.
=Assignment=
You should find a time to visit the CS help lab either in person or on zoom.  Try to pick a time that will normally work for you.


=== Displaying Outstanding Assignments ===
You should say something like "hello, I am in CS ___ and am supposed to say hello for an assignment".  You should ask what the GA's name is and write it down.  You will ask the GA for one piece of advice related to computer science and write it downYou should write down just the basic idea, even if they have more than a few words to say to explain their advice.
By itself, executing handin with no additional command line parameters will display all the class assignments and their due datesIt will also display the last time a specific assignment was submitted, so that you can check your submissions.


<pre>
You should also tell the GA your name and your CS class username for the course.  The GA should write down (on paper or typing) your name, what course you are doing this for, your CS class username, and the advice they gave you.
handin
  Assignments:
  h1, due 2020-01-17 23:59:59
    - Last submitted on Sun Jan 12 13:16:16 2020
  h2, due 2020-01-24 23:59:59
</pre>


If your account is not a class account (does not start with something like cs151 or cs500), you can still check, checkout and handin assignments for a specific class using the <code>-c</code> (equivalently, <code>--class</code>) option followed by the class name in question:
'''Pass rating check'''  The GA that you check in with will submit the information to the instructor.  You will also submit the information to the instructor.  The instructor will check that all the information is there and that what the GA submitted agrees with what you submitted.
<pre>
handin -c cs456
</pre>


would select the cs456 class and then display the assignments for the class.
''Note - the shared spreadsheet that GAs use for submitting information to Jeff Kinne's courses is [https://sycamoresindstate-my.sharepoint.com/:x:/g/personal/jeffrey_kinne_indstate_edu/EZ-qTaKUcJ9GsEwDIDfpm0oBcRjJzSRVWaRDDtsaetUuog?e=MEg38w this link], which should work only for the current term's GAs.''
 
=== Checking Out an Assignment ===
Assignments can be copied to your directory using the <code>-C</code> or <code>--checkout</code> option followed by the name of the assignment, i.e.
<pre>
handin -C h4
</pre>
would copy the h4 assignment directory to your account where you can then begin working on your assignment.
 
=== Submitting Your Assignments ===
When you have done some work on your assignment, you an submit your assignment using handin followed by the name of the assignment directory i.e.:
<pre>
cd ~
handin h4
</pre>
will submit the h4 assignment.  Note that this should be done in the parent directory where the assignment directory is.  If you are using your class account for the assignment (e.g., you are logged in with your cs151 account and working on an assignment for cs151), you can also submit from with your assignment working directory:
<pre>
cd ~/h4
submit
</pre>
 
You can submit your assignment as many times as you like until the due time has passed.  If an assignment allows late submissions, they will be submitted into the late submissions directory.  You should submit early and often, as submitting your assignments can be used as a form of backup.
 
=== Grading Notes ===
Once your assignment has been graded, you may be able to check the grading notes for the assignment using the -g option which will print the grading notes for the assignment, assuming they have been submitted by your professor.
<pre>
handin -g h4
</pre>
 
=== Checking Your Work With --hwcheck ===
Some assignments may allow auto-checking, which can be accessed using the --hwcheck switch to handin.
<pre>
handin --hwcheck h4
</pre>
would check your work for the h4 assignment. You need to be in the assignments parent directory for the option to work, for that reason there is a helper script called 'check' that streamlines auto-checking your work while you are in the assignment directory.
<pre>
cd ~/h4
check
</pre>
runs the hwcheck on h4 w/o needing to be in the parent directory.  It will also attempt to run make if applicable to build any programs that require building.
 
In either case, the program checks the output of your program against the output of the instructor's solution on various inputs. If your program is incorrect on any test inputs, this information is printed.

Revision as of 15:42, 10 January 2023

A CS course might require that you visit the CS help lab (aka the unix lab) early in the term. The reason for this is to force you to check it, so that when you do need help you hopefully feel comfortable going there for help. For basic information on the help lab see Unix Lab and Help

Assignment

You should find a time to visit the CS help lab either in person or on zoom. Try to pick a time that will normally work for you.

You should say something like "hello, I am in CS ___ and am supposed to say hello for an assignment". You should ask what the GA's name is and write it down. You will ask the GA for one piece of advice related to computer science and write it down. You should write down just the basic idea, even if they have more than a few words to say to explain their advice.

You should also tell the GA your name and your CS class username for the course. The GA should write down (on paper or typing) your name, what course you are doing this for, your CS class username, and the advice they gave you.

Pass rating check The GA that you check in with will submit the information to the instructor. You will also submit the information to the instructor. The instructor will check that all the information is there and that what the GA submitted agrees with what you submitted.

Note - the shared spreadsheet that GAs use for submitting information to Jeff Kinne's courses is this link, which should work only for the current term's GAs.