Wiris Quizzes for Moodle

In this page you can find out how to install Wiris Quizzes in Moodle, how to activate Wiris Quizzes question types and WIRIS filters. An estimation of the resources consumption by Wiris Quizzes is also given.
A detailed guide about deactivation of Wiris Quizzes question types and WIRIS filters is also shown. If you want to completely uninstall Wiris Quizzes you can follow the steps below.
In this section you will find the requirements and complete guide about the installation of Wiris Quizzes in Moodle platform.

DOWNLOAD WIRIS QUIZZES FOR MOODLE

Requirements

  • Moodle 2 or Moodle 3
  • Wiris plugin for Moodle version 3.17.20 or higher.
  • You can know your Plugin version at your http://<moodle>/filter/wiris/info.php.

UPDATE THE PLUGIN

Installation

Copy files

Unzip moodle2-wiris-quizzes-x.xx.xx.xxxx.zip and copy the content of the file into the folder local under the root of Moodle.

Install the plugin

Since Wiris Quizzes is a Moodle plugin, it will automatically start the installation after the files are copied into the correct folder. If the installation doesn't start, go to the Moodle Home Page or Site administration > Notifications page.

Check all is OK

The best way to check all is OK is just to make a question, save and display it.

Additionally there is an info page at http://<moodle>/question/type/wq/info.php. If there is any issue, please send a complete description and screenshots of the issue to support.

Additional settings

If the number of concurrent users using Wiris Quizzes is higher than 100 we recommend you uncomment and increase the quizzes.maxconnections variable in <moodle>/question/type/wq/quizzes/configuration.ini. We recommend you increase its value by 10 for every 100 concurrent users. Please note this value must be lower than Apache MaxRequestWorkers (or MaxClients) divided by 4.

Note: If <moodle>/question/type/wq/quizzes/configuration.ini doesn't exist, create it by copying <moodle>/question/type/wq/quizzes/configuration.ini.dist.

Follow the steps below to activate Wiris Quizzes question types.

Login as admin

Login as the admin user, and go to "Site administration".

Manage question types

In the sidebar, go to Plugins > Question types, and click "Manage question types".

Math & Science by Wiris

Find "Math & Science by Wiris" and click Settings.

Tick Wiris Quizzes

Tick the checkbox if it is unticked, and click "Save Changes"

Follow the steps below to activate Wiris filters.

Login as admin

Login as the admin user, and go to "Site administration".

Manage filters

In Plugins > Filters in the sidebar, click "Manage filters".

Enable Math & Science by Wiris

Find "Math & Science by Wiris". From the drop-down list near the middle, select "On" and wait for the page to reload.

Activate the filters

Click "Settings" in the same row (Math & Science by Wiris). A page with several checkboxes will load. Select the filters you would like to enable, and save changes.

Caution: "Calculator" is a Java applet. Only activate it if you have a browser with a functional Java Runtime Environment installed.

The resource consumption of Wiris Quizzes for Moodle depends on Moodle’s own resource consumption, and it depends strongly on the way Wiris Quizzes for Moodle is used.

For example, in a time-based exam, where all students start at the same time, a lot of initial connections are expected at the beginning. The connections will slow down after some minutes and there will be a peak by the end of the examination.

Despite the high dependence on the type of usage, the following rule holds:

4 core + 3GB RAM 360 questions/minute 1)

Typical scenario

We assume each questionnaire contains 10 questions (5 non-random and 5 random) and the student needs an average of 30 minutes to solve each questionnaire. Students can start the questionnaire whenever they want. We don't expect a peak at any time.

As a result:

30 minutes ·360 questions minute10 questions user=1080 users

In summary, 4 cores with 3GB RAM can deliver 1080 questionnaires simultaneously, with the given conditions. Now, following the above rule we can make further estimates:

Concurrent Users CPU cores RAM (GB)
540 2 2
1080 4 3
2160 8 6
Follow the steps below to deactivate Wiris Quizzes question types.

Login as admin

Login as the admin user, and go to "Site administration".

Manage question types

In the sidebar, go to Plugins > Question types, and click "Manage question types".

Math & Science by WIRIS

Find "Math & Science by WIRIS" and click Settings.

Uncheck Wiris Quizzes

Once there, untick the checkbox next to "WIRIS quizzes".

Save the changes

Make sure to click the "Save Changes" button. All WIRIS Question types are now disabled.

Follow the steps below to deactivate WIRIS filters.

Login as admin

Login as the admin user, and go to "Site administration".

Manage filters

In Plugins > Filters in the sidebar, click "Manage filters".

Math & Science by WIRIS

Find "Math & Science by WIRIS" and click Settings.

Uncheck all the boxes

Unmark all checkboxes, and click "Save Changes":

Disable Math & Science by WIRIS

Lastly, click "Manage Filters" in the sidebar again, and this time at "Math & Science by WIRIS" go to the drop-down list and choose "Disabled".

If you choose to uninstall Wiris Quizzes for Moodle, we recommend uninstalling it via the Moodle user interface. If you prefer, you can uninstall it manually by following these steps.

Moodle interface uninstall

You can uninstall Wiris Quizzes question types just like any other Moodle question type. All WIRIS question types require/depend on "Math & Science - WIRIS" so you need to uninstall the rest before uninstalling "Math & Science - WIRIS". Remember you can follow these steps if you don't have any question created of these types:

Login as admin

Login as the admin user, and go to "Site administration".

Manage question types

In the sidebar, go to Plugins > Question types, and click "Manage question types".

Uninstall question types

Delete every question type using the "Uninstall" link next to the question type. Remember to need to delete all the questions of each type first, then uninstall the question type.

Remove associated files

Remove the associated files from <moodle>/question/type.

Manual uninstall

If you have written any questions of these types, you won't see the "Uninstall" link. However, you can remove the files related to that question type from <moodle>/question/type, and any question you had will be moved to the Moodle "Missing type" question type. If you choose this option to uninstall you must only delete <moodle>/question/type/wq if you've deleted the rest of the WIRIS question types. With this option every WIRIS question you had will stop working.

In order to preserve database coherence, the qtype_wq and qtype_essaywiris_backup tables must be deleted and the following registers must be deleted from config_plugins table: qtype_essaywiris, qtype_matchwiris, qtype_multianswerwiris, qtype_multichoicewiris, qtype_shortanswerwiris, qtype_truefalsewiris.

1) Calculations done with a questionnaire of 10 WIRIS questions (5 random, 5 non-random). Maximum CPU load: 80%. Average CPU load: 50%. Wiris Quizzes and MathType Web services from our wiris.net servers