Drag-and-Drop Matching

Question types ::: qtype_ddmatch
Maintained by DualCube Team
Drag-and-drop matching is a simple solution that is meant to help learners with matching quizzes. The students must simply "drop" their responses into a pre-defined space from the list of options that are available. The drag-and-drop interface makes learning fun and interesting.
Latest release:
3266 sites
941 downloads
98 fans
Current versions available: 3

What Drag-and-Drop Matching Offers!

Matching questions in Moodle are created by supplying several questions and their correct answers. Enhance the matching questions of the quiz by adding a drag-and-drop interface. Hence promotion a fun and relaxing learning environment.


For further details on this plugin kindly read the documentation availablehttps://dualcube.com/docs/drag-and-drop-matching/ 

  • Automatic Answer Space Generator - No need to break a sweat as a predefined space is created whenever the matching quiz appears. 

  • Mutiple Option as Answers - Students need to simply select the correct answer from the option list. This helps create a better learning environment and saves time. 

  • Enhanced user interface - The drag-and-drop interface is extremely simple to use, as students simply 'drag' and 'drop' the correct answer. 

  • Automatic Grading - After responding to the quiz, the student will automatically receive a grade based on their input.


Try out this easy to use solution if you want to make learing activities fun. 



Screenshots

Screenshot #0

Contributors

DualCube Team (Lead maintainer)
Jean-Michel Védrine: Previous maintainer
Adriane Boyd: Original author
Coolie and Andrew
Andrew Lyons: Javascript upgrade to YUI3
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • image by Vasya Romashova
    Sat, 8 Nov 2014, 11:42 AM
    Preview looks like this
    https://img-fotki.yandex.ru/get/6735/15410753.10/0_c1e21_4ef14a93_orig

    Is it normal? What I should do to get drag-and-drop?
    I use Moodle 2.7.

    Thank!
  • Abdelghani Azzi
    Sat, 8 Nov 2014, 6:30 PM
    Hi Ilya w-495 Nikitin the solution to your problem is given by Jean-Michel Védrine @Tue, Jun 10, 2014, 11:30 AM, earlier in the thread.
  • Jean-Michel Védrine
    Mon, 10 Nov 2014, 1:26 AM
    Hello, I just published a new version adding compatibility with Moodle 2.7 and 2.8
  • David Dunn
    Tue, 18 Nov 2014, 7:49 PM
    Hi Jean-Michel,
    I am getting an error with a drang-and-drop matching question. It worked until ... recently. I upgraded the plugin to the current 2014110900 release, but in the plugin overview, it indicates that qtype_match (2013050100) is missing.
    This was previously reported and addressed by Steven Long and yourself (20 Aug 2014).
    Has something broken in the connection between the drag-and-drop match plugin and the core qtype_match ?
  • David Dunn
    Tue, 18 Nov 2014, 10:47 PM
    Following up my previous message, I disabled the ddmatch folder so I could get past the plugin overview (update) screen.
    When I re-enabled ddmatch, and tried to access the quiz question with ddmatch, I got the following debug messages:
    Debug info:
    Error code: codingerror
    Stack trace:
    line 95 of /question/engine/bank.php: coding_exception thrown
    line 831 of /lib/questionlib.php: call to question_bank::get_qtype()
    line 862 of /lib/questionlib.php: call to _tidy_question()
    line 153 of /mod/quiz/attemptlib.php: call to get_question_options()
    line 163 of /mod/quiz/locallib.php: call to quiz->load_questions()
    line 178 of /mod/quiz/startattempt.php: call to quiz_start_new_attempt()

    I don't know if it is related, but I reported another question type error this week: https://moodle.org/mod/forum/discuss.php?d=275019

    -- Could there be a link?
  • Jean-Michel Védrine
    Wed, 19 Nov 2014, 12:06 AM
    Hello david,
    The error in your second message is just the sign that the plugin was not properly installed, which is quite understandable as you said "Following up my previous message, I disabled the ddmatch folder so I could get past the plugin overview (update) screen. "
    So I think we should focus on your first problem: why can't the install of qtype_ddmatch work ? I am mystified that you are the second user reporting that qtype_match can't be found. It's very unfortunate that back in August we have not found why Steven had this problem.
    So lets try to solve it properly now so that your install of qtype_ddmatch can succeed and I am sure that the other problem will vanish once it is properly installed.
    I am assuming you use Moodle 2.7.x and language is set to English in my explanations
    Go to Site Administration -> Plugins -> Plugins overview
    Scroll to question types section and verify you see a line like
    Matching qtype_match Standard 2014051200 enabled
    If you don't see it or if it is disabled then you have found a problem
    I your version is different copy the version number so that I can see if something is wrong.
    In the rightmost column you should see what other plugins require this plugin, you should see qtype_randomsamatch and maybe qtype_ddmatch
    Once this is verified, we will try other tests to find what is wrong.
  • David Dunn
    Wed, 19 Nov 2014, 5:46 AM
    Hi Jean-Michel,

    The qtype_match Standard is indicated as Missing from disk. I reinstalled it from the latest mdl 2.7 package, and everything is working again.

    Thanks for walking through this with me. I'm happy that the questions are accessible again, although a little concerned about how the qtype_match directory disappeared.
  • Sarah Quinnell
    Wed, 19 Nov 2014, 10:41 PM
    Hi I have just tried to add this question type plugin and the error i get is qtype_gapfill is missing
  • David Dunn
    Wed, 19 Nov 2014, 11:13 PM
    Hi Sarah,
    It sounds similar to my problem. See Jean-Michel's advice above (18 Nov 2014, 5:06 PM), but looking for a Missing from disk error by qtype_gapfill.
  • Jean-Michel Védrine
    Wed, 19 Nov 2014, 11:46 PM
    Hello Sarah,
    I don't think David is right because "Drag and drop question type" (qtype_ddmatch) is only dependant on "Matching question type" (qtype_match) and is not dependant at all on qtype_gapfill.
    So surely this error message is caused by something else than the "Drag and drop matching question".
    Maybe you have installed another question type than is dependant on qtype_gapfill ?
    Go to Site Administration -> Plugins -> Plugins overview
    Scroll to question types section and look at what question types are dependant on qtype_gapfill and what question types are missing.
  • shiva k
    Wed, 17 Dec 2014, 3:43 PM
    By the way how to disable this qtype? All my imports for matching type are mistakenly imported as ddmatch which i dont want. Could you please tell me? hiding the plugin is not helping...
  • dan eagles
    Tue, 20 Jan 2015, 2:59 PM
    Hello Jean-Michel!
    Does this question type supports input from devices with touch-screen (i.e. smartphones)?
    Does it supports export & import of questions with images in body and answers in Moodle XML format?
    Sorry for asking here, I couldn't find this information in documentation or discussion thread.
  • Jean-Michel Védrine
    Sat, 7 Feb 2015, 12:42 AM
    Hello dan,
    Yes images are supported na dcontrary to core matching questions they are supported both in stems (left) and in choices (right). All images are exported and imported correctly using Moodle XML format. For touchscreen devices, I don't know, it would be good somebody test and report.
  • Scott Andre
    Sun, 3 May 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.
  • dan eagles
    Thu, 21 May 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.
Please login to post comments