Rough grading guidelines for HW#3

Total points in Part A (participation grade): 10.
Total points in Part B: 50.

Part B breakdown:

  1. Style (15 points)

    We will especially look for proper function prototypes (naming, placement, etc.) and good comments on functions, but all other elements of style apply as well.

  2. Correctness (20 points)
    1. Strict "blackbox" testing (14 points)

      "Blackbox" means that we will test your program purely on the basis of its input/output behavior without looking inside your code. Strict means that we want exact matches to the I/O behavior described in the writeup. We will use three sets of test input that will check your program's ability to check numbers for PRIME vs. composite and also its ability to handle errors (too large numbers or illegal characters). The emphasis will be on correct testing for primality.

    2. Code inspection (6 points)
  3. README (10 points)

    One point per question (but more for questions 1 and 2). README files that are difficult to read may lose some or all of the 10 points.

  4. Directions (10 points)

    Here we will check to ensure that you followed the static call graph and function descriptions provided to you.

  5. Mechanics (5 points)

    Proper use of the turnin form.

If your program does not compile and run, we cannot do blackbox testing. So, we will take off all 14 points for that section of the assignment. Moreover, you are likely to lose some points in the whitebox testing part.