Activities: Offline Quiz

Maintained by Picture of AMC Academic Moodle Cooperation AMC 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).
1171 sites
80 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 Girish Belkar
    Wed, 23 May 2018, 12:11 PM
    Two issues
    1. Is there way to numbering the questions.?
    2. Can the marks for the questions be displayed?
  • Picture of Girish Belkar
    Wed, 23 May 2018, 3:13 PM
    Is it possible to include short answer question?
  • Picture of Thomas Wedekind
    Wed, 23 May 2018, 9:36 PM
    1.) Aren't they numbered already? the numbers are generated automatically during document creation time
    2.) You can do that by changing the settings for "Print question grades" in your offlinequiz-instance
    3.) At the moment only single-choice, Multiple-choice and description-questions are allowed. Any other question types are not supported.
  • Picture of Sergio Ricardo Bernardi
    Wed, 6 Jun 2018, 3:00 AM
    I've installed the plugin on Moodle 3.5 and when upload a question file i don't receive any e-mail. Someone could help?
  • Man holding Bandido, a chihuahua
    Wed, 20 Jun 2018, 5:16 AM
    Student ID. Our Student ID is alphanumeric, with four (4) letters of the student's last name, and four (4) assigned numbers, such as bene2078. How do we change the paper quiz to allow for entering this id? Or are we misunderstanding the Matrikelnummer?
  • Picture of Thomas Wedekind
    Thu, 21 Jun 2018, 2:40 PM
    Hi Troy, this is sadly not possible. The matriculation number has to be numeric.
  • Picture of Tim Siao
    Wed, 25 Jul 2018, 6:29 PM
    Thank you for this plugin. Just want to confirm something: is there no 'passing grade' like the stock standard Quiz activity? (in case it matters, I'm running this on a 3.5). I'd be really keen to hear how you would pass someone (Eg offline quiz being the only assessment) in your context if there's no 'passing grade'. Any thoughts/insights appreciated!
  • Picture of Tim Siao
    Thu, 26 Jul 2018, 7:23 PM
    I think I've worked out my own question - 'passing grade' is available via the Gradebook.

    Course Administration -> Gradebook setup -> Edit [of the Offline Quiz] -> Edit settings -> Show more ... and voila! 'Grade to pass' is available!
  • Picture of Tim Siao
    Fri, 27 Jul 2018, 7:07 AM
    Sorry to bother again. 'Grade to pass' is available to set in the Gradebook. However, if a student receives a grade lower than the 'Grade to pass' in the Offline Quiz, the activity is marked 'complete (but did not achieve passing grade'. This unfortunately still counts as a completion - and in turn allows the student to complete the course (if the course completion criteria is based on that activity alone).

    Is there a way to only indicate 'Activity completion' when 'Grade to pass' is met/exceeded - like the stock standard Quiz activity?

    Any pointers appreciated.
  • Picture of AMC Academic Moodle Cooperation
    Tue, 21 Aug 2018, 5:31 PM
    We just published the newest version of Offline Quiz for Moodle 3.5. Have fun.
  • Picture of Arnault Branche
    Thu, 6 Sep 2018, 9:41 PM
    I have the matriculation number issue too, since my students have alphabetical ID now.

    Do you think that this solution could be workable :
    - A number is assigned to each participant (00000001 , 00000002 , 00000003, etc.)
    - This numbers can be printed in the participant lists, for example
    - Scanned answer forms are associated with correct students thanks to this number.
  • Picture of Iván Sibillà
    Wed, 3 Oct 2018, 4:05 PM
    - Moodle 3.4.1
    - Oracle 12c

    We have activated the CRON line that you mention in your documentation:
    */10 * * * * DATE=`date +\%Y\%m\%d`; php /mod/offlinequiz/cron.php --cli=1 >> /var/log/moodle/cron-olq.log.$DATE 2>&1

    And we get the following read error in the database:
    ERROR: ORA-00932: inconsistent datatypes: expected - got CLOB

    We would be grateful if you could give us a possible solution to an Oracle database on the fields of type CLOB.

    Thank you.
  • Picture of Olivier Valentin
    Thu, 4 Oct 2018, 5:09 PM
    Hi !
    Thank you for this great plugin !
    I tried this morning to include questions using formulas edited with LateX Notation. Formulas appear correctly in the Preview section, but when I edit PDF, Offline Quiz seems unable to find and include the Gif created in moodledata/temp/offlinequiz. Is it normal ? Or does it comes from my MoodleData ?
    Thank for your answer !
  • Picture of Stéphane Poinsart
    Wed, 17 Oct 2018, 6:21 PM

    Thanks for your plugin, it has the potential to make a complicated process well managed and easy to run for teachers, it's great and I'm considering it's possible usage in my university.

    I hope it's ok if i ask a few questions about a few things that i don't know if it's small bugs or incorrect usage on my side.

    1) What should be the proper way to handle the ID when it is not prefixed by zeros in moodle ? E.G. for the student that have the id "42" in moodle i have tried to write 0000042 or just 42, but no student identification is made. If i change the id number in moodle to be also 0000042 it works, but i don't think it's wise to change the way our data is formated in production. Possibly related issue :

    2) When editing the question, moodle often end a line with the additional "br", even when already inside a paragraph. It does not show in the HTML view of moodle, but when on paper, it takes some amount of vertical space and couple of unnecessary pages is not as eco-frienly as it could be smile Would you consider automatically suppressing those extra blank line at the end of the question text and choices to be a better solution ?

    3) Is the marking supposed to be detected to automatically adjust the page position during the scan recognition ? I can anticipate some teachers would don't know how to disable the automatically added margins, even with the reminder (it shrinks a bit and add margins to make sure the content is in the printable zone for A4). They would only discover after the exam that the papers all need to be adjusted ? In my attempt, the recognition failed if i had those margins. Possible related issue (2006) :

    If you would prefer this posted as github issues, or that i contribute to the existing ones, please tell me.

    Best regards,

  • Picture of Grzegorz Rogala
    Fri, 19 Oct 2018, 2:02 PM
    When using Latex in the quiz question, the Latex functions and symbols do not display in-line with the regular question text. Looking forward to a fix.
1 2 3 4 5 6 7 8 9 10
Please login to post comments