Project 2 - Grading Scheme


You can use the following guidelines to interpret your scores. The total points is distributed and graded under Execution (40%) and Code (60%) - which appears under E and C in the graded paper. The meaning and distribution of marks in each category is given below.

Execution (40 points)

Here, the source code submitted is (without looking into the code) compiled and run with important test cases. In this category, marks are deducted in the following way:
 
       * Not Compiling     		 	 -40  
       * Compiling ,but no response 		 -30 
       * Always giving error message        upto -30
         in spite of what you input  		   
       * Running but giving wrong output    upto -20
       * More than one file on disk	          -2 

    A tick mark means that no points are deducted.  

Code, Comments, Style and Logic (60 points)

Here, the source code submitted(as hard copy) is evaluated. Marks in this category is deducted in the following way .
       * Program style, including comments,  upto -20  
         proper indentation, etc.
       * proper overall structure	     upto -40
       * proper structure for getOperand()   upto -10
       * proper structure for getOperator()  upto -10 
       * Not enough error types		           -5
       * Not using BigInt class			  -10
       * Skip spaces with cin.setf(...)            -5 
    As before, a tick mark means that no points are deducted.  
    

Comments from the grader


The overall performance of all the students was pretty good. Here are some of my observations.

(i) Even though it was emphasized in class that only one file should be included on disk and the file name must be project2.cpp, some people still forgot to do so, those who failed to meet this requirement lost 2 points.

(ii) On CodeWarrior, when using string class, header file string.h should be included instead of CPstring.h, Including CPstring.h is one cause that makes the program cannot pass compiling.

(iii) Some students cannot handle Control-D and RETURN properly, some lost 30 points for this.

(iv) Some students turned in the wrong file, they lost twenty points even though they are allowed to resubmit.

(v) You are not encouraged to use global variables, but some people did use global variables in their programs. No points were deducted this time.

(vi) At least two error types for getOperand() and one for getOperator() are needed. Quite a few programs cannot meet this requirement.


Xin He
8 March 1997