Purpose
The purpose of this article is to demonstrate how to to trigger extra credit points based on a grade produced from an activity, such as a Quiz or Assignment
Note
This example shows how to award 1 point of extra credit for achieving a 70% or better on an extra credit quiz. The quiz value will be “0” in the grade book, but the results of its grade will “trigger” the extra credit points
Procedure
In your Moodle Course, click on Grades and navigate to Gradebook Setup
2. At the top of the page, click on Add grade item
3. On your newly created item, click on Edit and choose Edit calculation from the drop-down menu
4. Enter the desired name in the Item Name field.
5. Select Grade Category from the dropdown.
6. Click the check box next to the Extra Credit field.
7. Click on the Save changes button at the bottom of the page.
8. On your newly created item, click on Edit and choose Edit calculation from the drop-down menu.
9. Enter an ID Number for the assignment you want to assign the extra credit grade and click Add ID numbers. This can be letters, numbers, or a combination of both.
10. Write your calculation. A breakdown of the calculation is shown below.
A. The string for the calculation must start with either an =, +, or – sign.
B. “if” will start the “if, then” command line.
C. The Calculation must be closed within parenthesis.
D. The first variable of the equation within the parenthesis is the id number assigned to the name of your manually created assignment.
E. The next variable of the equation is the affecting variable that will change the first variable in the equation.
F. The next inputs must be separated by commas.
G. This next variable is what will be assigned if the first part of the equation is true.
For example: if the student gets a score of 7, the equation would be true and 1 point of extra credit would be assigned.
H. This variable is what will be assigned if the first part of the equation is false.
For example: if the student gets a score of 5, the equation would be false and 0 points of extra credit would be assigned.
11. Enter the Calculation in the Calculation text box.
12. Click Save changes.
Please feel free to contact Moodle Support for assistance with the Edit Calculation feature.