Drag and drop into text

Question types ::: qtype_ddwtos
Maintained by TimTim Hunt, Jamie Pratt, at the OU (Perry building)Mahmoud Kassaei, Phil Butcher
Part of set Open University.
A drag and drop question type where missing words have to be dragged into gaps in a paragraph of text.
Latest release:
71 sites
35 downloads
56 fans
Current versions available: 6

There are working examples in eAssessment with Moodle on our OpenLearn site.

The documentation is in How to create questions in Moodle on that site.

Demonstration of this question type courtesy of Dot Garman.

Screenshots

Screenshot #0

Contributors

Tim
Tim Hunt (Lead maintainer)
Jamie Pratt: Developer
at the OU (Perry building)
Mahmoud Kassaei: Developer
Phil Butcher: Question type designer
Colin Chambers: Developer
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • at the OU (Perry building)
    Wed, 24 Sept 2014, 4:08 PM
    Hi Michael,
    Yes, You can tab through place holders and then using arrow buttons (up/right arrows take you forward and down/left arrows take you backwards through the list.
  • Frances Angulo
    Wed, 29 Oct 2014, 10:44 PM
    Hi- looking to integrate a question where the blanks don't have to be in order? Like [Apples] and [Oranges] is the same as [Oranges] and [Apples]. I tried making all of the blanks the same number and all of the responses the same number, it only took the first as correct. Any ideas?
  • Phil Butcher
    Wed, 29 Oct 2014, 10:50 PM
    Sadly adding such logic starts adding to the complexity of the form and we backed off. I know that this and other similar ideas would be really nice but this question type does not support what you are asking for.
  • milhouse van houten
    Fri, 20 Mar 2015, 1:26 AM
    Hi, it does not work with Google Chrome sad
  • Phil Butcher
    Fri, 20 Mar 2015, 1:39 AM
    If you point Chrome here http://www.open.edu/openlearnworks/course/view.php?id=1581 and enrol etc. then Section 6 will show you that all is well with Chrome on a PC/laptop. We know it's not OK on Android and that is high on our list for the next few months.
  • milhouse van houten
    Mon, 6 Apr 2015, 6:19 PM
    I'm using a custom theme, hope support's theme will fix it.
  • jeyda bicer
    Wed, 16 Sept 2015, 8:18 PM
    Is it possible to set the mark for this question as all or nothing? For example the user adds 2 out of 5 words correctly, but 3 are incorrect, so this means they get the overall question wrong.
  • Tim
    Wed, 16 Sept 2015, 9:12 PM
    Sorry, no.
  • Matt Wood
    Mon, 16 Nov 2015, 6:54 PM
    Hi, I was wondering is it possible to have 'blank' answers? I'm trying to create a question where the test taker has to select an appropriate column (in a table) and enter a value in the row. However the other column would need to be blank. Currently using the other question types the answer box would appear in the column, giving away the answer to that part of the question.
  • Tim
    Thu, 19 Nov 2015, 2:51 AM
    Sorry, no.

    However, you can make this sort of question using drag-drop markers, and possibly the gapfill question type.
  • William Kane
    Fri, 18 Dec 2015, 2:41 AM
    In the screenshot, it shows a example of math using exponents. How was this achieved?
  • Tim
    Fri, 18 Dec 2015, 3:22 AM
    x2
  • Tim
    Fri, 18 Dec 2015, 3:22 AM
    OK, that was unhelpful. x<sup>2</sup>
  • Phil Butcher
    Fri, 18 Dec 2015, 3:27 AM
    Full documentation is here http://www.open.edu/openlearnworks/mod/oucontent/view.php?id=52747&section=2.3.1 (you can follow the link at the top of the page to get here too).
  • Sonja Sperber
    Thu, 18 Feb 2016, 8:52 PM
    hi,


    we have a puzzling problem concerned with the question type
    „Drag and drop into text"

    Moodle version: 2.9.1+ (Build: 20150716)

    our situation is, we develop „Drag and drop into text" questions
    in a particular course. Out of that course we can successfully export
    questions of that type. In our case we made a backup of that
    course. We are able to restore the course on another server (same Moodle Version)
    with the .mbz-file. If we however try to export questions
    from that newly created course (other Moodle instance), the export fails.

    error message:

    Can not find data record in database table question_ddwtos.


    debugger:


    Debug info: SELECT * FROM {question_ddwtos} WHERE questionid = ?
    [array (
    0 => '93',
    )]
    Error code: invalidrecord
    Stack trace:
    line 1453 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
    line 1429 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
    line 109 of /question/type/gapselect/questiontypebase.php: call to moodle_database->get_record()
    line 89 of /question/editlib.php: call to qtype_gapselect_base->get_question_options()
    line 767 of /question/format.php: call to get_questions_category()
    line 1767 of /lib/questionlib.php: call to qformat_default->exportprocess()
    line 4361 of /lib/filelib.php: call to question_pluginfile()
    line 37 of /pluginfile.php: call to file_pluginfile()


    So I assume, that the backup prozess creates an .mbz-file that does not
    include the SQL-Statement which inserts the records corresponding to that
    type of question in the table mdl_question_ddwtos (I think they take care
    of prefixes).

    Is that a bug in Moodle ? How can we create fully functioning course on other
    Moodle instances, i.e. course from which are able to export that (all) question type

    Are there other dependencies ?

    Best,

    Sonja
Please login to post comments