All Collections
Authors
Exercise types
Exercise type: Drag n Drop
Exercise type: Drag n Drop

Everything you need to know about the exercise type: Drag n Drop

Updated over a week ago

In the exercise type Drag n Drop, a student has to drag items to the correct location. An example is the following:

Defining options

The items that students should drag into the drop area (so 0.75, 33.33…% etc. in the example above) are called options. To add an option, go to the Texts tab of the exercise and click “+Add” -> “New option”

You can add as many options as you like. You can also add options that should not be dragged into the drop area. Example:

Options can contain text, but also images, applets, tables and other items. It is also possible to use variables in the options. When the student loads the exercise, the options are displayed in a random order.

Defining the correct solution

The drop areas and the correct solution should be defined in the input area. In all places where there should be a drop area, you write #option1# where the 1 should be replaced by the number of the correct option. For the small example above, the input area looks as follows:

Just like with the options, the input area can contain text, but also images, applets and other items.

Other possibilities for the input area are the following:

  • To allow for a drop area to remain empty, write #option0#.

  • To allow for multiple options in the same drop area, write the numbers of all options separated by semicolons, like #option1;2#. This way, the drop area will be marked correct if either option 1 or option 2 is dragged to this area. If you have two options that contain exactly the same text/formula, make sure to allow for both of them in the correct drop area.

  • For conditional options, use #option1=2?3#. Here, option 3 will be marked correct, but only if option 2 is dragged into drop area 1. When using #option1;1=2?3#, option 1 will always be marked correct, but option 3 will also be marked correct if option 2 is dragged into drop area 1. This can also be used in combination with ‘dummy’ option 0. Example:

    accepts both 1+2=3 and 2+1=3

  • It is possible to use variables to indicate the number of the option. For instance, if $a=3 when we can write #option$a#.

Feedback and scoring

The student will get a partial score if some of the answers are correct. If an input area has three drop areas of which one is filled in correctly, then the student will get ⅓=33,33% of the points for this question.

Dummy options (so #option0#) are only counted as incorrect answers, not as correct answers. Example:

  • If the student’s answer is 1,3,2,0 and the correct answer is 1,2,3,0, then the student will get ⅓=33,33% of the points for this question

  • If the student’s answer is 1,2,3,4 and the correct answer is 1,2,3,0, then the student will get ¾=75% of the points for this question

It is not possible to provide tailored feedback to this type of exercise. The only feedback that is given to the student is that correctly placed items will be marked green and wrongly placed items will be marked red. Example:

Did this answer your question?