Note: You are currently viewing documentation for Moodle 3.2. Up-to-date documentation for the latest stable version of Moodle is probably available here: Drag and drop into text question type.

Drag and drop into text question type: Difference between revisions

From MoodleDocs
No edit summary
m (updated screenshot)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Questions}}
{{Questions}}
{{New features}}
 
A drag and drop question type where missing words have to be dragged into gaps in a paragraph of text.
A drag and drop question type where missing words have to be dragged into gaps in a paragraph of text.
==How to create a question==
==How to create a question==
Line 11: Line 11:
[[File:dragdroptextquestion.png|400px|center]]
[[File:dragdroptextquestion.png|400px|center]]


Add the missing words or phrases in the correctly numbered boxes in the 'Choice' section. (You may add extra ones to make the question harder. If you tick 'Shuffle' the display order will be shuffled:
Add the missing words or phrases in the correctly numbered boxes in the 'Choice' section. (You may add extra ones to make the question harder.) If you tick 'Shuffle' the display order will be shuffled:


[[File:dragdroptextchoices.png|400px|center]]
[[File:dragdroptextchoicesv2.png|400px|center]]




Line 20: Line 20:
===Groups===
===Groups===


Choices that are within the same Group are colour coded and may only be dropped in a gap with the corresponding colour. Choices that are marked as 'infinite' may be used in multiple locations.
Choices that are within the same Group are colour coded and may only be dropped in a gap with the corresponding colour. Choices that are marked as 'Unlimited may be used in multiple locations.


In the example below, Group 1 are verbs and Group 2 are possessive adjectives:
In the example below, Group 1 are verbs and Group 2 are possessive adjectives:


[[File:dragdroptextgroupchoice.png|400px|center]]
[[File:dragdroptextgroupchoiceu.png|400px|center]]


The students see Group 1 as white boxes and Group 2 as grey boxes:
The students see Group 1 as white boxes and Group 2 as grey boxes:
Line 59: Line 59:
The only way to do this is to make a drag item that looks empty, and make students drag that into the boxes that should be empty. As the code ignores drag items that comprise only spaces, you will need to try to use something like a non-breaking space (easy to do with 1 click in the [[TinyMCE_editor]], or type <nowiki>&nbsp</nowiki> in other [[Text editor]]).
The only way to do this is to make a drag item that looks empty, and make students drag that into the boxes that should be empty. As the code ignores drag items that comprise only spaces, you will need to try to use something like a non-breaking space (easy to do with 1 click in the [[TinyMCE_editor]], or type <nowiki>&nbsp</nowiki> in other [[Text editor]]).


== More documentation ==
== See also ==
* Nice YouTube video clip: https://www.youtube.com/watch?v=ohoTEfiNGA4
*This question type was originally developed  by the UK Open University and was a contributed plugin for several years before becoming part of standard Moodle. Find more [https://moodle.org/plugins/browse.php?list=set&id=10 Open University plugins here].
* Useful  video clip: https://www.youtube.com/watch?v=ohoTEfiNGA4


[[Category:Questions]]
[[Category:Questions]]
[[de:question/type/ddwtos]]
[[de:Drag&Drop auf Text]]
[[es:Tipo de pregunta arrastrar y soltar al texto]]
[[es:Tipo de pregunta arrastrar y soltar al texto]]

Latest revision as of 11:49, 9 June 2016



A drag and drop question type where missing words have to be dragged into gaps in a paragraph of text.

How to create a question

Give the question a descriptive name to help you find it in the question bank. (Students won't see the name.)

Add the question to the text editor, using any formatting you wish.

Use double square brackets '[[n]]' with a number in place of the word you wish the students to find:

dragdroptextquestion.png

Add the missing words or phrases in the correctly numbered boxes in the 'Choice' section. (You may add extra ones to make the question harder.) If you tick 'Shuffle' the display order will be shuffled:

dragdroptextchoicesv2.png


Limited formatting of text using <sub>, <sup>, <b>, <i>, <em> and <strong> is allowed.

Groups

Choices that are within the same Group are colour coded and may only be dropped in a gap with the corresponding colour. Choices that are marked as 'Unlimited may be used in multiple locations.

In the example below, Group 1 are verbs and Group 2 are possessive adjectives:

dragdroptextgroupchoiceu.png

The students see Group 1 as white boxes and Group 2 as grey boxes:

dragdroptextgroupdisplay.png

It is not possible to have drag boxes containing multiple lines. If you want to drag long sentences - don't. Give each a label and drag the label.

Scoring and Feedback

All gaps are weighted identically. Only gaps that are filled correctly gain marks. There is no negative marking of gaps that are filled incorrectly.

In interactive with multiple tries mode Combined feedback is shown after every try as well as when the question completes.

The option ‘Show the number of correct responses’ is over-ridden in interactive with multiple tries mode by the same settings in the ‘Settings for multiple tries’ section of the editing form.

Penalty for each incorrect try: The available mark is reduced by the penalty for second and subsequent tries. In the example above a correct answer at the second try will score 0.6666667 of the available marks and a correct answer at the third try will score 0.3333334 of the available marks.

If the question is used in 'interactive with multiple tries' behaviour the marking is modified as follows:

  1. The mark is reduced for each try by the penalty factor.
  2. Allowance is made for when a correct choice is first chosen providing it remains chosen in subsequent tries.

Hint: You can complete as many of these boxes as you wish. If you wish to give the student three tries at a question you will need to provide two hints. At runtime when the hints are exhausted the question will finish and the student will be given the general feedback and the question score will be calculated.

Clear incorrect responses: When ‘Try again’ is clicked incorrect choices are cleared.

Show the number of correct responses: Include in the feedback a statement of how many choices are correct.

Accessibility

Drag and drop questions are keyboard accessible. Use the <tab> key to move between the gaps and the <space> key to cycle around the possible choices for each gap.

Is there a wildcard for blanks to be empty?

The only way to do this is to make a drag item that looks empty, and make students drag that into the boxes that should be empty. As the code ignores drag items that comprise only spaces, you will need to try to use something like a non-breaking space (easy to do with 1 click in the TinyMCE_editor, or type &nbsp in other Text editor).

See also