Question types: All-or-Nothing Multiple Choice

qtype_multichoiceset
Maintained by Picture of Jean-Michel VédrineJean-Michel Védrine, Picture of Eoin CampbellEoin Campbell
The all-or-nothing multiple choice question is a version of the core multi-answer multiple choice question with modified grading. In an all-or-nothing multiple choice question, a 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%.
2471 sites
924 downloads
45 fans

This is a multiple-choice, multiple-response question type that was created by Adriane Boyd and later maintained by Jean-Michel Vedrine. It is now maintained by Eoin Campbell.

Description

The all or nothing question is adapted from the existing multichoice question. The main difference from the standard Moodle multiple choice question type is in the way that grading works. The teacher editing interface is slightly modified as when creating the question, the teacher just indicates which choices are correct.

Grading

In an all-or-nothing multiple choice question, a 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%. Before using this question type, teachers must really think if this grading is what they want.

Screenshots

Screenshot #0

Contributors

Picture of Jean-Michel Védrine
Jean-Michel Védrine (Lead maintainer)
Picture of Eoin Campbell
Eoin Campbell: New maintainer
Picture of Adriane Boyd
Adriane Boyd: Original Author
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Eoin Campbell
    Wed, Jan 30, 2019, 6:28 AM
    This question type now supports the Moodle mobile app version 3.5 (I think) and 3.6, when running Moodle 3.5 or Moodle 3.6, thanks to code contributed by Zvonko Martinovic.
  • Picture of Bojan Zugec
    Fri, Feb 1, 2019, 4:35 PM
    Yes, I can now confirm that the plugin works with the mobile app version 3.5 and that is excellent. Thanks to all the contributors (Jean-Michel and Eoin) and especially to Zvonko Martinovic.
  • Picture of Eoin Campbell
    Fri, Feb 1, 2019, 8:09 PM
    Regarding batch uploading of multichoiceset questions, you can create questions in Microsoft Word and import them using the https://moodle.org/plugins/qformat_wordtable plugin. A Word template to support creating questions is available for download at http://www.moodle2word.net/
  • Picture of Cameron Hallowell
    Tue, Feb 12, 2019, 5:54 AM
    To Eoin, I have just had a look at the moodle2word stuff, it is brilliant! You have to do some customising of ordered lists, tables etc but that is a small price to pay for the other benefits.
  • Picture of Eoin Campbell
    Fri, Feb 15, 2019, 1:07 AM
    Thank you. You could consider marking it as a favourite if you like it. You might also like two related plugins for Atto and Books. cf. https://moodle.org/plugins/browse.php?list=set&id=82
  • Picture of Wade Noneya
    Wed, Apr 17, 2019, 11:18 PM
    Problem for a newcomer. We have been asked to host a course that, unknown to us, uses this plugin. We imported the backup course and then tested. At first we discovered this plugin by getting this error "coding error detected, it must be fixed by a programmer: Unknown question type multichoiceset".

    We did some research, found this plugin, and installed. NOW when a user encounters one of the questions using this format (we think) it gives a new error.... "Can not find data record in database table qtype_multichoiceset_options"

    Can you advise as to what I need to do to fix this? It's quite urgent, actually.

  • Picture of Eoin Campbell
    Wed, Apr 17, 2019, 11:57 PM
    Try restoring the course again now that the plugin is installed.
  • Picture of Jean-Michel Védrine
    Thu, Apr 18, 2019, 12:02 AM
    Hello Wade Noneya, if the plugin was installed after the question were imported, unfortunately all the multichoiceset questions that were imported or estored before the plugin installation are broken. This is not specific to multichoiceset question type plugin, it's the same problem when you import or restore questions and the corresponding plugin is not installed. Sorry.
    The best solution if you are able to do that would be to delete the imported course and import it again. If you are not able to do that and absolutely need to find a solution without deleting that course, send me a message and I will try to find a solution.
    To Eoin Compbell, we could try to prevent this problem by adding a default options record (similarly to what is done in multichoice) I will do a pull request to your Github.
  • Picture of Wade Noneya
    Thu, Apr 18, 2019, 12:39 AM
    I suspected that might be the case. So now, with the plugin installed, if i were to reimport it would be fine? I can't redo what I've edited on the existing course, but there are only three questions in this bank that use this format, and if I could see the settings/content in another course that worked I suspect I could just recreate those questions in this case (thereby recreating that data?)?
  • Picture of Wade Noneya
    Thu, Apr 18, 2019, 12:54 AM
    What about exporting the questions, will that work and if so, what format would I use considering this plugin is in play/ ?
  • Picture of Wade Noneya
    Thu, Apr 18, 2019, 1:23 AM
    Never mind. Silly question, just recreated since there were so few. Thanks so much for your prompt input and help. Much appreciated.
  • Picture of Marcello Pigini
    Sat, Sep 28, 2019, 5:08 PM
    Is it possible in the future to have a negative grade if the chooses is incorrect? Or is there a plugin that allows you to assign negative grade for multiple answers?

  • Picture of Eoin Campbell
    Sun, Sep 29, 2019, 10:08 PM
    I believe the standard Moodle Multiple Choice question allows for negative grading of multiple answers.
  • Picture of Eva Karall
    Wed, Mar 4, 2020, 12:57 AM
    hey, we just noticed a layout problem with boost/clean theme (3.8.x) - the grey box for choices is not completely drawn. Where should I report the error - github or tracker? Maybe we can provide some code.
  • Picture of Eoin Campbell
    Fri, Mar 27, 2020, 4:39 PM
    Apologies for the delay, I just realised the Bug tracker link was incorrect, I have now updated it to point to my GitHub repository at https://github.com/ecampbell/moodle-qtype_multichoiceset/issues
1 2 3 4
Please login to post comments