| … | |
… | |
| 5 | |
5 | |
| 6 | =cut |
6 | =cut |
| 7 | |
7 | |
| 8 | =head3 full_partial_grader |
8 | =head3 full_partial_grader |
| 9 | |
9 | |
|
|
10 | =pod |
|
|
11 | |
| 10 | ########################################################### |
12 | ########################################################### |
|
|
13 | # full_partial_grader |
| 11 | # If the final answer is correct, then the problem is given full credit |
14 | # If the final answer is correct, then the problem is given full credit |
| 12 | # and a message is generated to that effect. Otherwise, partial credit |
15 | # and a message is generated to that effect. Otherwise, partial credit |
| 13 | # is given for previous parts. |
16 | # is given for previous parts. |
| 14 | |
17 | |
| 15 | =cut |
18 | =cut |
| … | |
… | |
| 64 | ($rh_problem_result, $rh_problem_state); |
67 | ($rh_problem_result, $rh_problem_state); |
| 65 | } |
68 | } |
| 66 | |
69 | |
| 67 | =head3 custom_problem_grader_0_60_100(@rh_evaluated_answers,$rh_problem_state,%form_options) |
70 | =head3 custom_problem_grader_0_60_100(@rh_evaluated_answers,$rh_problem_state,%form_options) |
| 68 | |
71 | |
|
|
72 | =pod |
|
|
73 | |
| 69 | ################################################################ |
74 | ################################################################ |
|
|
75 | # custom_problem_grader_0_60_100 |
|
|
76 | # |
| 70 | # We need a special problem grader on this problem, since we |
77 | # We need a special problem grader on this problem, since we |
| 71 | # want the student to get full credit for all five answers correct, |
78 | # want the student to get full credit for all five answers correct, |
| 72 | # 60% credit for four correct, and 0% for three or fewer correct. |
79 | # 60% credit for four correct, and 0% for three or fewer correct. |
| 73 | # To change this scheme, look through the following mess of code |
80 | # To change this scheme, look through the following mess of code |
| 74 | # for the place where the variable $numright appears, and change |
81 | # for the place where the variable $numright appears, and change |
| … | |
… | |
| 162 | |
169 | |
| 163 | } |
170 | } |
| 164 | |
171 | |
| 165 | =head3 NOTE: |
172 | =head3 NOTE: |
| 166 | |
173 | |
|
|
174 | =pod |
|
|
175 | |
| 167 | ################################################################ |
176 | ################################################################ |
|
|
177 | # This problem grader custom_problem_grader_fluid |
| 168 | # This problem grader was contributed by Prof. Zig Fiedorowicz, |
178 | # was contributed by Prof. Zig Fiedorowicz, |
| 169 | # Dept. of Mathematics, Ohio State University on 8/25/01. |
179 | # Dept. of Mathematics, Ohio State University on 8/25/01. |
| 170 | # As written, the problem grader should be put in a separate macro file. |
180 | # As written, the problem grader should be put in a separate macro file. |
| 171 | # If actually inserted into a problem, you need to replace a couple |
181 | # If actually inserted into a problem, you need to replace a couple |
| 172 | # of backslashes by double tildes. |
182 | # of backslashes by double tildes. |
| 173 | # |
183 | # |