Submit a request
Submit a request

isTrue

Overview

The isTrue method checks that an expression has a comparison or equality, that is true. This means that when this method is used alone, any true equation entered by the student will be marked as correct.

Expressions that include a relational (‘<’, ‘<=’, ‘>’ or ‘>=’) or equality (‘=’) operator are evaluated for their truthfulness.

Additional Options

  • Allow thousands separator
    Authors can specify what separators can be used by the student. From the Thousand Separator drop-down menu, you can select dot, comma, and/or space. The Decimal Separator menu contains the option for either a dot or a comma. Note that the specified thousand separator and decimal separator cannot be the same, e.g. both dot.

Examples

Example 1 - Basic isTrue question example

isTrue does not take any value, which means when used alone it will validate any mathematical expression that is true.

Screen_Shot_2019-02-11_at_14.40.43.png

Figure 1: isTrue does not take any value

Example 2 - isTrue fill in the blanks

Screen_Shot_2019-02-11_at_14.41.22.png

Figure 2: isTrue in a Cloze Math question

Was this article helpful?

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