Is there a way to apply question level grading inside problem block?

<problem>
<h3>Question 1</h3>
<multiplechoiceresponse>
<div>2+2=?</div><choicegroup><choice correct="true"><div>4</div></choice><choice correct="false"><div>2</div></choice><choice correct="false"><div>3</div></choice></choicegroup></multiplechoiceresponse>

<h3>Question 2</h3>
<multiplechoiceresponse>
<div>3+3=?</div><choicegroup><choice correct="true"><div>6</div></choice><choice correct="false"><div>5</div></choice><choice correct="false"><div>7</div></choice></choicegroup></multiplechoiceresponse>
</problem>

Is there a way to assign different weightages to each question inside the <problem> tag?

I searched the docs and found this: Problem Components — Latest documentation

From that it looks like “weight” is an attribute to the “problem”.

@john_curricume - what do you think?

1 Like

@mfarhan There isn’t a way to do it at the < multiplechoiceresponse > level in your example. It could only be applied at the < problem > level. So you’d have to break up your questions into two distinct blocks.

Once that is done, the weight can also be edited in the settings for the block, too:

It would have the effect that I think you want of giving different weights to problems in a quiz. The trade-off is that users have to click submit for each problem. This is more clicking, but there are some pedagogical benefits to giving users feedback right away if you are including feedback on those questions.

1 Like