Activities: Offline Quiz

Maintained by Picture of AMC Academic Moodle CooperationAMC Academic Moodle Cooperation
The MC Offline quiz module (mod/offlinequiz) adds paper-and-pencil multiple-choice quizzes to Moodle. In offline quizzes students mark answers to questions on a sheet of paper (the answer form).
1317 sites
109 fans
Current versions available: 12

MC Offline quiz module

The Moodle MC Offline quiz module adds paper-and-pencil multiple-choice quizzes to Moodle. In offline quizzes students mark answers to questions on a sheet of paper (the answer form). The students' answer forms are evaluated and graded automatically by the offline quiz module. 

More precisely, a complete offline quiz consists (at least) of the following steps:

  • A teacher creates an offline quiz in Moodle and adds multiple-choice questions, all-or-nothing multiple-choice questions or description questions (text) to the quiz. This is very similar to creating online quizzes (standard Moodle quizzes).
  • From the question lists the teacher creates question sheets and answer forms as PDF (DOCX) documents using the module. 
  • The question sheets and answer forms are handed out to students for the actual quiz. The students mark the answers they think are correct in the answer form.
  • The teacher scans the filled-in answer forms and uploads the resulting images into the offline quiz. The scanned answer forms are evaluated and graded automatically by the module. 
  • If necessary, the teacher corrects errors that might have occurred due to mistakes made by the students or due to bad scan quality.

After results have been created in an offline quiz, students can review their result as usual. If the teacher allows it, students can also see the scanned answer forms and which markings have been recognised as crosses.

The module supports up to six groups which are not related to Moodle course groups. Each group can contain a different set of questions in a different order. Separate question sheets and answer forms are created for the different offline quiz groups.

The module also supports lists of participants which are useful for checking which students actually took part in the exam. Lists of participants are pre-filled with students in Moodle. PDF versions of those lists can be created in the module for easy marking during the exam. The marked lists can be uploaded and evaluated automatically.


The offline quiz module is used intensively at different Austrian universities for mass exams. Hundreds of students can be easily examined at the same time (given enough seating space in lecture halls) without the need for expensive e-testing equipment.


Copy the module code directly to the "mod/offlinequiz" directory. Open the messages page in the administration area to automatically start the installation.

The automatic analysis of questionnaires requires the activation of an appropriate cronjob (see README.txt).

Admin settings

As an administrator you can set the default values instance-wide on the settings page for administrators in the MC Offline quiz module.

  • formula for participant identification (text field)
  • mix questions (checkbox)
  • mix answers (checkbox)
  • logo URL (text field)
  • copyright indication (checkbox)
  • settings for exam inspection (checkbox)
  • decimal places (drop down)
  • paper's white level (drop down)
  • 1-click inscription (checkbox)
  • role for inscription (drop down)
  • saving days (text field)


Screenshot #0


Picture of AMC Academic Moodle Cooperation
AMC Academic Moodle Cooperation (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Ricardo Caiado
    Thu, Sep 5, 2019, 8:22 PM

    The plugin, in version 3.4.2, worked perfectly when installed on Moodle version 3.4.

    After upgrading to Moodle 3.5, I updated the plugin to version 3.5.4 and after this update the plugin has stopped working (it does not correctly recognize scanned pages).

    In an another Moodle installation (development) I installed versions M3.6 and M3.7 with the plugin in their respective versions and could not make it work, as it has the same problems of not recognizing the scanned pages.

    My current situation is as follows: I have Moodle version 3.5.2 with the plugin installed on version 3.4.2 working perfectly.

    Any idea what might be going on?

  • Picture of Ferdinand Meintjes
    Fri, Oct 4, 2019, 4:41 PM
    This is exactly what I need at my school if i can get it to work.
    When uploading my answer sheets I receive a message "3 answer form(s) is/are pending evaluation", and it stays there I never receive an email and it never show in the results.
    I'm on Moodle 3.7 and also use the 3.7 plugin
  • Picture of Thomas Wedekind
    Fri, Oct 4, 2019, 7:22 PM
    the evaluation is done via scheduled tasks (also called cron)
    have you set up your moodle instance to run cron?
  • Picture of Jane Stradins
    Wed, Dec 4, 2019, 9:01 PM

    I can't work out how to generate an id number for the learner to write onto the answer sheet. Please advise, thanks smile
  • Picture of Thomas Wedekind
    Wed, Dec 4, 2019, 9:36 PM
    you can choose where to get it from in the admin settings: the setting "useridentification" will set the column in the user table which will be compared.
    normally it is the column "idnumber" which can be set by an admin and/or with automated scripts.
  • Picture of Jane Stradins
    Thu, Dec 5, 2019, 4:30 PM
    Thank you for your prompt reply Thomas. I have looked at the admin setting "useridentification" and it was set at the default [7]=idnumber. This gives me a id number column in the moodle user table but there is no number in there. How do I generate that number? When i add a user (from the list of possible users enrolled on the course), the user has () after the name - ie Test Learner ().
    I tried the two admin settings show in the instructions. First was a[7]=username which gives me a username in the moodle user table column but i still have no ID number for the mark sheet.
    Then I tried b[5]cd=idnumber. Tihs gave me the same result as the default setting.

    SO, I'm stuck! Everything else seems to work okay - I've generated papers and mark sheets athen scanned and uploaded the sheet. This has been processed but cannot be marked as there is no ID number.

    PLease advise, thank you smile
  • Picture of Thomas Wedekind
    Thu, Dec 5, 2019, 8:03 PM
    Hi Jane,
    on most moodle instances for universities or schools the students have their matriculation number or studentid in their profile field "idnumber" which is only changable by an administrator by default.
    In our case filling this value is done automatically.
    You can either set it as an admin manually or find another way to have any identifcation number in the users table for each participant that the participant has to know before the test.

    The b[5]cd=idnumber would mean that the plugin will look into the table "users" and look for the field "idnumber" (right part of the equation). In there it searches for a[5]cd (left part of the equation) and replace the [5] with the number that the participant has crossed on the answer sheet, which is exactly 5 digits long.
    So if a user would have crossed 04711 it will search for "b04711cd" in the idnumber field.

    Hope this helps.
  • Picture of Jane Stradins
    Fri, Dec 6, 2019, 12:45 AM
    Thomas, thank you, you've cracked it. Our learners do not have an ID number. I added one to my test learners profile and it all works. Fabulous.

    Thank you so much smile
  • Picture of Maxime Marchal
    Fri, Dec 20, 2019, 4:33 PM
    Hi Thomas,
    is it possible to import responses in PDF?. I have the message Image type not supported
  • Ricardo Caiado
    Fri, Dec 20, 2019, 11:05 PM

    Any plans to upgrade the plugin to Moodle 3.8?

  • Picture of Thomas Wedekind
    Sat, Dec 21, 2019, 5:09 AM
    @Maxime, yes, PDF is supported. Did you install the required imagemagick?
    @Ricardo, there were some Problems with the implementation this time with the Docx-Format. It didn't work and we had to update the library which took a lot of work. After some last tests we will release it after our christmas break somewhere in January. If you don't use the DOCX you can safely use the 3.7 Version, it should work with 3.8.
  • Picture of Maxime Marchal
    Sat, Dec 21, 2019, 9:01 PM
    @Thomas, no i did not install imagemagick. its a plugin ?
  • Picture of Thomas Wedekind
    Mon, Dec 23, 2019, 9:23 PM
    @Maxime no, it's a image manipulation command line program, which has a php interface. Most linux systems have a package for it.
  • Ricardo Caiado
    Tue, Dec 24, 2019, 11:48 AM

    Just update Moodle to v3.8 and got this error message:

    "Use of subplugins.php has been deprecated. Please update your '/XXXXXX/offlinequiz' plugin to provide a subplugins.json file instead."

  • Picture of Mylène LG
    Wed, Jan 8, 2020, 5:18 PM

    We are using Moodle 3.5, and Offline quizz v3.5.4. The plugin worked just fine during the last year. But since september, we are facing a problem : for each scanned page, a block display the following message : "Invalid page number. Choose a page number or try to readjust the sheet". We juste Can't manually reajust 600 sheet... Have you a solution ?
1 2 3 4 5 6 7 8 9 10 11 12
Please login to post comments