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
947 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

  • Jean-Michel Védrine
    Thu, 13 Feb 2014, 11:13 PM
    Hello, I use this question and I don't see any problem in Moodle 2.6 . You are the first one to report a problem. Please use the tracker (https://tracker.moodle.org/browse/CONTRIB) or the Quiz forum (https://moodle.org/mod/forum/view.php?id=737) to describe your problems.
  • Владимир Галынский
    Tue, 18 Feb 2014, 2:22 PM
    ok. I try to explain here (never use traker, and sorry for my english)

    1) We use "Drag-and-Drop Matching" questions with Tex. in 2.6 no one Tex formulae not displaed.

    2) "Drag-and-Drop Matching" - several box which student can move with mouse, but in 2.6 this question looks like usual match question - just dropdown list.
  • Jean-Michel Védrine
    Tue, 18 Feb 2014, 3:23 PM
    Hello,
    As I said I am totally unable to reproduce your problems: my drag and drop question are working in Moodle 2.6 with no problem and my TeX formulas are displayed both in the subquestions and in the answers. Sorry it must be something with your system, your theme or your version of the ddmatch plugin.
  • Jean-Michel Védrine
    Tue, 18 Feb 2014, 3:28 PM
    I forgot to say that I use MathJax to display TeX formulas.
  • Jean-Michel Védrine
    Tue, 18 Feb 2014, 3:38 PM
    I made another test to display TeX formulas inside ddmatch questions using the "TeX notation" filter of Moodle and it works too. No problem here.
  • Sebastian H.
    Tue, 10 June 2014, 5:37 PM
    Hello,

    I installed the plugin on moodle 2.7. When I preview a question a normal, pulldown-matching question is displayed.

    Best regards
    Sebastian
  • Jean-Michel Védrine
    Tue, 10 June 2014, 7:30 PM
    Hello Sebastian,
    Thanks for reporting the problem.
    It's caused by the fact we were testing if Ajax was enabled using $CFG->enableajax but in Moodle 2.7 it is no more defined and ajax is always considered enabled.
    I need to release a new version for Moodle 2.7
    In the meantime if you need a quick fix and you know how to edit a php file, you can solve the problem editing question/type/ddmatch/renderer.php lines 70_85 just replacing
    /**
    * Check whether drag and drop is supported
    *
    * @return boolean Whether or not to generate the drag and drop content
    */
    protected function can_use_drag_and_drop() {
    global $USER, $CFG;

    // Note: The screenreader setting no longer exists from Moodle 2.4.
    if (!$CFG->enableajax || !empty($USER->screenreader)) {
    return false;
    }

    return true;
    }
    by just :
    /**
    * Check whether drag and drop is supported
    *
    * @return boolean Whether or not to generate the drag and drop content
    */
    protected function can_use_drag_and_drop() {
    return true;
    }
    So that the function always return true and the drag and drop interface is used.
  • Sebastian H.
    Wed, 11 June 2014, 4:46 PM
    Hello Jean-Michel,

    wow, that was fast! Thank you very much for your answer and the quick fix. I'll replace later today.

    Best regards
    Sebastian
  • Andrei Catalyst
    Fri, 27 June 2014, 2:25 PM
    We ended up with lots of error messages like that:
    "!! Coding error detected, it must be fixed by a programmer: Question type ddmatch 95753: is missing important code (the file /var/www/html/totaralms/question/type/ddmatch/db/upgradelib.php)"

    in out Moodle 1.9 to 2.2 upgrade log.

    After that all quizes with qtype_ddmatch questions stopped working in Moodle 2

    What is the reason for that? What have we done wrong?
  • Steven Long
    Wed, 20 Aug 2014, 7:39 AM
    I have only two administrator accounts on my Moodle 2.7 installation: admin and sysop. When I log in as either of them, I am taken straight to the “Plugins check” window. The URL is http://127.0.0.1/m/admin/index.php. I am stuck on this window, because I have the drag-and-drop matching plugin with status “to be installed”. I am unable to install it because it requires qtype_match. Unfortunately, qtype¬_match doesn’t show up when I search for that name. How do I either obtain qtype_match or cancel the pending installation of the drag-and-drop plugin? Thank you very much! Steve
  • Jean-Michel Védrine
    Wed, 20 Aug 2014, 3:00 PM
    Hello Steven, this is strange, qtype_match is a standard question type and is included in all Moodle versions. So unless you have removed it, it should be here.
    The only way to cancel pending installation of the qtype_ddmatch plugin is to completely delete the question/type/ddmatch folder on your server.
  • Ella S.
    Fri, 19 Sept 2014, 5:15 PM
    "I need to release a new version for Moodle 2.7"
    Cannot find this release...
  • Michael Milette
    Wed, 24 Sept 2014, 12:32 AM
    Is it possible to use this plugin with a keyboard (no mouse)?
  • Ray Gauthier
    Fri, 10 Oct 2014, 9:19 AM
    Jean-Michel,
    Just confirming that the code changes to render.php worked like a charm on v 2.7. Thanks so much!
  • Abdelghani Azzi
    Sat, 1 Nov 2014, 3:54 PM
    Excellent code fix. Works great on Moodle 2.7! Thank you JMV!
Please login to post comments