Submit a request
Submit a request

isUnit Scoring Method

Overview

The isUnit method is used for unit comparison, and checks if the expression has the expected units in it.

isUnit is commonly used in conjunction with equivValue. 

Additional Options

  • Inverse result
    Enabling this means that the value specified in the Value field will not be accepted as the correct answer. It is a useful way of excluding very specific answers from validation. Use case: Students are asked to enter something symbolically equivalent to (x+2)^2, however you don't want them to enter the same expression and score points for such response. In this case, adding an additional scoring method equivLiteral and enabling Inverse Result will exclude (x+2)^2 from correct response options. See examples in the Combining Methods section below.

Example

Basic isUnit example

In this case, any response given int he specified units will be correct.

Screen_Shot_2019-02-11_at_13.45.14.png

Figure 1: Basic isUnit example

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity by clicking here.