The Number Line Drag & Drop Question allows learners to drag points or images onto a number line.
Figure 1: Number line drag & drop Question example.
Video 1: number line drag & drop Overview
Creating a Question
Enter the Question stem into the 'Compose Question' area. Below, you will see the line section where you can configure the basic number line parameters.
First set the minimum and maximum values of the number line. You can also enter the number line title. The title will be displayed underneath the number line unless otherwise specified (see the layout section). Then, list possible responses to be dragged on the number line. Click on '+Add' if you need to add a new response field. Click on the trash icon beside a response to remove it.
Figure 2: Setting up line parameters.
Now, configure validation for your Question. Follow these steps to set up a score and correct response:
- Insert a value in the 'Point(s)' box to set the total points for the Question. The default value is set to 1.
- In the 'Correct' tab, you will see the number line you just created and a container with possible response options. In order to set the correct answer for the Question drag and drop correct responses on the number line. See the example in Figure 3.
- You can add an alternate correct response by selecting "+".
Figure 3: Question validation.
In this section, various scoring options can be set:
- Unscored/Practice usage - Removes all scoring from the question.
- Penalty point(s) - The value entered here will be deducted from the student for an incorrect answer.
- Check answer button - Show or hide the check answer button from the student. The check answer button allows students to check if their answer is correct/incorrect. Clicking this button does not tell the student what the correct answer is.
- Check answer attempts - The value entered here refers to how many times the student can use the Check answer button, before it is automatically disabled.
- Scoring type - When multiple response containers are present, choose between three scoring methods: Exact match, Partial match per response, or Partial match. The default value is Exact match meaning the learner must get the entire question correct to receive credit.
- Minimum score if attempted - Set attempt marks for the question, which will be awarded to the student even if their response is incorrect.
- Threshold - The response threshold allows you to specify a zone around the correct position which will be marked as correct. Note your threshold value should never be bigger than the minimum distance between each valid response. This only applies in a non snap-to-grid mode.
In this section, various styling can be applied to the Question. You can add custom width and height values in order to set the dimensions of the drawn area. Values should be given in pixels, height can also be set to "auto". This will scale the drawn area automatically based on the contents.
Number Line margin defines the distance between the number line extremes and the borders of the drawn area. This should also be given in pixels.
Authors can also set Line position, which will define where the number line appears in the container.
Setting a value for the title position will define the number line title position in the container. For example, if the title position is set to 1% the title will appear at the top. The same applies to the points box position. This sets the position of the number line points container.
'Point separation distance X' and 'Point separation distance Y' are values that define horizontal and vertical position of the points in the container.
The 'Show left arrow' and 'Show right arrow' toggles enable the respective arrows on the number line.
Figure 4: Number line layout settings.
Ticks are the indicated points on the number line. The ticks section provides options to configure tick increments, spacing, frequency, snapping, and visibility.
The 'Show ticks' toggle controls the visibility of ticks on the number line. 'Snap to ticks' makes possible responses snap to the nearest tick on the number line.
Insert a value in the 'Tick distance' field - you can insert whole numbers, standard or decimal fractions, or mixed numbers.
If fractions are used as the distance value, the fractions format should be specified. This will define how fractions are rendered on the number line:
- Not normalized and mixed fractions - displays only not normalized and mixed fractions.
- Normalized and mixed fractions - displays only normalized and mixed fractions.
- Improper fractions - displays only improper fractions.
The rendering base should be defined if the label frequency is greater than 1. This option will determine if labels will render starting from zero or the 'Line minimum value'.
Here you can specify number line label options. Enable 'Show min' and / or 'Show max' if you want the labels to be drawn on the minimum and maximum values of the number line.
You can also define the label frequency with which to draw the labels. For instance, if the frequency is set to 1, the labels will be added to every tick in the number line. If frequency is set to 2, the labels will be drawn every second tick. You can also add specific points that should be labeled. For this, insert a value in the 'Show specific label points' field. In case you have more than one value, separate them with commas.