A numerical question can be selected to limit the student’s answer to a number. You can specify the answer and margins to review automatically. There are two options for a numerical question: a question with a value or a question consisting of variables.
How to create a numerical question with a value?
- Sign in to Ans.
- Create an assignment. Read here how to create an assignment.
- Click New exercise, fill in a title and click Save.
- Click New subquestion and select Numerical question.
- Fill in the question description.
- Fill in the value and it is optional to set up a margin. Click the drop-down button Margin type and choose % or absolute value and fill in the margin.
- Click the more_vert-icon at the top of the question and you can use various options.
- Click Save.
How to create a numerical question with a variable?
- Sign in to Ans.
- Create an assignment. Read here how to create an assignment.
- Click New exercise, fill in a title and click Save.
- Click New subquestion and select Numerical question.
- Fill in the question description.
- Click the more_vert-icon at and select Use variable.
- Click the drop-down button Value and then select Add values. The code editor will be opened automatically.
- In the code editor, see image below, variables have to be created. When all variables are calculated, press Run in the top right to run the code and find out if everything works. Also, if something did not work, you can print variables by using print(a) to print the variable a. This way, if running the code gives an error, mistakes can be found in the code. When in the top right A green check mark is displayed, the code works and is also saved.
- Click Add value again and select the Variable.
- It is optional to set up a margin. Click the drop-down button Margin type and choose % or absolute value and fill in the margin.
- Click the more_vert-icon at the top of the question and you can use various options.
- Click Save.
Options for a numerical question:
- Bonus: this marks the question as a bonus question.
- Skippable for special students: this question will not be taken into account for the grades of special students.
How to review a numerical question?
- Click Criteria in the switch at the top.
- Go to the question for which you want to set the criteria.
- Click the more_horiz-icon and click Edit.
- Fill in the number of points.
- It is optional to fill in feedback that will be shown when the results are published for:
- completely correct answers.
- incorrect answers.
- Click the more_vert-icon and you can use various options.
- Click Save.
Options for grading:
- Grading description: a solution for the reviewers (and for students when published). The grading description can be an extensive elaboration, an image, or a file.
- Start with zero points (For the points-grading method only): select this to let every student start with zero points before grading.
- Limit minimum to zero points (For the points-grading method only): select this to let every student get no negative points for this question.
- Limit maximum to total points (For the points-grading method only): select this to let every student get a maximum amount of points of the total amount of points for this question.
Tip: Read this article if you want to use random variables for each student or if you want to use special functions.
Note: This question will be graded automatically and therefore it is not possible to change the score of a specific student. You can only change the points from the question.
Comments
0 comments
Please sign in to leave a comment.