Your Moodle version

Question types: Drag-and-Drop Matching

qtype_ddmatch
Maintained by Picture of Jean-Michel Védrine Jean-Michel Védrine
Question type similar to the matching question type but with a drag and drop interface for the students during attempt.
913
2k
19

Created by Adriane Boyd during 2007 Google Summer Of Code, the drag and drop matching question type is quite similar to the matching question type found in standard Moodle, differences are:

  • during question creation/edition of drag and drop matching questions, an editor is available for each answer (in standard matching question this is not possible because these elements are displayed inside a select menu during question attempts)
  • during question attempts a drag and drop interface is displayed and the student must drag each right element on the correct spot on the left.

Sets

This plugin is part of set Seeking new maintainer.

Contributors

Picture of Jean-Michel Védrine
Jean-Michel Védrine (Lead maintainer)
Picture of Adriane Boyd
Adriane Boyd: Original author
Picture of Andrew Nicols
Andrew Nicols: Javascript upgrade to YUI3
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Scott Andre
    Sun, May 3, 2015, 4:49 AM
    Hello Jean-Michel,
    My company is interested in finding someone who would be willing to develop a version of drag and drop as well as matching that offers all-or-nothing grading. We wish to avoid partial grading and from what I gather this is currently not an option with any of the drag and drop or matching question types. We are certainly willing to compensate the developer for their time and in turn would hope the developer would share this with the Moodle community. Do you know how or who I should reach out to for this? Certainly if you are available I would love to discuss further.
  • Picture of dan eagles
    Thu, May 21, 2015, 2:50 PM
    Hello Jean-Michel!
    I've actually tried this qtype on a tablet - it works more or less: you just "drag" the right choice to the "Drag answer here" box.
    However, when you have a lot of stems and/or choices, and/or you have a lot of text/pictures in choices and stems, the boxes grow big (and so all stems and choices just can't fit to the screen). So you have to scroll WHEN you're dragging the choice - which might be impossible on some devices (well, it was impossible on that low-budget tablet my co-worker lent me: whenever I tried to scroll, the "focus" just "dropped" from the choice currently being dragged. Haven't tested on other devices yet - I'll have to try with a "proper" device with Multitouch, I think).
    Well, thought it might be worth sharing this here.
  • Picture of Przemyslaw Stencel
    Sun, Jun 7, 2015, 4:43 AM
    Hi,
    Will theis plugin be available for moodle 2.9 some time soon? smile I'm planning my upgrades and it would be great to know when I can expect it.
    Thanks,
    Przemek
  • Matt Bury
    Sat, Jun 13, 2015, 8:04 AM
    Hi,

    Thanks for the great plugin. i installed it on Moodle 2.9 and so far it works fine.

    I came across one bug: If the answer text of the subquestions is longer than 255 characters it throws an error. I changed the DB table qtype_ddmatch_subquestions answertext column to and it seems to work fine. It also allows longer answers smile

    BTW, in a few questions, the sub-questions are dates and the sub-answers are descriptions of events, some of which are longer than 255 characters. It works great with the modification above.

    I hope this helps smile
  • Picture of Toulouse Michel
    Thu, Jul 23, 2015, 2:08 AM
    Hello, I have the following error message when the content of the label exceeds 640 characters : "erreur écriture base de données ." Thanks for your answer. Michel
  • Picture of Toan Tran
    Sat, Aug 15, 2015, 2:39 PM
    Hi author,

    I am wondering whether the plugin can support to grade for each correct answer drag in a question.
    For example, I create a quiz with a question in matching drag & drop type. There are 5 sub question in the left side, and there are 8 shuffle answer in the right side. The total mark of this question is 5, student can get the mark his own that equal the correct dragged for each sub question.

    At the present, if I set the mark of question is 5, and student get 5 if he drag correctly total 5 sub questions, and he get 0 if he drag at least one incorrect sub question.

    Thanks and all the best!
  • Picture of jeyda bicer
    Wed, Sep 16, 2015, 8:19 PM
    Is it possible to set the mark for this question as all or nothing? For example the user matches 3 out of 5 words correctly, but 2 are incorrect, so this means they get the overall question wrong.
  • Pedro Crispim
    Sat, Oct 17, 2015, 7:05 AM
    Hi, Jean-Michel.
    Sorry for asking your help, but I am having some problems with DDMatch in Moodle 2.9.x.
    I get the following message when trying to import course content to another course.
    "error_qtype_ddmatch_subquestion_missing_in_db"
    Using Moodle 2.9.2+ (Build: 20150924)
    DDMatch version - 2014110900

    Can you please give any hint on what might be the problem? Thank you so much
  • Picture of Greg Padberg
    Wed, Nov 4, 2015, 6:43 AM
    Are there plans for this plugin to explicitly support Moodle 2.9 and up? As bug fixes for general core bugs in Moodle 2.8 will be discontinuing in less than a week, we may soon be facing the choice of either staying behind (not advised), or possibly moving forward without using this plugin.
  • Picture of Peter Pany
    Mon, Nov 9, 2015, 5:55 AM
    I just want to say that I use this question-type very often in my lessns and I was very astonished as Idid not find the question-Type after an Update.I would also appreciate very much a Version of this PlugIn explicitely for Versions 2.9 and up, because at the moment I cannot use a huge amount of my questions in the upgraded Version of our moodle. When is an upgraded Version planned for?
    Many Thanks
    Peter
  • Picture of Greg Padberg
    Fri, Dec 18, 2015, 3:41 AM
    Our organization has decided to move forward without using this plugin as it does not explicitly list support for Moodle 2.9 and bug fix support for Moodle 2.8 has been discontinued. We have found that this question type can often be replaced by either Matching, or Drag and drop into text, both of which are fully supported going forward.
  • Picture of Jean-Michel Védrine
    Sun, Jan 24, 2016, 9:13 PM
    Hello,
    I have released a new version that explicitely say it support Moodle 2.9 and Moodle 3.0.
    But in fact apart a notable change in the backup restore code there is no real change because there have been no real change in the core match question code.
    I think it's honest for me to sate that I will end my teacher career in 5 months from now and my current plan is to stop maintaining this plugin at that date. The main reason is that this plugin is just the match question with some added javascript and I am really bad at javascript so it's really hard for me to work on this plugin. If anyone would adopt it, please do so.
  • Picture of Josiah Carberry
    Tue, Mar 15, 2016, 3:41 PM
    Is version 1.6 compatible with PHP7?
  • Picture of Don Hinkelman
    Sun, May 15, 2016, 6:58 PM
    Our school is a long time user of ddmatch and we find nothing in the new 3.0 question types 'matches' it for usefulness and ease of authoring. Unfortunately, it is so easy, that almost all of our teachers make questions and often cut and paste from Word. This results in backup/restore errors. Here is an error message we are getting when this happens: Data too long for column 'answertext' at row 1. INSERT INO mdl_ddmatch_subquestions. (plus a lot more error data). In short, when you cut and paste from Word, hundreds of formatting characters come along with the simple paste of a few words. ddmatch apparently cannot handle this and backup/restore errors result. I have not noticed this happening in other question types, so I imagine there is some database setting that could be adjusted to be more forgiving when teachers paste Word text into the text boxes of ddmatch. What do you think? Is it possible to fix this, or do we just have to warn teachers never to paste from Word?
  • Picture of Dave Hyre
    Fri, May 27, 2016, 7:17 PM
    I am having trouble importing Moodle XML of this type of question WHEN it contains an mp3 file. Does anyone know what might be causing this? We are also having problems restoring a course which contains many dd matching questions to other sites. Any information about this would also be appreciated. Or, if you have time to repair the plugin. Thanks, Dave
1 2 3 4
Please login to post comments