All-or-Nothing Multiple Choice

Question types ::: qtype_multichoiceset
Maintained by Jean-Michel Védrine, Eoin 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%.
Latest release:
3253 sites
60 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.


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.


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.


Screenshot #0


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

Comments RSS

Show comments
  • 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?

  • Sun, Sep 29, 2019, 10:08 PM
    I believe the standard Moodle Multiple Choice question allows for negative grading of multiple answers.
  • 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.
  • 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
  • Sat, Sep 26, 2020, 6:28 PM
    I tried to restore content including that type of questions from backup and got an error below.
    Does it refer FEEDBACK> in xml file describing backup. Backup comes from version Moodle 1.9.7

    Column 'correctfeedbackformat' cannot be null INSERT INTO mdl_qtype_multichoiceset_options (shuffleanswers,correctfeedback,correctfeedbackformat,incorrectfeedback,incorrectfeedbackformat,answernumbering,shownumcorrect,questionid) VALUES(?,?,?,?,?,?,?,?)

    Any sugegstions?

  • Thu, Oct 1, 2020, 4:05 AM
    You could run up a Moodle 1.9.7 instance and import the backup there, then export the questions as XML to copy them.
  • Tue, Jan 12, 2021, 3:25 PM
    Dear Eoin and Jean, thank you for sharing a nice pluign. I was trying to restore imscc file and some question files, it showing syntax error that was originating from multichoiceset plugin . I just fixed that in my instance and requested you to please update the plugin. I'm adding here the path that cause an syntax error.

    Thanks, Azmat
  • Wed, Apr 14, 2021, 10:04 PM
    After updating to v1.7.3 of this plugin, the following happens: When a user tries to review a quiz attempt or an attempted question, the browser shows a blank page with an error message. Please see my post in the bug tracker.

    I really hope this can be fixed as soon as possible as my students cannot review their recent exams anymore. Thanks a lot for your help!
  • Fri, Jul 2, 2021, 5:16 PM
    I just installed this great plugin, but I have a problem. My checkbox is above the sentence, so it looks pretty weird. Can I somehow set the checkbox to be inline with the sentence?

    Thanks in advance for the reply!

    Have a nice day,
    Matej Topolovec
  • Mon, Jul 5, 2021, 5:24 AM
    Using latest version 1.8.0 (Build: 2021042501) (2021042501) on Moodle 3.11 (Build: 20210517).
    I agree with Matej Topolovec's remark. The checkboxes should be aligned. Plus if numbering option is selected, the numbers (or letters) overlap with the beginning of the answer text.
  • Thu, Jul 29, 2021, 4:48 PM
    We recently updated moodle to version 3.11.1+ (Build 20210716). After that our students cannot open some tests (we usually use elements "quiz", less often ”assign”). When they try to open the test, they get «502 Bad Gateway» error (startattempt.php script execution error).

    Our tech support thinks this is due to the “all-or-nothing” plugin update (qtype_multichoiceset). Now we have version 1.10.1 (Build 2021070900)

    Ask for your help solving this problem. Did anyone have similar errors?
  • Thu, Aug 5, 2021, 9:08 AM
    Hi! can anybody help me on how to install this plugin in my moodle 3.10.5. Please I need your help. Thanks
  • Thu, Aug 5, 2021, 8:05 PM
    Hi Jesper, I have updated version 1.9.1 of the plugin so that it includes support for Moodle 3.10 and 3.11. You should now be able to install it on your site in the normal way. If not, you can download the plugin instead, and upload the Zip file to your site as an alternative way to install it.
  • Sun, Jan 2, 2022, 8:05 PM
    my installations of this plugin crash repeatly.

    I have Moodle 3.11.4+ and when I try to install 1.9.1 version of this plugin, after correct previous check, the website displays "error/moodle/generalexceptionmessage" and all Moodle sites crash and are displaying the following error:

    Exception - Call to undefined function is_executable()

    Solution for work other sites is delete multichoiceset directory on my FTP, but I would like to use this plugin.

    Do you have any ideas, please? Thank you for your help.
  • Mon, Jan 3, 2022, 12:37 AM
    Hi Jakub, I installed the plugin on a clean Moodle 3.11.4 site and encountered no problem. The function is_executable() is not used in this plugin, so I suspect your installation problem lies elsewhere.
1 2 3 4 5
Please login to post comments