Skip to main content
All CollectionsTasksMore on maths
How to use the stringMatch marking method for maths cloze
How to use the stringMatch marking method for maths cloze

An explanation and examples of the stringMatch form checking marking method for math formula cloze tasks

Caitlin Foran avatar
Written by Caitlin Foran
Updated over 3 months ago

The stringMatch method is used for literal string comparison. This compares the value set by authors the learners response and checks whether they are the same or not. For instance, it would mark x+1 and 1+x differently.

StringMatch is similar to equivLiteral, but is a more basic comparison method as it does not take the syntax (form) or data type into account.

Additional options for using stringMatch

  • Ignore leading and trailing spaces
    ​
    Ignores spaces before and after a value, i.e. " a " will be treated as "a".
    ​

  • Treat multiple spaces as one
    ​
    Multiple spaces will be ignored and treated as one, i.e "a b" is the same as "a b".

Did this answer your question?