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

  • David Mudrák
    Wed, 15 Oct 2014, 6:06 AM
    Hi guys. Thanks a lot for sharing this module with the community. I must say I'm really impressed. Juergen did a really good job. Since ages ago, whenever I was giving some Quiz module training to teachers at Czech schools and universities, I've been asked for the possibility to use paper versions of the questions in the Moodle question bank. Your module does it - and it does much more actually.

    I was able to successfully test the functionality of the module. Having developer debugging on, I encountered "Invalid array parameter detected in required_param(): participantid" (line 410 of participants.php) that should be fixed by using required_param_array().

    The only blocker I was facing was the following SQL related error on PostgreSQL: "ERROR: function ifnull(bigint, integer) does not exist". I was able to get it working by using SQL compliant COALESCE() function instead of MySQL specific IFNULL() in your code. Can you please review and fix that please?

    The README file contains many important information and instructions. It might be good to have it highlighted at the plugin description here in the Plugins directory (especially the need for a dedicated cron process).

    It is worth checking that your module works in more recent Moodle versions (2.7 and 2.8) and selecting them as supported by editing the uploaded plugin version.

    Please note, once the module is approved, its English strings are imported into AMOS. You may wish to submit your German language pack at lang.moodle.org and then remove it from your plugin code (plugins as supposed to ship with the English strings only).

    With the hope all raised issues will be fixed soon, you are cleared to land. I am happy to welcome this in the Plugins directory!
  • Matt Watson
    Wed, 15 Oct 2014, 9:46 AM
    Wow .... I am impressed. Thank you for sharing the module with the community.
  • Germán and Temudgin
    Fri, 17 Oct 2014, 11:41 PM
    Congratulations to the authors of this much-needed module. The participating Universities of Vienna have made a great contribution to many Universities world-wide that have requested this feature for ages.

    I am currently translating the English strings in AMOS for the Mexican Spanish language pack, and I can anticipate this great plugin will soon be translated to many more languages.

    I hope the authors don't mind that I have created the Moodle Documentation page at https://docs.moodle.org/26/en/mod/offlinequiz/mod by copying the information available in the original site. Having this page in Moodle Docs eases the translation of the documentation to many more languages, and it links to the 'Moodle Docs for this page' when a teacher is creating an instance of the offline quiz.

    I have also updated the Docs page at https://docs.moodle.org/26/en/Quiz_FAQ#Is_there_a_nice_way_to_print_a_copy_of_a_quiz.3F to show this new plugin version.

    I will later be postings some suggestions for fixing small typos in the English strings of thie plugin.
  • Germán and Temudgin
    Sat, 18 Oct 2014, 2:05 AM
    Hi,

    Could you please change the English language string 'totalpointsx', which currently is 'Total of grades: {$a}' to

    totalpointsx = 'Total of marks: {$a}'

    So that your plugin wil use the same names for 'marks' as the standard Moodle quiz core pages?

    And, in the 'Group Questions > Grades' tab page, could you please change the currently used [grade] variable (from Moodle core) to [markedoutof] (from question.php), so that the page will have 'Marked out of' instead of 'Grade', and be more similar to the page of the Moodle core Quiz ?

    These suggested changes will greatly help Moodle users of English and other languages.

    Thanks in advance for your help.
  • Germán and Temudgin
    Sun, 19 Oct 2014, 3:44 AM
    Hi,
    I have sent the german strings included inside this plugin's ZIP file to the german language translators at AMOS.
  • C'est moi :-)
    Tue, 3 Mar 2015, 7:19 PM
    Hi,
    I wanted to try it with Moodle 2.7, and have encountered theses problems:
    add_to_log() has been deprecated, please rewrite your code to the new events API
    display_category_form() is deprecated, please use \core_question\bank\search\condition instead.

    So couldn't create group questions, and neither go away with the tests...
    Is there a Moodle 2.7 (and more) compatible version in development, and when do you think it will be available?
  • moodle learner
    Mon, 9 Mar 2015, 12:54 PM
    Hi

    I am using moodle 2.6

    i am using offlinequiz. but in that we can add only multi choice..But i want to add short answers too

    so what i did is

    i added shortanswers to all sql quesries near multichoice

    now i can add short answers,but in correction form they do not show the answers for short answer.but show the multichoice correctly.please help me what i can do for this
Please login to post comments