# Plus/Minus Operator

#### Wiris Quizzes 4 documentation

This documentation page has also been updated to the latest Wiris Quizzes version. You can find the same information for Wiris Quizzes 4 here.## Example 1: Simple equation

Let us start with an easy example: solve the equation . We simply write as correct answer

As we already mentioned, it is interpreted as a list: ; this means that the order matters and both options are enclosed in braces. Therefore, we have to change the default settings to allow the students to answer with any correct syntax:

- Braces are not necessary:
*Validation*>*Options for general*>*Lists always need curly brackets "{}"*

- The order is not important:
*Validation*>*Comparison with student answer*>*Compare as sets*

Finally, we can test the behavior.

## Example 2: Complex expression

A well-known expression is the formula for solving the second order degree polynomial. For instance, the roots of the polynomial are given by . Let us ask the student to write this expression.

The correct answer will be

As before, we have to change the default settings to allow the students to answer with any correct syntax:

- Braces are not necessary:
*Validation*>*Options for general*>*Lists always need curly brackets "{}"*

- The order is not important:
*Validation*>*Comparison with student answer*>*Compare as sets*

Finally, we can test the behavior.