Question types: All-or-Nothing Multiple Choice

Maintained by Picture of Jean-Michel Védrine Jean-Michel Védrine
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%.
958 sites
20 fans

All or Nothing Question
This is a multiple-choice, multiple-response question type that was created by
Adriane Boyd and is now maintained by Jean-Michel Vedrine (


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 questiontype, teachers must really think if this grading is what they want.


This plugin is part of set Seeking new maintainer.


Picture of Jean-Michel Védrine
Jean-Michel Védrine (Lead 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 Jean-Michel Védrine
    Sat, 23 Jan 2016, 5:06 PM
    Yes I am still maintaining this plugin (which is in fact easy as most of the code is in fact in qtype_multichoice, this is why an unique version works with so many Moodle versions wink )
  • Picture of Mike Churchward
    Fri, 12 Feb 2016, 3:01 AM
    Hi Jean-Michel -

    This plugin is in the "seeking maintainer" list ( Is that a mistake?
  • Picture of Erica Bithell
    Mon, 23 May 2016, 4:27 PM
    Hi Jean-Michel,

    Do you have any update on the "seeking maintainer" status? Your plugin is still on the list, but your post on Jan 23rd suggests otherwise - are you still maintaining it for the moment, but looking for someone to take it on if possible? Or is the listing a mistake?


  • Picture of Chintan Zaveri
    Sun, 29 May 2016, 10:30 PM
    Hey.I am interested in contributing towards this plugin. Let me know if you are not maintaining it.
  • Picture of Emilie Lenel
    Mon, 11 Jul 2016, 11:18 PM
    Hi Jean-Michel,
    I don't see your answer on Chintan Zaveri proposal. This plugin is very usefull for us, we hope a new maintener will be appointed very soon..
  • Picture of Kristian C
    Fri, 12 Aug 2016, 3:39 AM
    Hi Jean-Michel,

    Am I correct in stating that this plugin creates a new question type in Moodle? Or does it change the behaviour of the exisiting multiple choice question type?
  • Picture of Blair F.
    Thu, 18 Aug 2016, 5:35 AM
    I just checked with Jean-Michel, and he said he's retired and is no longer maintaining this plugin. Hopefully someone will take it over. I don't have the skill set, at the moment.

    Kristian, you're correct. It's a new question type.
  • Picture of Blair F.
    Thu, 18 Aug 2016, 6:42 AM
    I just installed this on a local installation I have of Moodle 3.1 and it appeared to work fine, including exporting/importing using Moodle XML format (GIFT still doesn't work, as mentioned previously). For some reason, the first time I tried to install, I got an error message (, but all I did was try again and it worked.
  • Picture of Slawomir Prec
    Wed, 21 Sep 2016, 10:23 PM
    I use Moodle 3.1.
    The "Multichoice All or Nothing" quiz is essential in my school.
    I have ready 1000 questions in Excell.
    How to import it to Moodle.
    I tested export and imort to XML - it works, but how to import from Excell?


  • Picture of jon s
    Thu, 15 Dec 2016, 7:48 PM
    Is it safe to install this version of this plugin in a Moodle 3.1 ?
  • Picture of Pablo ZULIÁN
    Tue, 7 Feb 2017, 11:48 PM
    Hi, I am looking for a piece of help: I have been using this question at Moodle 2.8 and it works perfectly, but we did a database migration and now we are not able to see or use the previous questions. We can add new questions, but the older are broken.

    This is the message that appears when I try to preview or set any All-or-nothing question:

    "Can not find data record in the qtype_multichoiceset_options table of the database."

    I don't know if it is a problem caused by any mistake during the migration or not. I would like to know if you can help me with this.

  • Picture of Jean-Michel Védrine
    Wed, 8 Feb 2017, 12:19 AM
    Hello Pablo,
    Surely there was a problem when the multichoiceset plugin was upgraded. I must admit I don't understand what happnd
    As you said that new questions are working but older ones are broken, can you verify if you both have "qtype_multichoiceset_options" and "question_multichoiceset" tables in your database ?
    If this is the case and if you have added new all or nothing questions since the upgrade, I may be wrong but I think it will be rather hard to correct the problem.
    If you have not added new questions since the upgrade, maybe I can help you to recover your old questions, but you need to be familiar with operations on database tables and fields and work on a copy of your database to avoid loosing valuable data.
    If you find that your database don't contain both "qtype_multichoiceset_options" and "question_multichoiceset" tables then my guess was wrong, and I need more informations to try to help you.
    Just a final note : I am now retired and no more working on Moodle so I am doing my best to help but there are a lot of things I am no more able to do as I don't have a Moodle install. Sorry.
  • Picture of Peter Diedrichs
    Tue, 28 Mar 2017, 6:05 PM
    Hi, has anyone heard about someone taking over the maintenance of this question type? Starting to get a bit nervous, since that's a very appreciated question type with our teachers, it's extensively used and we unfortunately lack the developing/programming competences regarding PHP.
  • Picture of Germán Valero
    Fri, 11 Aug 2017, 12:02 AM
    This question actually works in Moodle 3.3.1 smile . The documentation at has been improved with text and images.
  • Picture of Csaba Vágvölgyi
    Sat, 19 Aug 2017, 4:06 PM
    Did you test this? Do you have any information about a new release?
1 2
Please login to post comments