RandomnessOne of the most interesting functions in WIRIS quizzes is the possibility of adding random content. Moodle already offers some resources in these respects, but limited to choosing a random question among a group of preset questions. WIRIS quizzes permits the integration of randomness at any level, in the question data, in a graph, or in the definition of a mathematical object. We will see it with an example. We will create a Multiple choice question in which the student will have to factorize a random integer and choose the correct answer among three possibilities. Steps to follow:
|
. In this section, a WIRIS cas session will display in the Algorithm field.

button. WIRIS cas will inform of any syntax error by colouring the affected instruction but will not display the result in any of the calculations. Now the cursor is placed outside the yellow box. In order to see the results, we can request the values of the n and sol variables as many times as desired: writing the names of the variables in the block beside the library, comma-separated or split in several lines with the Enter key and, lastly, throwing the calculation with the key combination Control+Enter or the 
to save the question.