WeBWorK Problems

multi-part problems: printing + weight

multi-part problems: printing + weight

by Siman Wong -
Number of replies: 0
Following the instructions in http://webwork.maa.org/wiki/SequentialProblems we have successfully created multi-part problems. We have two questions, about (disabling) printing and about weight of the problem. We are using webwork v2.5.

<br>

(1) When we print out the hardcopy only the first part appears -- as expected, since a student should only see one part at a time -- but it also prints out the answers to all the internal variables (thereby defeating the problem):

<br>

¡input type=”hidden” name=”r1” value=”5” /¿¡input type=”hidden” name=”q1” value=”3” /¿¡input type=”hidden” name=”q2” value=”2” /¿¡input type=”hidden” name=”r2” value=”1” /¿¡input type=”hidden” name=”gcd” value=”1” /¿


<br>

Is there a way to disable the printing of multi-part problems only on hardcopies and replace each one with a message like "this is a multi-part problem and webwork will not generate a hard copy of this problem"? Even just disabling the printing alone will be extremely useful.

<br>

(2) By default each webwork problem has a "weight" of 1. For multi-part problems I would like to change that to "2" say. I know that instructors can change that in the homework set editor on a per problem basis; can we hardcore this factor of "2" into the specific problem? Thanks!