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).
1307 sites
106 fans

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
  • Picture of João Mouro
    Tue, Mar 19, 2019, 12:00 AM
    Im having the same problem as Stanly , several "answer form(s) is/are pending evaluation." and nothing... any solution? Run numerous times the cron and still nothing...
  • Picture of Thomas Wedekind
    Tue, Mar 19, 2019, 12:12 AM
    @Ricardo, sadly this is not possible. I mean you can change it by changing line 202 in the settingslib.php. Be aware though: the won't be enough space on the sheet and offlinequiz might not evaluate the answer sheets right if you do so. that's why 9 is the maximum at the moment.

    @Joao Have you set up the cron successfully? If not please follow the instructions at If that still doesn't help feel free to create an issue in our official github repository at
  • Picture of Eseosa I
    Fri, May 17, 2019, 10:38 PM
    Heads up, AMC.

    The current version available for 3.6 (2019012901) is referencing files that do not exist within its dir structure

    #require_once($CFG->dirroot . '/mod/offlinequiz/report/rimport/scanner2.php');
    #require_once($CFG->dirroot . '/mod/offlinequiz/report/rimport/positionslib.php');

    Introducing this file as is will break the scheduled task page, amongst other things.

  • Picture of AMC Academic Moodle Cooperation
    Sat, May 18, 2019, 9:44 PM
    We just published bug fix version 3.6.2 of the Offline Quiz for Moodle 3.6 (see CHANGELOG.txt).
  • Picture of Luciano Barosi
    Mon, Jun 24, 2019, 9:55 AM
    Hello, I'm running OFFLINE QUIZ 3.6.2 with MOODLE 3.6.2 in an UBUNTU 18.04.2 box. Since I use only once in a while I used to manuaaly run offline/cron.php and everything was fine. Now I get "pending for evaluation" message forever (a zip of PNG files, but I tryed only one PNG, PDF and TIFF). Can anyone help?
  • Picture of Christophe MATHIEU
    Thu, Jul 18, 2019, 3:21 PM
    Hello, After the upgrade of our Moodle server, we are trying to upgrade from an older version of OFFLINE QUIZ to the latest version 3.6.2 on a MOODLE 3.7.1 server. We are using PHP 7.3. There is an error during the upgrapde : Exception : Argument 3 passed to mysqli_native_moodle_database::delete_records_select() must be of the type array or null, string given, called in [dirroot]/mod/offlinequiz/db/upgrade.php on line 1440. Can anyone help ?
  • Picture of Thomas Wedekind
    Thu, Jul 18, 2019, 4:16 PM
    hi Christophe,
    thank you for your report.
    Yes there is a bug in 3.6.2. You can fix this by changing line 1440 to " $DB->delete_records_select('offlinequiz_choices', 'id ' . $querysql, $queryparams);"
    then it will work,
    We will publish a new fixed version soon.
  • Picture of Christophe MATHIEU
    Thu, Jul 18, 2019, 4:35 PM
    It works ! thanks a lot
  • Picture of AMC Academic Moodle Cooperation
    Thu, Aug 8, 2019, 3:13 PM
    We just published bug fix version 3.6.3 of the Offline Quiz for Moodle 3.6 (fixed wrong upgrade to 3.6.2).
  • Picture of AMC Academic Moodle Cooperation
    Mon, Aug 12, 2019, 8:47 PM
    We just published version 3.7.0 of the Offline Quiz for Moodle 3.7 – have fun.
  • Picture of Philippe MULLER
    Tue, Aug 27, 2019, 5:24 PM
    Hi, and thanks a lot for this very useful plugin.
    I have a difficulty with a long offline quiz of about 100 questions, so my answer form is printed on 2 pages.
    Offline Quiz corrects easily the first page, but I have a lot of errors with the second. In most cases, I have to identify it manually as the second page.
    I have not find how different pages of the same answer form are differentiated.
    How can I have a best result?
    Have I to create 2 different offline quizzes?
  • Picture of Thomas Wedekind
    Tue, Aug 27, 2019, 6:14 PM
    Hi Philippe,
    thanks for trying out our plugin.
    the plugin uses a bar code at the bottom right to identify the page number, which is only evaluated, if there is more than one page.
    We didn't have any big problems with the multi page feature yet and it is tested quite well, even though not many people use it.
    Have you tried using a different white value of your paper?
    Have you tried using a higher DPI for the scans?
  • 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?
1 2 3 4 5 6 7 8 9 10 11 12
Please login to post comments