=========================================================================== CSC 373 Homework Exercise 1 -- Marking Scheme Fall 2008 =========================================================================== NOTE TO STUDENTS: You will find below the marking scheme used for your homework, including the meaning of marking codes and number of marks associated with each one. This file also contains my instructions to the marker (so you can get an idea of how the homework was marked) and the marker's comments about each question. Please take the time to read this carefully before you ask questions about the grading of your homework. NOTE TO MARKER: Be picky! On any homework, it is the responsibility of students to show that they understand how to solve each problem and to write up their answers carefully. At the same time, keep in mind that exercises are worth only 1.5% of the final grade, so your marking should be somewhat coarse. And remember that marking is not just about evaluating the students's performances, but also about giving them feedback so that they can learn from their mistakes. This is especially important for students who made numerous or more serious mistakes, as they are likely to need more feedback in order to understand why their answers were incorrect. For each question, I list solution elements with an associated code for writing on student papers (the letter(s) between underscores _) and a number of marks. There are also general errors (with associated codes) given below, with a maximum number of marks to take off for each type of general error (as a percentage of the value of the question). You will likely encounter other common errors, or maybe decide to break down the marking scheme further. Simply make note of these changes/additions to the marking scheme, and introduce new code letters (or short words) to allow you to quickly give accurate feedback to the students (both in terms of what they did wrong and how many marks it cost them). GENERAL ERRORS (marked negatively, in addition to any other errors): _N_otation [up to 20%]: incorrect/ambiguous notation _V_agueness [up to 20%]: incorrect/unjustified/vague claim 1. [15 marks] (a) [12 marks] _S_tructure [2 marks]: clear attempt to give a precise algorithm, analyze its runtime, and argue its correctness _A_lgorithm [3 marks]: correct greedy algorithm _R_untime [1 mark]: correct analysis of runtime _C_orrectness [6 marks]: good argument of correctness; in particular, the argument takes into account the specific denominations used for this problem Marker's Comments: - Almost everyone gave a correct algorithm. - Took off a few marks for returning the number of each type of coin instead of a list of individual coins. - Many analyzed runtime but did not justify correctness at all -- this was a serious omission. (b) [3 marks] _S_tructure [1 mark]: clear attempt to give a specific counter-example to show the algorithm fails _C_ounter-example [2 marks]: correct counter-example Marker's Comments: - Pretty much all-or-nothing: everyone who correctly figured out that the algorithm would fail gave a proper counter-example.