2.3.1 Drag and drop into text

Drag and drop questions for completing texts are a popular form of 'selection' question consisting of words which can be dragged from a list and dropped into pre-defined gaps in the text.

2.41 The Question text, mark and General feedback of a Drag and drop into text question

Question name: A descriptive name is sensible. This name will not be shown to students.

Question text: You may use the full functionality of the editor to state the question.

The Question text is written with two sets of square brackets '[[n]]' indicating the positioning of gaps and a number 'n' inside the brackets indicating the correct choice from a list which follows the question.

It is allowed to place the drop zones in lists and tables.

General feedback: We recommend that all questions should have this box completed with the correct answer and a fully worked explanation. The contents of this box will be shown to all students irrespective of whether their response was correct or incorrect. We do not recommend that authors rely on using the machine generated 'Right answer' (from the iCMA definition form).

2.42 The choices for a drag and drop words into text question

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

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.

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.

The resulting question when run in 'interactive with multiple tries' style looks as follows:

2.43 How a drag and drop question might look at runtime


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.


All gaps are weighted identically; in the above example each gap is worth 25% of the marks. Only gaps that are filled correctly gain marks. There is no negative marking of gaps that are filled incorrectly.

2.44 The combined feedback section of the question editing form

The display of Combined feedback is governed by the Specific feedback setting on the iCMA definition form.

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.

2.45 The multiple tries section of the question 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.

2.3 Selection questions

2.3.2 Drag and drop onto image