All-or-Nothing Multiple Choice

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%.
Price option: Free

Supports Moodle 2.6-4.0 See all versions
Latest release: 3 years ago
Installations: 4092
Downloads (last 90 days): 541

Frankenstyle name: qtype_multichoiceset
Question types

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

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?
Thanks,
Erica
Hi Jean-Michel -
This plugin is in the "seeking maintainer" list (https://moodle.org/plugins/browse.php?list=set&id=61). Is that a mistake?
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 )
Hello Jean-Michel,
Are you still maintaining this code?
Best,
Mark
Hello Jean-Michel,
Just wanted to confirm - if this plugin is compatible with Moodle 2.9? The version tab seems to have conflicting details.
Regards,
Anant Sahni
Hello Richard,
The only import/export format that question types plugins can easily support are GIFT and Moodle XML, no support for plugins is available in Moodle code for other format. I never implemented GIFT import export because nobody asked for it (and in fact I think it would be hard to do for qtype_multichoiceset because there is no way to differentiate multichoice and multichoiceset questions) but Moodel XML import and export is implemented and works.
Tell me what exact version of multichoiceset you use and I will do some tests to verify it is working as expected.
We cannot export questions of this type, in any of the three formats. We would like to be able to export in Moodle XML format and import in another course. Is this possible? How? (We are using Moodle 2.6.3+)
Thanks,
Richard
Hi
Is there a 2.4 version available?
Thanks,
Linda
Jean-Michel, excellent work! Thank you!
We will upgrade to latest 2.6 in a month or so, but if you have the instructions that would be really appreaciated - this was found in testings of our upcoming 2.6 emvironment, but we also use the question type in our 2.4 and don't know if someone might be using it with multiple attempts.
Hello Peter,
In fact this is a bug in the core multichoice question (see MDL-45686 for technical details) I submitted a patch and after review it will be incorporated in a future weekly release of Moodle 2.6 and 2.7.
But if you are unable to upgrade your Moodle in a near future, or can't wait, it would be easy to add a few lines in question/type/multichoiceset/question.php to correct the problem. Are you able to edit this file ? If you are OK I can explain what to do.
Hello Peter,
Thanks for reporting this problem. I was able to reproduce it.
It is the first time such a problem is reported, maybe because not so many users have "Each attempt build on last" activated when using All or nothing questions ?
I will study the problem and try to find a fix, but unfortunately I will not be able to do so before a week or 2.
In fact I am puzzled because the all or nothing question type inherits most of its code from the regular multichoice question type so I need to understand the problem.
We have a problem:
- allowing multiple attempts, quiz set to grade last attempt and deferred feedback
- answering the question correct on the first attempt
- in 2nd attempt leaving the correctly answered all-or-nothing question as it is (correctly answered, 1p)
- the question is marked as correct, but gets "0p" after 2nd attempt
In the same quiz we use regular multiple choice questions, and they act as they should in multiple attempts.
We have the same problem in 2.4.7 and 2.6.1
Hi,
I hope you don't mind that I started a Documentation page for this add-on at http://docs.moodle.org/26/en/All_or_nothing_multiple_choice_question_type .
I also added this plugin to the list at http://docs.moodle.org/26/en/Third-party_question_types
I ran the code checker on this and the only thing that showed up were the notices that Default timezone is required since PHP 5.4. Thanks for following the Moodle coding guidelines! Peace - Anthony
Files found: 17
question/type/multichoiceset/edit_multichoiceset_form.php - 1 error(s) and 0 warning(s)
question/type/multichoiceset/lib.php - 1 error(s) and 0 warning(s)
question/type/multichoiceset/question.php - 1 error(s) and 0 warning(s)
question/type/multichoiceset/lang/en/qtype_multichoiceset.php - 1 error(s) and 0 warning(s)
question/type/multichoiceset/styles.css
question/type/multichoiceset/tests/helper.php - 1 error(s) and 0 warning(s)
question/type/multichoiceset/tests/questiontype_test.php - 1 error(s) and 0 warning(s)
question/type/multichoiceset/tests/walkthrough_test.php - 1 error(s) and 0 warning(s)
question/type/multichoiceset/tests/question_test.php - 1 error(s) and 0 warning(s)
question/type/multichoiceset/backup/moodle2/restore_qtype_multichoiceset_plugin.class.php - 1 error(s) and 0 warning(s)
question/type/multichoiceset/backup/moodle2/backup_qtype_multichoiceset_plugin.class.php - 1 error(s) and 0 warning(s)
question/type/multichoiceset/backup/moodle1/lib.php - 1 error(s) and 0 warning(s)
question/type/multichoiceset/db/upgrade.php - 1 error(s) and 0 warning(s)
question/type/multichoiceset/db/upgradelib.php - 1 error(s) and 0 warning(s)
question/type/multichoiceset/version.php - 1 error(s) and 0 warning(s)
question/type/multichoiceset/questiontype.php - 1 error(s) and 0 warning(s)
question/type/multichoiceset/README.txt
Total: 15 error(s) and 0 warning(s)
Jean-Michel - Many thanks for sharing this plugin with the Moodle community.
Please provide a documentation URL. You are welcome to create your documentation in Moodle Docs, See http://docs.moodle.org/dev/Plugin_documentation for more information. The README looks to have most of the information so you could just point to that or create a Moodle Docs page based off of it.
You may want to consider adding a screenshot so folks can have an idea of what the question type looks like when installed.
I noticed that many of the copyrights reference previous authors. It is preferred that all of the files that you have modified for this plugin have your name listed (or added) as the copyright holder.
I was successfully able to install he plugin and it appears to function as expected so I am going to go ahead and approve it; however, when you have a chance it would be good to tidy things up. Peace - Anthony