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:
2113 sites
1k downloads
188 fans
Current versions available: 22

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

コメントを表示する
  • Rudy Potdevin
    2024年 07月 18日(木) 17:17
    Hello. When will version 4.4 be released? Thank you
  • Thomas Wedekind
    2024年 07月 18日(木) 17:34
    Version 4.4 will be published here very soon. There is only some really small things left.
    It will have support for changing the font, so yo can use it with asian/arabic/other characters.
    You can check it out in our github in the master branch.
  • AMC Academic Moodle Cooperation
    2024年 07月 31日(水) 20:09
    We just published version 4.4.0 of the Offline Quiz for Moodle 4.4. – have fun.
  • Luwarsono Luwarsono
    2024年 12月 1日(日) 13:39
    Hi...
    I'm happy to find this plugin, I've tried installing version 4.4 then tried making the quiz.
    but I had a problem when uploading student answers and the message "answer form(s) is/are pending evaluation" appeared. I waited a few minutes and the message still didn't disappear, then the next day it still opened and didn't disappear. I wonder if there was something wrong with me during the installation process? or maybe there is another solution?
  • Dragos Iordache
    2024年 12月 6日(金) 20:46
    When adding random questions from the question bank to an offline quiz, the generated forms will always include the same questions, even if the forms are deleted and regenerated. For instance, if the objective is to create a different quiz each time—such as generating 10 random questions per form from a question bank containing 100 questions—this functionality is not supported. I can shuffle the questions, but those questions are not truly random as they are in the legacy quiz activity.
  • AMC Academic Moodle Cooperation
    2025年 02月 14日(金) 02:05
    We just published version 4.5.0 of the Offline Quiz for Moodle 4.5. – have fun.
  • Ricardo Caiado
    2025年 02月 14日(金) 02:57
    After upgrading to "4.5.0", I´ve got this message "offlinequiz_regrade missing from disk"

    Any idea?
  • AMC Academic Moodle Cooperation
    2025年 02月 14日(金) 22:43
    Hi Ricardo,
    Since v4.4 regrading is done automatically and the "offlinequiz_regrade" sub plugin is no longer required. You can probably simply ignore this message. Otherwise open an issue on GitHub.
  • AMC Academic Moodle Cooperation
    2025年 02月 24日(月) 18:12
    We just published bug fix versions 4.3.4 and 4.4.1 of the Offline Quiz for Moodle 4.3 and 4.4, see the change log..
  • AMC Academic Moodle Cooperation
    2025年 02月 24日(月) 22:24
    We just published bug fix version 4.5.1 of the Offline Quiz for Moodle 4.5, see the change log.
  • AMC Academic Moodle Cooperation
    2025年 04月 30日(水) 22:44
    We just published bug fix version 4.3.5 of the Offline Quiz for Moodle 4.3 (Added missing privacy API for the regrade subplugin).
  • photo ulrrrike
    2025年 05月 12日(月) 20:29
    Hello,
    First of all, thank you for this great plugin, which has proven to be extremely useful for our very big cohorts! I was wondering whether you are thinking of developping an additional feature or a new plugin based on Offline Quiz, allowing students to write a text (assignment) on paper that could be scanned, then read by AI on Moodle (then graded manually or half manually). That would be awesome considering the upcoming need for this kind of evaluation that allows teachers - especially in the Humanities - to ensure students are not using AI for their homework / assignments.
  • Ramon Ovelar
    2025年 05月 27日(火) 16:38
    Hello,
    I am working in an RHEL 9 environment with Moodle 4.5 and I can not manage to get the results readen. I have scanned my tests as pdf and tif, in black and white, 300dpi.

    The file are processed, but it says "File is not an image or PDF doesn't contain an image" or Tiff is not supported. I have seen the files have arrived to moodledata/temp/offlinequiz/import/ but there is something there not working.

    When I click on the information I get these details:

    error/Could not load file

    Más información sobre este error
    Información de depuración:
    Error code: Could not load file
    $a contents:
    Trazado de la pila (stack):

    line 521 of /mod/offlinequiz/report/rimport/scanner.php: core\exception\moodle_exception thrown
    line 127 of /mod/offlinequiz/correct.php: call to offlinequiz_page_scanner->load_stored_image()

    If I try a different version of Moodle (4114) in the same server, I get these messages in the log of the sheduled task:

    Execute scheduled task: Answer sheet evaluation for the offlinequiz-plugin (mod_offlinequiz\task\page_evaluation_task)

    ... started 15:47:02. Current memory use 5.4 MB.

    job 5: evaluating /usr/data/moodle4114/temp/offlinequiz/import/1748270791615959989/20250526133541612_0001.jpg


    Warning: imagecreatefrompng(/usr/data/moodle4114/temp/1748270822_dst.png): Failed to open stream: No such file or directory in /var/www/html/moodle4114/mod/offlinequiz/report/rimport/scanner.php on line 1055

    ... used 27 dbqueries

    ... used 0.81038284301758 seconds

    Scheduled task failed: Answer sheet evaluation for the offlinequiz-plugin (mod_offlinequiz\task\page_evaluation_task),imagesx(): Argument #1 ($image) must be of type GdImage, bool given

    Backtrace:

    * line 1062 of /mod/offlinequiz/report/rimport/scanner.php: call to imagesx()

    * line 1416 of /mod/offlinequiz/report/rimport/scanner.php: call to offlinequiz_page_scanner->rotate_90()

    * line 482 of /mod/offlinequiz/report/rimport/scanner.php: call to offlinequiz_page_scanner->adjust()

    * line 168 of /mod/offlinequiz/cron.php: call to offlinequiz_page_scanner->load_image()

    * line 40 of /mod/offlinequiz/classes/task/page_evaluation_task.php: call to offlinequiz_evaluation_cron()

    * line 263 of /lib/cronlib.php: call to mod_offlinequiz\task\page_evaluation_task->execute()

    * line 120 of /lib/cronlib.php: call to cron_run_inner_scheduled_task()

    * line 73 of /lib/cronlib.php: call to cron_run_scheduled_tasks()

    * line 178 of /admin/cli/cron.php: call to cron_run()

    It seems that there is some extension missing in my server or that I have to give writing permissions to some folder in moodledata. I would appreciate any help on this, many thanks in advance.

    Best,
  • AMC Academic Moodle Cooperation
    2025年 06月 6日(金) 16:46
    Ramon, please use GitHub for support questions (see the description):
  • AMC Academic Moodle Cooperation
    2025年 06月 6日(金) 16:46
    We just published bug fix version 4.5.3 of the Offline Quiz for Moodle 4.5, see the change log.
Please login to post comments