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:
3079 sites
1k downloads
52 fans
Current versions available: 6

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

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

Comments

  • 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
  • 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.

  • Wed, Apr 17, 2019, 11:57 PM
    Try restoring the course again now that the plugin is installed.
  • 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.
  • 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?)?
  • 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/ ?
  • 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.
  • 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 https://github.com/ecampbell/moodle-qtype_multichoiceset/issues
  • 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?

    Regards
  • 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.
    question/type/multichoiceset/backup/moodle1/lib.php:71

    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!
Please login to post comments