Overall negative points in Embedded questions (Cloze)

Overall negative points in Embedded questions (Cloze)

by Michael Schmid -
Number of replies: 6

Hi all,

I am using Embedded questions (cloze) with negative points:

Because the answers are only zero or one (binary), the student can randomly fill out the table and get approx 50%. With the negative points I want to achieve that after 4 mistakes the student gets zero points.

The Problem now is that when the student gets everything wrong,  he gets negative points in this exercise and those will count for the total exam.

How can I make, that the bottom of points is limited to zero?

Example:



dec A B C D Y
0 0
0
0
0
{1:SHORTANSWER:=1~%-300%*}
1 0
0
0
1
{1:SHORTANSWER:=1~%-300%*}
2 0
0
1
0
{1:SHORTANSWER:=0~%-300%*}
3 0
0
1
1
{1:SHORTANSWER:=1~%-300%*}
4 0
1
0
0
{1:SHORTANSWER:=0~%-300%*}
5 0
1
0
1
{1:SHORTANSWER:=1~%-300%*}
6 0
1
1
0
{1:SHORTANSWER:=0~%-300%*}
7 0
1
1
1
{1:SHORTANSWER:=0~%-300%*}
8 1
0
0
0
{1:SHORTANSWER:=0~%-300%*}
9 1
0
0
1
{1:SHORTANSWER:=1~%-300%*}
10 1
0
1
0
{1:SHORTANSWER:=0~%-300%*}
11 1
0
1
1
{1:SHORTANSWER:=1~%-300%*}
12 1
1
0
0
{1:SHORTANSWER:=0~%-300%*}
13
1
1
0
1
{1:SHORTANSWER:=1~%-300%*}
14 1
1
1
0
{1:SHORTANSWER:=0~%-300%*}
15 1
1
1
1
{1:SHORTANSWER:=1~%-300%*}

Thanks Michael

Average of ratings: -
In reply to Michael Schmid

Re: Overall negative points in Embedded questions (Cloze)

by Dominique Bauer -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

Hello Michael,

This is quite easy to do with the Formulas question type. I added some JavaScript to jazz up the question a bit. At first glance, the question may seem a little complicated, but in fact it is quite simple.

I'm sure you're aware that with your marking scheme the only possible scores are 16, 15, 14, 13, and 0 out of 16, i.e. 100%, 94%, 88%, 81%, and 0%.

https://moodleformulas.org/course/view.php?id=91&section=11 ↗


In reply to Dominique Bauer

Re: Overall negative points in Embedded questions (Cloze)

by Michael Schmid -
I'm sure you're aware that with your marking scheme the only possible scores are 16, 15, 14, 13, and 0 out of 16, i.e. 100%, 94%, 88%, 81%, and 0%.


That is why I give a penalty of 300 %, that means for every wrong answer they get 4 negative points. and so the possible points should be 16,12,8,4,0

im1im2
In reply to Michael Schmid

Re: Overall negative points in Embedded questions (Cloze)

by Dominique Bauer -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

Sure. In that case, it suffices to replace g = p/16; with g = (p - 3*m) / 16 ; in the Grading variables field of the Formulas question.

The Cloze question type is an excellent one. But I don't believe it will let you do what you want. On the other hand, the Formulas question has a grading feature that gives you control over your marking scheme.

I used radio buttons to make it easier for the students to give the answers. You can add the option for "d". You could also use a drop-down menu. You can obviously also use an answer box in which the student must write 0, 1 or d.

The Formulas question has several other advantages, such as easily generating random data so that each student has a different question. You can shuffle questions, etc.

Could you quickly explain the answer, the truth table according to the Most significant digit and Least significant digit.

In reply to Dominique Bauer

Re: Overall negative points in Embedded questions (Cloze)

by Michael Schmid -
The Formulas question type looks very promising, but I have to check with our admins to add the plugin.
As of now, I cant import your XML example.

The part with the LSB and MSB can be removed, because the students don't have to fill out the truth table form the inputs.

Thanks a lot for the great response,
Michael
In reply to Michael Schmid

Re: Overall negative points in Embedded questions (Cloze)

by Dominique Bauer -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

Hello Michael,

Here are some clarifications.

  • With the Cloze question, you can use negative scores with all question behaviours except "Interactive with multiple tries".
  • When using negative scores, the total score can be negative, except when the question behaviour is set to "Adaptive mode" with which the total score cannot be less than zero.
  • So just change your question behaviour to "Adaptive mode" and the case is settled. Note, however, that the question behaviour is set in the quiz settings and therefore this setting affects all questions in the quiz.

The Close question has the advantage that it accepts a string as an answer, that it indicates for each sub-question if the question is correct or not, with ✔ or ✘, as well as the correct answer in a tooltip.

In the case at hand, the Cloze question may be more practical than the Formulas question. The functionality of answers accepting character strings and showing, for each sub-question, whether the student answer is correct or not and the correct answer are not yet implemented in the Formulas question. However, until they are, these features can easily be added with JavaScript workarounds as shown at: https://moodleformulas.org/course/view.php?id=104&section=9 ↗.