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.
Figure 1: Basic isUnit example
Comments
0 comments
Please sign in to leave a comment.