## WeBWorK Problems

by Paul Seeburger -
Number of replies: 2

Is there an easy way to allow two separate series of related correct answers for a series of answer blanks?  That is, depending on the student’s first choice, giving full credit for the corresponding correct answers for the next two or three answer blanks?

I’m working with a Bernoulli DE that happens to have two correct substitutions that work, the Bernoulli standard one, and another “nicer”one.

2yy’ + 3 = y^2 + 3x

My student’s nicer approach uses, u = y^2 + 3x.

The standard Bernoulli substitution expected by the problem is: u = y^2.

But then there are two more answer blanks asking for u’ and for the DE after substituting everything in.

I’m guessing a custom grader is probably the only way to do this, but I wanted to check with you all first.

Thanks!

Paul

by Paul Pearson -
Hi Paul,

• The weighted grader with the credit answer option allows you to specify one answer blank to be the final answer which, if answered correctly, will provide full credit for all other answer blanks in the problem.

Also, you may want to try using parserOneOf.pl, which will mark one of several correct answers (for one answer box) correct via

The functionality you desire could also be implemented for multiple answer blanks using parserMultiAnswer.pl.

Best regards,

Paul Pearson