Offline Quiz

Activities ::: mod_offlinequiz
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).
Latest release:
1652 sites
139 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. 

No support in the comments section on this page

Please note that we don't provide any support for this plugin in the comments section on this page anymore.

We appreciate your commendation and reviews for this plugin in the comments. For bug reports and support requests, please read the extensive information in the plugin's README file first and create, if needed, a ticket in the bug tracker which is linked below.

Thanks for your cooperation.

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
  • Richard Samson
    Thu, Jan 23, 2020, 5:31 PM
    We love this plugin and use of it is growing at our university. We are currently on Moodle 3.7.

    Now, when the technicians are planning to buy a new printer / scanner, they want to make sure that it does a good job with batch scanning of Offline Quiz answer sheets of students.

    We have had some mixed experiences with this. There always seem to be 3% or so of answer sheets that have to be re-adjusted manually before the plugin can process them. Is this as good as it gets? Or should we be aiming higher? If so, can you recommend any printers / scanners that work particularly well with the plugin on the basis of your experience?

  • Picture of AMC Academic Moodle Cooperation
    Fri, Feb 7, 2020, 7:36 PM
    We just published version 3.8.0 of the Offline Quiz for Moodle 3.8 – have fun.
  • Picture of Jane Stradins
    Thu, Feb 20, 2020, 4:53 PM
    Hi Thomas

    We are using Moodle 3.5. The Offline Quiz plugin worked just fine when I tested it in December (after you helped me with the ID number issue I was having, thank you).

    However, now when I make a new quiz I have a problem when uploading the scanned answersheets. The upload is fine but then the upload error report shows 'Invalid Listnumber'. I can click on Correct and then the message on top of the scanned image says 'Could not detect barcode for list! Please select a list or try to readjust sheet'. There is a drop down menu beneath the message from which I can choose the Test Group number.

    This message then disappears and the error code 'Insecure markings' then displays in red at the top of the scanned image and shows 6 small green boxes scattered aroud the image on the left hand side where the tick boxes are (as well as 2 blue flashing ones which turn green if I click on them) There are only 5 questions so not sure what the boxes correspond to. Additionally, the right hand side of the page has 9 wide red boxes over the ID area from which I can choose the learner ID (the full number in each drop down). I canalso click on the green and blue boxex and they disappear. I then Save the changes and the scanned image disappears. A new message shows 'Sheet of participants list imported' No marking is done.

    Needless to say, try as I might I cannot resolve this. Please can you advise?

    Many thanks
  • Picture of Carlos López Ardao
    Thu, May 14, 2020, 5:07 AM
    Hi, Thomas. Your plugin is fantastic and an essential for us. In Spain the ID number consists of 7 numbers and one letter (A-Z) as redundancy (ex. 12345678W). In my university (Vigo), filling this value is also done automatically. Setting [8]=idnumber does not work. Is there any setting that works for this case? If not, it would be great to be able to use wild cards, something like [8]*=idnumber. Best regards
  • Picture of AMC Academic Moodle Cooperation
    Sun, Jun 7, 2020, 8:38 PM
    We just published version 3.8.1 of the Offline Quiz for Moodle 3.8 containing a question statistics bug fix (not all columns visible).
  • Picture of AMC Academic Moodle Cooperation
    Mon, Jun 29, 2020, 11:38 PM
    We just published version 3.9.0 of the Offline Quiz for Moodle 3.9 – have fun.
  • Picture of Sammuel Cavalcante Cavalcante
    Thu, Nov 19, 2020, 9:49 PM
    Hello, please help me. I am trying to translate the language pack from English to Portuguese. I am directly changing the file located in the folder C: \ Users \ DL \ Desktop \ Moodle PMAC \ server \ moodle \ mod \ offlinequiz \ lang \ en \ offlinequiz.php.

    However, accented words are replaced by a question mark (�). Could you give me a tip on how to solve this?
  • Picture of AMC Academic Moodle Cooperation
    Sun, Nov 22, 2020, 1:15 AM
    You have a character encoding problem. You should not directly change the english language file. Create a portuguese language file in AMOS ( instead. See
  • Picture of vipul khurana
    Wed, Dec 30, 2020, 11:39 PM
    Hello all

    Wonder if anyone has any pointers or past experience working with MathType by wiris and offline quiz. I am really
    struggling to display the MathType images in pdf format.

    So, here is what I have done so far

    1) Created a simple question that has the following answer options, lets say
    a. 1/2
    b. 2/4
    c. 3/5

    The fractions are written using MathType.

    When I look at the preview HTML, I was seeing MathML tags instead of the picture, so I made some changes to locallib.php and added the wirisfilter in the list of filters and rendered the questions and answer text via the filter. It worked great and I can see images in html. So far so good.

    Then I tried to generate the questions pdf file and found that the images were missing in pdf.

    I have explored through pdflib.php. I think we need to update the function fix_image_paths of html2text.php to somehow read the mathtype image file and include the content in the form of a png/gif file but unable to figure out exactly how to do that.

    Wondering if there is an easy option to do so. Any pointers would be appreciated.

  • Picture of AMC Academic Moodle Cooperation
    Thu, Jan 7, 2021, 2:47 PM
    We just published version 3.10.0 of the Offline Quiz for Moodle 3.10 – have fun.
  • Picture of Olga Forlani
    Tue, Feb 2, 2021, 4:26 PM
    Hello to everybody,
    I'm Olga from University of Verona, Italy. We tested the plugin at our institution but we have a problem in the answers sheet. The matriculation number of our student is not composed only from numeric digits, but also from 2 letters (VR): VRXXXXXX
    Is there the possibility to modify the sheet to give the students the possibility to insert the correct matriculation number?
    Thank you for your attention!
  • Picture of Thomas Wedekind
    Sat, Feb 6, 2021, 7:21 PM
    if the 2 letters are always the same this is possible:
    just enter into the offlinequiz | useridentification setting the following text:
    This means: in the column "idnumber" in the user table there is "VR" followed by 6 digits, which the user has to cross on the form
  • Picture of Matteus Barbosa
    Sat, Mar 27, 2021, 11:58 PM
    Desenvolvi suporte pra upload de questões abertas + tradução pra português. Quem se interessar, acesse e fale direto comigo.
  • Picture of Dinis Medeiros
    Mon, Mar 29, 2021, 4:54 PM
    @Matteus Barbosa
    Gostava de experimentar. Sou tradutor PT-PT do Moodle.
  • Picture of Sammuel Cavalcante Cavalcante
    Mon, Apr 19, 2021, 8:50 AM
    Olá, fico muito contente que está havendo atualizações para esse plugin. Está sendo muito útil para nossa instituição. Gostaria de saber como fazer para atualizar a língua para PT-BR ou PT-PT. Se alguém puder me informar:
1 2 3 4 5 6 7 8 9 10 11 12 13
Please login to post comments