Calculated Formula Questions

About Calculated Formula Questions

A Calculated Formula question contains a formula, the variables of which can be set to change for each user. The variable range is created by specifying a minimum value and a maximum value for each variable. Answer sets are randomly generated. The correct answer can be a specific value or a range of values. Partial credit may be granted for answers falling in a range.

Since this question allows the Instructor to randomize the value of variables in an equation it may be useful when creating math drills to when giving a test when Students are seated close together.

Adding a calculated question to an Assessment is a three step process:

Create the Question and Formula

The question is the information presented to Students. The formula is the mathematical expression used to find the answer. Be sure to enclose variables in square brackets.

Follow these steps to create the question and formula:

  1. Open the Test Canvas for an assessment.
  2. Select Calculated Formula from the question type drop-down list. Click Go.
  3. Enter the information that will display to Students in the Question Text box. Surround any variables with square brackets, for example, [x]. The value for this variable will be populated based on the formula.  In the example [x] + [y] = z, [x] and [y] will be replaced by values when shown to Students. Students would be asked to define z.Variables should be composed of alphabets, digits (0-9), periods (.), underscores (_) and hyphens (-). All other occurrences of the opening rectangular brace ("[") character should be preceded by the back-slash ("\") character. Variable names must be unique and cannot be reused.
  4. Define the formula used to answer the question in the Formula box. For example, x + y. Operations are chosen from the buttons across the top of the Formula box.
  5. Assign a point value for the question. Several other options may appear based on the Creation Settings.
  6. Set the AnswerRange. This defines which submitted answers will be marked correct. If the exact value must be entered, enter 0 and select Numeric from the drop-down list. If the answer can vary, enter a value and select Numeric or Percent. Numeric will mark every answer as correct that falls within a range of plus or minus the Answer Range from the exact answer. Percent will mark every answer as correct that falls within a percentage of plus or minus the Answer Range from the exact answer.
  7. Select Yes or No for Units Required. If Yes, correct answers must include the correct unit of measurement, for example, Seconds or Grams. Enter the correct unit of measurement and choose if the unit of measurement is case sensitive. The answer may still receive partial credit if the unit of measurement is not correct. Enter a percentage in Unit Points Percentage. The unit of measurement will account for that percentage of the total credit.
  8. Define partial credit for answers that fall outside the correct AnswerRange. Select Yes or No for Allow Partial Credit. Enter a value for the Partial Credit Points Percentage. Now, set the range for partial credit by entering a value and selecting Numeric or Percent for the Partial Credit Range. Answers falling within this range will receive a portion of the total points possible for the question equal to the Partial Credit Points Percentage.
  9. When finished with the question, click Continue to proceed.

Define the Variables

The next page in the three step process defines the variables in the formula. Follow these steps to define the variables.

  1. For each variable, set a minimum and a maximum value.
  2. For each variable, select a decimal place using the drop-down list that appears in the Decimal Places column.
  3. Under Answer Set Options, select the Decimal places for answer from the drop-down list. Users must provide the correct answer to this decimal place.
  4. Enter the number of different Answer Sets. The Answer Sets will be randomized so that different Students will be presented with a different set of variables.
  5. Click Continue to proceed. Or, Click Back to return to the previous page or click Calculate to reset the variables after making a change.

Confirm the Variables and Answers

The last step in the process displays the Answer Sets in a table. For each set, each variable and the answer are displayed. Make any changes or remove any unwanted answer sets and click Calculate.

Below the Answer Sets are the standard options for adding feedback and metadata to questions.