WirisQuizzes generic

WirisQuizzes generic are the technological components of WirisQuizzes that target a developer or integrator of a learning application that wants to use the enhanced features provided by WirisQuizzesTechnical description

There is an implementation for the following technologies: PHP, Java, .NET, JavaScript and Ruby.

Download Live Demo

Levels of integration

To start with WirisQuizzes generic, you will first need to choose how deep your integration is going to be. Thus, we define three levels of integration:

Level 1

For short question types, use the validation web service to validate the correct answer with the student's answer. The validation criteria will always be the mathematical equality (for example, 2+x is equal to x+2). You might or might not allow your student to input the answers using the MathType (which always includes the input syntax check).

Level 2

For short answer question types, you can integrate our wealthy assertion builder called WirisQuizzes Studio to allow your authors to choose the correct grading criteria. For example, 24 would be a wrong answer if the author requested a simplified response. Thus, "simplified" is one of the possible criteria that can be chosen with the WIRIS Studio.

Level 3

Use the generation of random questions. You can add this feature to any question type (multiple-choice, true/false, matching, essay, etc.) in addition to the short answer question type.

Getting started

You can get the ready-to-download and use demos if you visit our store's WirisQuizzes integrations section.

Features

Gaps to fill in

You can provide a template for students to use for their answers.

template.png

By default, the system provides the student with a blank field in the editor. If you prefer, you can also include any initial content. You can make the content a template for the answer by using the custom attribute wrs:positionable="false/true". We describe how…

See the MathML for the previous formula:

gaps_mml.png

All the formula is marked wrs:positionable="false"; the student cannot edit or add to this part. To create the part of the answer for the student to complete, add <mrow wrs:positionable="true"/> to the MathML. This will appear as a green box to the student.

Question algorithm parameters

WirisQuizzes allows for the possibility of adding parameters to question algorithms. This may be useful if we want to create several questions about the same mathematical expression if we want to chain some questions (in the sense that some output from a question is used in the algorithm of the following one) or other uses.

This feature is available through the WirisQuizzes generic integration library. Therefore, the author will only use this feature if the platform integration provides a way to do it. The way it must be used will heavily depend on the integration.

How to do it

Parameters must be defined in algorithms using the keyword parameter. For example:

parameter1.png

Then, once instantiated the question, the platform integration may use the API function QuestionInstance.setParameter to overwrite the values of the parameters. The integration needs to manage where to store and find the actual parameter values for each question instance.

Following the same example, we could have the code in the platform integration:

...
QuizzesBuilder builder = QuizzesBuilder.getInstance();
Question question = ...
QuestionInstance instance = builder.newQuestionInstance(question);
instance.setParameter("p1", "<ms>Linear polynomial</ms>");
instance.setParameter("p2", "<ms>Nonlinear polynomial</ms>");
instance.setParameter("p3", "<mrow><mi>x</mi><mo>+</mo><mn>1</mn></mrow>");
...

When the algorithm evaluates, the values of the parameters defined in the algorithm will be overridden by the values specified by the integration. If some parameters are not specified, the values defined in the algorithm will be used.