There is not one correct answer for each assignment task; but there are more adequate or less adequate ways of dealing with each assignment task. So your grade is not based on whether you come up with a single correct answer or on whether you come up with the answer that the professor supports. Rather, your grade depends upon

The most likely shortcomings that hold down grades are:

  1. departing from the instructions for an assignment;
  2. failing to complete every part of the assignment; and
  3. being too brief (or lacking inline documentation in code).

In order to avoid these shortcomings then, you need to

General grading scheme: