Grading Criteria for Program 3 CS 115 Fall 2017

Syntax or Runtime Errors: 1 error will cause deduction of 10 points. More than 1 error will cause much greater loss of points.

All functions are also graded on correct header and return values
Program
Correctness
70

Introductory message

User id and search phrase input

Search with case sensitivity handled correctly

Number of hits reported correctly

Function get_data: Database information processed correctly

      used try/exception correctly

      Handles badly formatted database file

Function do_a_search to perform search and report results

Function report_hits to create HTML file for successful search

Function report_failed to create HTML file for unsuccessful search

Function add_to_log to handle the secret.txt file

Handles empty database file

Number of hits is correct
Style and
documentation
15

Prolog Comment with Name, Section, Email, Purpose

Pre and Post conditions for program

Meaningful Variable Names

Documentation of Code

Source code formatting/ whitespace

Functions documented well (template info filled out for each)
Late Penalty
Test Cases 20 points
Design 20 points
Total 125

TAs have the authority to deduct points for other items which do not follow the program specifications, as given in the assignment page, or the documentation or other standards stated on the class web page.