Offline Quiz

Activities ::: mod_offlinequiz
Maintained by AMC Academic Moodle Cooperation
The Offline Quiz activity allows the creation of multiple choice tests with questions from the question bank of a Moodle course, which are handed out to students in printed form. After completion, the answer forms are scanned and can be automatically evaluated online directly in Moodle.
Latest release:
2026 sites
1k downloads
177 fans
Current versions available: 20

Offline Quiz

The Offline Quiz activity allows the creation of multiple choice tests with questions from the question bank of a Moodle course, which are handed out to students in printed form. After completion, the answer forms are scanned and can be automatically evaluated online directly in Moodle.>

No support in the comments section on this page! See below for bug reports and support.

Usage

Teachers want to conduct the final examination of a course with several hundred students in a lecture hall. For this purpose, an offline quiz is created in a Moodle course and the quiz is filled with questions from the question bank. To make copying more difficult, the lecturers decide to create several groups in the offline quiz that contain different questions. The forms are then generated, downloaded and printed out.

Two forms are handed out to students during the exam: the questionnaire (contains the questions and answer options) and the corresponding answer sheet (form with boxes to tick the selected answers). After the exam, all answer sheets are scanned and uploaded in the offline quiz of the Moodle course for evaluation.
Forms that could not be automatically evaluated by the system, e.g. because the ID number was incorrectly ticked or ticks or crossed out ticks are unclear, must be corrected by the teachers in the offline quiz.
Teachers can now allow students to view their exams online, where they can, for example, see the points they have achieved and check that their ticks have been recognized.

Note: The question types multiple choice, description and all-or-nothing multiple choice are currently supported. Questionnaires can be downloaded in PDF, DOCX or LaTeX format.

Documentation

You can find a documentation for the plugin on the AMC website.

Bug Reports / Support

We try our best to deliver bug-free plugins, but we can not test the plugin for every platform, database, PHP and Moodle version. If you find any bug please report it on GitHub. Please provide a detailed bug description, including the plugin and Moodle version and, if applicable, a screenshot.

You may also file a request for enhancement on GitHub. If we consider the request generally useful and if it can be implemented with reasonable effort we might implement it in a future version.

You may also post general questions on the plugin on GitHub, but note that we do not have the resources to provide detailed support.

Screenshots

Screenshot #0
Screenshot #1

Contributors

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

Comments RSS

Comments

  • Thomas Wedekind
    Mon, 24 Oct 2016, 2:40 PM
    you at least have to add the Parameter cli=1, otherwise it won't work:
    php /home/pm1yedpj/public_html/moodle2/mod/offlinequiz/cron.php --cli=1
    you can decide where to save the logs by piping them to a special file, for example:
    php /home/pm1yedpj/public_html/moodle2/mod/offlinequiz/cron.php --cli=1 >> /var/log/moodle/cron-olq.log.$DATE 2>&1
    But that's up to you, if you don't need the logs, you can skip these
  • Dinis Medeiros
    Mon, 24 Oct 2016, 6:18 PM
    First of all, THANKS Thomas Wedekind
    With this php /home/pm1yedpj/public_html/moodle2/mod/offlinequiz/cron.php --cli=1, not working
    X-Powered-By: PHP/7.0.11
    Content-type: text/html; charset=UTF-8
    Anything else i can do?
    Is this ok? php /home/pm1yedpj/public_html/moodle2/mod/offlinequiz/cron.php --cli=1 >> /home/pm1yedpj/public_html/moodle2/cron-olq.log.$DATE 2>&1
  • Thomas Wedekind
    Mon, 7 Nov 2016, 5:56 PM
    I'm sorry, I'm answering so late, I'm very busy at the moment.
    Your configuration seems alright, if you use the right user (the same user as your webserver). Maybe there is a problem with PHP 7, because I don't know, if we tested the cronjob with php7. I will look into that, but I will need some time. Maybe you can try yourself if it works with php5.
  • Dinis Medeiros
    Mon, 7 Nov 2016, 9:38 PM
    I'm using at the moment php 5.6. Moodle normal cron runs (moodle/admin/cron.php). This one not!!! WHY?
  • Trần Nam Định
    Thu, 10 Nov 2016, 10:01 PM
    I'm using your plugin on a real website, when I download pdf form I got this "Image file: /home/kythiquo/moodledata/temp/offlinequiz/14787846252806_71853.gif not found! "
    instead of my equation. Please help me!
  • Thomas Wedekind
    Fri, 11 Nov 2016, 3:27 PM
    @Dinis Medeiros I really can't reproduce your error, I'm sorry. Can you show me how to reproduce this and report the bug on github? Or if you don't have a production system you can try out the master, where we integrated the cron into the moodle cron.
    @Trần Nam Định Do you have your imagemagick set up correctly? It seems like the imagemagick convert doesn't work.
  • AMC Academic Moodle Cooperation
    Mon, 21 Nov 2016, 6:38 PM
    We just released versions v2.9.8, v3.0.2, and v3.1.1 fixing a bug concerning multipage scan sheets (https://github.com/academic-moodle-cooperation/moodle-mod_offlinequiz/issues/24).
  • ziv izackov
    Tue, 7 Feb 2017, 1:39 AM
    Hi
    if the test contains a lot of questions, the answers in the answer sheet are grouped by 8 answers, anyway to change this to groups of 10 answers? thanks!
  • Thomas Wedekind
    Tue, 7 Feb 2017, 4:22 PM
    There is no way to change that since the place on an A4-Page is limited. There is no easy way to change this anymore, since this grouping is deep inside of the correction algorithm, I'm sorry.
  • ziv izackov
    Tue, 21 Feb 2017, 3:55 PM
    Hi
    is it possible to print the quiz to word doc and not pdf?
    thanks
  • AMC Academic Moodle Cooperation
    Tue, 21 Feb 2017, 4:51 PM
    Hi Ziv,

    yes it is already possible - just go to the settings of your offline quiz instance and change in the "Forms Settings" section the settings for "Format for question sheets".
    Help text: Choose whether you want your question sheets in PDF, DOCX or TEX format. Answer forms and correction sheets will always be generated in PDF format.

    Cheers Kat
  • Dashamir Hoxha
    Mon, 27 Feb 2017, 12:26 AM
    I tried it in Moodle 3.2 and it worke well. I did not test all the features, but as much as I needed it for, it worked well.
  • ziv izackov
    Thu, 2 Mar 2017, 6:04 PM
    Hi
    everything is working great, but i have 1 issue when i did a demo test. the test contains 220 questions, so it's spreads to 3 pages. after i scanned the pages, i needed to tell the system which page is which. this is not done automatically?
    thank you for a great solution
  • AMC Academic Moodle Cooperation
    Fri, 3 Mar 2017, 6:32 PM
    Hi Ziv, may I ask you which version you are using?
    Thanks. Cheers Kat
  • AMC Academic Moodle Cooperation
    Fri, 3 Mar 2017, 6:33 PM
    Ziv, I think this issues should be resolved in 3.1 already - https://github.com/academic-moodle-cooperation/moodle-mod_offlinequiz/tree/MOODLE_31_STABLE
Please login to post comments