How do I use the stringMatch mathematical scoring method when creating a math item?

When you create a math item in Mastery Connect, you can select one of the available mathematical scoring methods. The stringMatch scoring method checks that the student response matches the correct answer as a string. For example, if the correct answer is 4+2, a student's response of 4+2 is scored as correct. Refer to additional examples below.

Notes:

  • stringMatch works with decimals, fractions, variables, and percentages.
  • stringMatch works with trigonometric, logarithmic, and exponential expressions.

Create Math Item

Create Math Item

Create or edit a math item. Learn more about creating a math formula item, image cloze math formula item, or cloze math formula item.

Enter a question stem in the Compose question field [1]. You can also enter a formula template [2].

Select Method

Select Method

In the Set correct answer(s) section, enter a point value for the item in the Point(s) text box [1].

Click the Method drop-down menu, and select the stringMatch option [2].

Enter Correct Answer

Enter Correct Answer

Enter a correct answer into the Value field.

A student answer is scored as correct if it is entered exactly as it appears in the Value field, as if it were a text string. For example, if the correct answer entered into the Value field is (2,1), a student answer is correct if it is (2,1). Other expressions, including those that are mathematically equivalent, are scored as incorrect.

Select Additional Options

Select Additional Options

You can use the following additional options with the stringMatch scoring method:

  • Ignore leading and trailing spaces [1]: By default, this option is enabled. It allows student responses to contain leading or trailing spaces. For example, if the correct answer is 3a+2, a student response such as [space]3a+2 is scored as correct.
  • Treat multiple spaces as one [2]: By default, this option is enabled. It allows multiple spaces to be ignored and treated as one space. For example, if the correct answer is 3a+2, a student response such as [space][space]3a+2 is scored as correct.

To enable or disable an option, click its checkbox.

Examples

Any student response that uses the same units as the correct answer is scored as correct. Otherwise, it is scored as incorrect.

  • If the correct answer is 3=2+1, a student response of 3=2+1 is scored as correct with the stringMatch scoring method.
  • If the correct answer is 3%, a student response of 3% is scored as correct with the stringMatch scoring method.
  • If the correct answer is 2,4,6, a student response of 2,4,6 is scored as correct with the stringMatch scoring method.
  • If the correct answer is 3.2, a student response of 03.2 or 3.20 is scored as incorrect with the stringMatch scoring method.

Validate Answers

Validate Answers

You can check whether student answers will be scored as correct or incorrect. Enter an answer into the sample answer field [1]. Correct answers receive the full number of points [2].

Incorrect Answer

Incorrect answers receive 0 points.