About formula grade items


Use the Formula Editor to define a formula that calculates a grade item’s value based on other grade items. When you create a formula, you specify which grade items you want included in the formula and the relationships between them. An example of a simple formula is one that calculates the sum of a number of grade items. A more complicated formula is one that drops the minimum or maximum value from a set of grade items.

Formula Editor

Component

Description

Formula area

The formula area is where the formula text displays. The equals sign (=) at the start of the formula cannot be deleted. A cursor shows your position in the formula.

Cursor placement

Use the cursor placement icons to move the cursor forwards and backwards in the formula. You can also move the cursor by clicking on the new location with your mouse. There are four options:

  • << - Move cursor to start of formula
  • < - Move cursor back one element
  • > - Move cursor forward one element
  • >> - Move cursor to end of formula

Grade item parameters

To view what grade items you can insert as a parameter in your formula, use the Grade Item drop-down list. You can insert Numeric, Pass/Fail, Selectbox, and Formula type grade items. You cannot reference the formula grade item you are defining or a final grade.

To view the values associated with the grade item you want to use in the formula, use the Grade Item Value drop-down list. There are three options:

  • Points Received - The grade the user achieved. For example, 7 (out of 10 points).
  • Max Points - The maximum points available for the grade item. For example, 10 points.
  • Percent - The percent grade the user achieved. For example, 70%.

When using the weighted system, category and grade item weights are ignored in formula calculations.

Dropped grade items and bonus grade items are calculated the same as other grade items.

Functions

The Function drop-down list contains a list of functions that you can use in your calculation formula:

  • MAX - Calculates the maximum (largest) value in a set of values.
  • MIN - Calculates the minimum (smallest) value in a set of values.
  • SUM - Calculates the sum (total) of a set of values.
  • AVG - Calculates the average for a set of values by adding all the values and dividing by the total number of values.
  • IF - Operates as a Boolean statement that returns either the value set as true or as false. You must define the condition (Boolean statement), true (then) value, and false (else) value.
  • NOT - Operates as a Boolean statement that returns the value set as true if the condition is false and as false if the condition is true.

You can embed functions within functions.

The Start, Next Term, and End options are used to define elements of a function:

  • Start - Starts the function selected in the Function drop-down list with an opening bracket ({).
  • Next Term - Inserts a comma to separate grade items or parts of a Boolean statement.
  • End - Ends the function with a closing bracket (}).

Operators

Operators are usually used in conjunction with at least one grade item.