This question type can be used in a digital test only.
A numerical value question can be used to limit the student’s answer to a number. You can specify the answer and margins to review automatically. A numerical value question can be a question with a value or a question consisting of variables.
Questions can be created either in a question bank exercise or from within a course assignment.
Create a numerical value question with a value
Create a numerical value question with a value
To create a numerical value question with a value, follow the steps below.
- Navigate to your question bank or your course assignment.
- Click New exercise, fill in a name and click Save.
- Click New question and select Numerical value.
- Formulate the question in the 'Question*' field.
- Fill in the number of points the question is worth.
- Fill in the value.
- Optionally, adjust the margin and the margin type and select % or Absolute.
- Optionally, click the dropdown menu QUESTION FEEDBACK to:
- Add a model answer.
- Show feedback on answer level. Feedback on answer level can be made visible during the publication or during the taking of a digital test if the option 'Feedback' is enabled in the Accessibility settings. This is explained further here. You can choose to fill in feedback that is shown to students when:
- The question is answered correctly.
- The question is answered partially correctly.
- The question is answered incorrectly.
- Optionally, add learning objectives in the 'Objectives' field.
- Click Create.
The maximum value for a numerical value question is 32 digits before the decimal point, and 15 digits after the decimal point.
Please use a dot to separate decimal numbers. We intentionally use a consistent notation to avoid confusion.
Create a numerical value question with a variable
Create a numerical value question with a variable
To create a numerical value question with a variable, follow the steps below.
- Navigate to your question bank or your course assignment.
- Click New exercise, fill in a name and click Create.
- Click the -icon and click Code editor to open the code editor. Add the variable and click Save. The coding language used is Python.
- Click New question and select Numerical value.
- Formulate the question in the 'Question*' field.
- Fill in the number of points the question is worth.
- Select the scoring method 'Variable'.
- Select the variable name in the dropdown menu 'Variable*'.
- Optionally, adjust the margin and the margin type and select % or Absolute.
- Optionally, click the dropdown menu QUESTION FEEDBACK to:
- Add a model answer.
- Show feedback on answer level. Feedback on answer level can be made visible during the publication or during the taking of a digital test if the option 'Feedback' is enabled in the Accessibility settings. This is explained further here. You can choose to fill in feedback that is shown to students when:
- The question is answered correctly.
- The question is answered partially correctly.
- The question is answered incorrectly.
- Optionally, add learning objectives in the 'Objectives' field.
- Click Create.
When all variables are defined, click Run to run the code. To check if the variables are defined correctly, you can use print statements to check the values of the variables you have defined. This way, if running the code gives an error, mistakes can be found.
Add a grading scheme to a numerical value question
Add a grading scheme to a numerical value question
All options mentioned below for the grading scheme can also be added or adjusted from the exercise tab when creating a numerical value question. However, it is only possible to adjust the grading scheme from the grading scheme tab if the assignment has been taken.
- Click the Grading scheme tab at the top of the assignment or question bank exercise.
- Go to the question for which you want to set the grading scheme.
- Click the -icon.
- Fill in or adjust the amount of points the question is worth.
- Fill in or adjust the number of points the question is worth.
- Fill in or adjust the value.
- Optionally, adjust the margin and the margin type and select % or Absolute.
- Optionally, click the dropdown menu QUESTION FEEDBACK to:
- Add a model answer.
- Show feedback on answer level. Feedback on answer level can be made visible during the publication or during the taking of a digital test if the option 'Feedback' is enabled in the Accessibility settings. This is explained further here. You can choose to fill in feedback that is shown to students when:
- The question is answered correctly.
- The question is answered partially correctly.
- The question is answered incorrectly.
- Optionally, add or adjust the learning objectives in the 'Objectives' field. If there are no learning objectives added to the question bank or course, the field will not be visible.
- Click Update.
Options for a numerical value question
Options for a numerical value question
For additional options, click the -icon. You will see the following:
-
Bonus
This marks the question as a bonus question, which means that its points are not included in the maximum amount of points achievable for that assignment. If a student answers the question incorrectly, this will not be detracted from the number of points and the mark. However, when awarding points, it is possible to achieve more points that the maximum points achievable for the assignment.
-
Limit minimum to zero points
With this option enabled, it’s impossible to go below zero points when selecting the different criteria. It is still possible to manually adjust the number of points to go below zero with the adjustment option during the reviewing.
-
Limit maximum to total points
In the grading settings it’s possible to set the maximum amount of points achievable with the question, separate from the points per criteria. When this number deviates from the maximum amount achievable by adding up the criteria points, this option will cap the maximum amount of points to this manually set number.
Error Carry Forward
Error Carry Forward
In digital tests, an exercise may consist of multiple questions that require numerical answers. Sometimes, the answer to one question depends on the answer to a previous one. If a student makes a mistake in the initial question, it can cause them to get every related question wrong, even if their reasoning is correct. The Error Carry Forward (ECF) feature addresses this issue. It automatically recalculates the values used in subsequent questions based on the student's earlier response. This allows students to receive credit for correctly applying methods, even if their initial input was incorrect.
The Error Carry Forward (ECF) feature recalculates the answers of dependent numerical value questions based on a student’s response to earlier questions, helping to ensure fair grading when correct logic is applied after an initial mistake. It only applies to assignments created after the feature has been enabled and is integrated with the new grading scheme, offering flexibility between different grading styles.
Important notes
- This feature should not be enabled partway through a live exam, as it may lead to inconsistent grading between students.
- Once enabled, we recommend not disabling it. Any calculations already made using ECF will not be reverted if the feature is turned off.
- ECF is also applied during the test when 'Feedback' is enabled via Accessibility settings.
Setting Up Error Carry Forward in a digital test (Example)
- Create a new digital test.
- Create an exercise and open the code editor. Read the following article for more information on how this works.
-
Add the following script in the code editor:
x = random(0, 10, 1) a = x + 2 b = a * 2
- Create two numerical value questions and enable 'Use variable':
- Set the answer for the first question to
a. - Set the answer for the second question to
b.
- Set the answer for the first question to
- Preview the digital test:
- Enter an incorrect answer for
a. - For
b, enter the correct value based on your incorrect value fora(e.g., your answer toa× 2).
- Enter an incorrect answer for
Comments
0 comments
Article is closed for comments.