Skip to content
Docs

IsUnit Scoring Method

Updated 02 Dec 2026

IsUnit Scoring Method

Applies to: Digital exams & eAssessment

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

Description

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 in the specified units will be correct.

Table of unit answers marked true or false, and a correct response in milligrams shown with a green tick

Was this page helpful?

Can't find what you need?

The support FAQs cover common problems with running an exam. For anything else, contact our support team.

Contact support