Is there a way to do this using the pg code? For example, problems with multiple parts keep track of the student's progress between attempts. Could something similar be done with a counter tracking number of attempts, freezing the problem's score after a certain number is reached? (Of course, there is the issue of a student using the back button on their browser, I suppose, which could lead to problems.)
In any case, I thought someone might have ideas about this.
Thanks,
-Patti Lamm, MSU
I have, however, successfully implemented a grading macro that reduces the available credit per attempt, since that was requested by a colleague of mine in biology that wanted to use WeBWorK to implement multiple-choice `quizzes' that allowed repeat attempts, but they didn't want to reward simply guessing the answer.
- Brian
Question for someone who know how gateways work behind the scenes: Would a macro such as Brian mentions work on a gateway? I know that problems with multiple parts don't seem to work on gateways.
-Patti
However, for a single version of the quiz with multiple attempts, I think that it might work. I'm just not sure what benefit there is in a custom grader that would not be more efficiently managed by setting the number of attempts for the version.
- Brian
You're correct that gateways as currently structured do not allow management of the number of attempts per problem. This is an artifact of the expectation that all problems on the set are submitted at the same time---thus, that it is not possible to have a different number of attempts for a given problem.
It sounds to me as if what you're describing is a different gateway (or set) than what the current module provides: one in which one can submit each problem up to a specified number of times (which is determined by problem and could be unlimited) and which, presumably, also has a time limit. This is definitely possible, and sounds like something that would be very useful, but isn't supported in the current gateway/quiz module.
Gavin
-Patti