Edit HTML on problem page | topic started 7/30/2002; 7:04:45 PM last post 7/31/2002; 1:48:55 AM |
|
Arnold K. Pizer - Re: Edit HTML on problem page 7/31/2002; 1:48:55 AM (reads: 1392, responses: 0) |
First
you might want to think about writing a single sentence at the begining
or end of the problem explaining to students that this "problem"
actually consists of 10 separate subproblems. Your more preceptive
students might understand what is happening and they will be confused
if they don't see the message Note: Partial credit is available on this
problem. This phrase is contained in the sub avg_problem_grader (line 3878 of PGanswermacros.pl). Precisely, it's on line 3904 $problem_result{msg} = 'You can earn partial credit on this problem.' if $count >1; Note that if you change it here, you will change it for all problems using this grader and I would strongly advise against doing that. Rather, look at the examples in setSampleGraders which show you how to write and call custom graders. You can copy and rename avg_problem_grader, then edit it to your liking. You can put this new grader in PGanswermacros.pl or in the individual .pg problem (there are some techical differences if there are escaped characters if the code is placed in the .pg problem --- check the documentation). Now I'm off to MathFest. Arnie |