Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit

CS 344 Grading Assignment 5 OTP

Last update: Nov 16, 2020.

How to run the Grading Tests

Here is the process:

1.   Read the Assignment as give on Canvas.

2.   If the student’s provided zip file does not include a compilation script called compileall, or a Makefile the grade is 0.

If this happens, ask the student to resubmit, letting them know there will be an 8

point penalty for missing the compilation script.

The submission should also include a copy of the grading script and all five plaintext

files: if these are missing, just copy them in yourself. They aren’t unique, I was just trying to have them submitted along with the student’s code so you wouldn’t have to go find them each time.

3.   On os1, run the Makefile or the compilation script (you may need to execute chmod +x compileall first to prepare the script to run) as follows:

$ compileall

If the code doesnt compile, the grade is 0.

4.   Once it has compiled, run the testing script as follows:

$ p5testscript randomNumber1 randomNumber2 > mytestresults 2>&1

The two random numbers should be between 55000 and 65000. Pick two different  numbers EACH TIME you run this grading script. If the script fails, run it again using  different port numbers: these ports are sticky, and Unix doesn’t let go of them          immediately after use. You may run afoul of students or other grading TAs using the same ports you do, so just try another set if you run into trouble.

5. Grade the program according to the criteria below.

Grading Criteria

There are a total of 160 points available for Program 3. My philosophy is that we should grade somewhat generously: give the student the benefit of the doubt, where possible.

To assign points, look at the results of the grading script: either the student returned the  correct value, code, or numbers, or the student didn’t. The correct result(s) are worth full points for that individual test, zero points otherwise. The test script will let you assign 150 points maximum.

Grade comments generously. I expect to see comments describing what and why is happening frequently. Fully commented code is worth 10 points.