UWB and UW Seal

Homework assignments

Message board
Assignment dropbox

UWB Information Technologies
UWB Quantitative Skills Center
UWB Writing and Communication Cntr.

CSS 549 program grading rubric (primary trait analysis)


Trait 1: Student writes complete and correct programs (60%)

Students demonstrating this trait will turn in code that compiles correctly and meets all of the program specifications.†††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††††† ††



Level 1: Most of the program has been implemented, but does not compile correctly:


Level 2: The program compiles correctly, but crashes during basic testing:


Level 3: The program runs, but fails to meet several of the specifications:


Level 4: The program runs, but fails to meet 2-3 specifications


Level 5: The program runs, but fails to meet a specification or makes major errors


Level 6: The program runs, but makes a major error or crashes during stress testing


Level 7: The program runs, but makes a minor error handling one case:


Level 8: The program is complete and performs all operations correctly:



Trait 2: Student writes code that is easy to understand (20%)

Students demonstrating this trait will write code that is easy to understand by:

   Describing the contents of each file at the beginning of the file. Describe the purpose of each class (or other code), the functionality, and any assumptions made. Give the author and a brief description of code use.

   Documenting the purpose, pre-conditions and post-conditions for each function (including main). Make sure the input and output (parameters) are clear. Documentation should be included at both declaration and definition.

   Documenting each logical code block within each function when performing non-obvious operations.

   Using indentation appropriately and consistently to delineate code blocks.

   Using meaningful function and variables names.

   Grouping similar or related functions together.

   Placing different classes in separate files and naming class files with the same name as the class (e.g., Student.h, Student.cpp or student.h, student.cpp).

   Using appropriate white space between functions and logical code blocks.

   Using white space within lines of code. Operators such as = and + should have a space on either side. In for statements use spaces between expressions.

   Writing lines of code with reasonable length (limit these to 80 characters, using a return when appropriate). Break long lines into shorter lines when possible.



Level 1: Documentation is present, but does not consistently adhere to the standards:


Level 2: Documentation is somewhat understandable, but needs improvement in areas:


Level 3: Documentation is understandable, but could be improved in at least one area:


Level 4: Documentation is very understandable and adheres to all of the above standards:



Trait 3: Student uses good programming practices (20%)

Students demonstrating this trait will write code with following properties:

   Object-oriented:† Objects should be self-contained with private data hidden. Methods should be public only when necessary. Do not circumvent information hiding by allowing operations that return internal, implementation-dependent data (e.g., pointers or reference to data members) unless appropriate.

   Efficient (time and memory): While small code optimizations are not important (and often counter-productive), the use of an efficient algorithm is crucial. Memory leaks are very inefficient.

   Modular:† Each function should perform a single well-defined operation. If a function performs two tasks, break it into two functions. If a function (including main) performs a series of steps, each step should be a function.

   Fail-safe:† Do not allow users to access invalid data or crash the program, except where noted in specifications.

   Miscellaneous:† Use const member functions whenever possible. When passing by reference, use const whenever possible. Do not use global variables. Global constants are acceptable. Eliminate compiler warnings when possible. Write portable code (i.e. donít make assumptions about the compiler.)



Level 1: The code adheres to at least two of the standards:


Level 2: The code adheres to three of the above standards:


Level 3: The code is good, but could use improvement in at least one area:


Level 4: The code is well-written and adheres to all of the above standards:



(Note that grades can and will be given in between the levels noted above in each trait.)