All-or-nothing multiple choice, drag-and-drop matching, and drag-and-drop ordering for 2.0

All-or-nothing multiple choice, drag-and-drop matching, and drag-and-drop ordering for 2.0

by Adriane Boyd -
Number of replies: 9

Since I'm sure you've all been sitting around biting your fingernails in anticipation, I wanted to let you know that I have updated the following question types for 2.0:

Questions should have the same appearance/behavior as in 1.9 with the new features and improvements from 2.0 related to file handling, HTML editors, backups, etc.  Please let me know if you find any bugs by creating an issue in the tracker.

I haven't updated any languages other than English, so if you make updates for your language, it'd be great if you could send me a copy so I can make it available for everyone.

-Adriane

Average of ratings:Useful (2)
In reply to Adriane Boyd

Re: All-or-nothing multiple choice, drag-and-drop matching, and drag-and-drop ordering for 2.0

by Julien Cros -

Hello,

Is GIFT supported for the "All-or-nothing multiple choice" plugin for moodle 2.0 ?

Thanks in advance,

Julien

In reply to Julien Cros

Re: All-or-nothing multiple choice, drag-and-drop matching, and drag-and-drop ordering for 2.0

by Adriane Boyd -

No, mainly because there's no standard GIFT format for all-or-nothing multiple choice and it's difficult to develop new GIFT formats that don't conflict with the existing question types.  It wouldn't be entirely impossible to add, but any GIFT format for all-or-nothing multiple would need to look very similar to normal multiple choice, which would probably lead to confusion.

The only currently supported import/export format is moodle XML.  If you have existing questions that you want to convert from multiple choice to all-or-nothing multiple choice, it would be pretty easy to convert a moodle XML export of the multiple choice questions to the all-or-nothing type with a simple search and replace.

Basically, make sure the right answers have grades of 100% and the wrong answers grades of 0% (which I think is the default if you've done a GIFT import, but I'm not sure).  Export the multiple choice questions in moodle XML format and in the moodle XML export, change all occurrences of

<question type="multichoice">

to

<question type="multichoiceset">

Import the modified file and all the modified questions should be added as all-or-nothing multichoice.  Normal multiple choice has a few more options than all-or-nothing, but I think the import will just ignore these options.  I also think that unpredictable things will happen if your grades aren't all either 100 or 0, because all-or-nothing doesn't know how to deal with any other grades.

Note that I haven't tried this out myself, so it may not be quite as straightforward as I've imagined...

Average of ratings:Useful (1)
In reply to Adriane Boyd

Re: All-or-nothing multiple choice, drag-and-drop matching, and drag-and-drop ordering for 2.0

by Julien Cros -

Hi Adriane,

I haven't said it in my previous post but: "Thank you for the updates".

I'll experiment your suggestions and report here results.

Thanks again,

Julien

In reply to Adriane Boyd

Ats: All-or-nothing multiple choice, drag-and-drop matching, and drag-and-drop ordering for 2.0

by drift drift -

Very welcome news! Adriane added the most valueble functionality not only in 1.9 but also 2.0 by my opinion. Today I have quite a lot of questions made with all-or-nothing in 1.9 version. What steps shoud I consider migrating to 2.0 with this plugin? Do I have just upgrade Moodle to 2.0 and install new version of plugin and all my old questions/answers will be displayed without damage?

In reply to drift drift

Re: Ats: All-or-nothing multiple choice, drag-and-drop matching, and drag-and-drop ordering for 2.0

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

That is the theory. However, the upgrade to Moodle 2.0 is big and scary, so you should definitely try out the upgrade on a copy of your site, before upgrading for real. See Upgrading, and Moodle migration for how to make a copy.

In reply to Adriane Boyd

Re: All-or-nothing multiple choice, drag-and-drop matching, and drag-and-drop ordering for 2.0

by Nicolas Dunand -
Picture of Core developers Picture of Plugin developers

Hi Adriane,

Thanks a lot for this smile

We're glad you provide a version for Moodle 2.0 as well. As we're using Moodle 2.0 in French, I just translated it (see attached file).

Btw, I think that in the English language file the 'multichoiceset_help' string is incorrect. My translation in French says something like the following :

To answer this question type, the user chooses from several possible answers. This is identical as the "Multi Choice" question type, except that the score can only be 100% (fully correct) or 0% (partially correct or incorrect).

In reply to Nicolas Dunand

Re: All-or-nothing multiple choice, drag-and-drop matching, and drag-and-drop ordering for 2.0

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Nicolas,

You are right, the contents of that 'multichoiceset_help' string is incorrect. Actually, in English, it should reflect the contents of the "old" Moodle 1.9 Help HTML file:

After an optional introduction, the respondent can choose one or more  answers.  If the chosen answers correspond exactly to the "Correct" choices defined in the question, the respondent gets 100%.  If he/she chooses any "Incorrect" choices or does not select all of the "Correct" choices, the grade is 0%.
The feedback specified for each choice is displayed next to any selected answers.
At least one choice must be marked correct for each question.  Add a "None of the above" option to handle a question where none of the other choices are correct.
This question type is unlike the multiple choice question with multiple answers because the choices do not have fractional grades.  The possible grades for a question are either 100% or 0%.

And the French translation could be copied from the "old" Moodle 1.9 Help HTML file (for which I did the French translation some time ago ; see this discussion in the French-speaking forum):

Dans ce type de question, l'étudiant peut choisir une ou plusieurs réponses. Si les choix effectués correspondent exactement aux réponses notées à 100% dans la question, il obtient un score de 100%. Si l'étudiant choisit l'une des réponses notées à 0% <em>ou</em> s'il ne choisit pas <em>toutes</em> les réponses notées à 100%", il obtient un score de 0%.
Le message de feedback correspondant à chaque choix s'affiche à droite de chaque réponse sélectionnée.
Dans ce type de question, une réponse au moins doit être avoir une note de 100%. Si aucune réponse n'est correcte, il faudra ajouter - comme réponse à 100% - une réponse intitulée par exemple "Aucune de ces réponses".
Le système de score pour cette question <em>Choix Multiple Tout-ou-rien</em> différe de celui des <em>questions à choix multiple et réponses multiples</em>, car le score <em>global</em> pour chaque réponse est soit 100% ("tout") soit 0% ("rien").

Joseph

Average of ratings:Useful (1)
In reply to Joseph Rézeau

Re: All-or-nothing multiple choice, drag-and-drop matching, and drag-and-drop ordering for 2.0

by Nicolas Dunand -
Picture of Core developers Picture of Plugin developers

Hi Joseph.

Thanks ! I did not know about this discussion thread though I had seen that you translated the 1.9 version.

I then just added the correct english and french texts for the 'multichoiceset_help' string, and here are the updated language files.

In reply to Nicolas Dunand

Re: All-or-nothing multiple choice, drag-and-drop matching, and drag-and-drop ordering for 2.0

by Adriane Boyd -

Hi Nicolas and Joseph,

Thanks for the French translations and for pointing out the problems with the English, too!  I added everything to CVS and the translations should be in the contrib downloads soon.

-Adriane