## Activities: Offline Quiz

mod_offlinequiz
Maintained by 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).
1295 sites
104 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.

### Example

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.

### Installation

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).

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)
• logo URL (text field)
• 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)

### Awards

• Thu, Feb 7, 2019, 2:40 AM
We just published version 3.6.0 of the Offline Quiz for Moodle 3.6 – have fun.
• Thu, Feb 7, 2019, 4:42 PM
Version 3.6 is missing in AMOS (translation). THANKS
• Sat, Feb 16, 2019, 12:46 AM
We just published a bug fix version 3.6.1 of the Offline Quiz for Moodle 3.6 (see CHANGELOG.txt).
• Wed, Feb 27, 2019, 8:27 PM
Hello~
I can not get the cloze type question from the question bank.
Does this error only happen to me?

Moodle 3.5.4+ (Build: 20190201)
php 7.0.27
• Tue, Mar 12, 2019, 5:05 AM
Hi AMC,

The "formula for participant identification" is limited to 9 digits. Is it possible to expand this limit to 11?

Ricardo
• Tue, Mar 19, 2019, 12:00 AM
Im having the same problem as Stanly , several "answer form(s) is/are pending evaluation." and nothing... any solution? Run numerous times the cron and still nothing...
• Tue, Mar 19, 2019, 12:12 AM
@Ricardo, sadly this is not possible. I mean you can change it by changing line 202 in the settingslib.php. Be aware though: the won't be enough space on the sheet and offlinequiz might not evaluate the answer sheets right if you do so. that's why 9 is the maximum at the moment.

@Joao Have you set up the cron successfully? If not please follow the instructions at https://docs.moodle.org/36/en/Cron If that still doesn't help feel free to create an issue in our official github repository at https://github.com/academic-moodle-cooperation/moodle-mod_offlinequiz
• Fri, May 17, 2019, 10:38 PM

The current version available for 3.6 (2019012901) is referencing files that do not exist within its dir structure

#require_once($CFG->dirroot . '/mod/offlinequiz/report/rimport/scanner2.php'); #require_once($CFG->dirroot . '/mod/offlinequiz/report/rimport/positionslib.php');

Introducing this file as is will break the scheduled task page, amongst other things.

Regards
-Eseosa
• Sat, May 18, 2019, 9:44 PM
We just published bug fix version 3.6.2 of the Offline Quiz for Moodle 3.6 (see CHANGELOG.txt).
• Mon, Jun 24, 2019, 9:55 AM
Hello, I'm running OFFLINE QUIZ 3.6.2 with MOODLE 3.6.2 in an UBUNTU 18.04.2 box. Since I use only once in a while I used to manuaaly run offline/cron.php and everything was fine. Now I get "pending for evaluation" message forever (a zip of PNG files, but I tryed only one PNG, PDF and TIFF). Can anyone help?
• Thu, Jul 18, 2019, 3:21 PM
Hello, After the upgrade of our Moodle server, we are trying to upgrade from an older version of OFFLINE QUIZ to the latest version 3.6.2 on a MOODLE 3.7.1 server. We are using PHP 7.3. There is an error during the upgrapde : Exception : Argument 3 passed to mysqli_native_moodle_database::delete_records_select() must be of the type array or null, string given, called in [dirroot]/mod/offlinequiz/db/upgrade.php on line 1440. Can anyone help ?
• Thu, Jul 18, 2019, 4:16 PM
hi Christophe,
Yes there is a bug in 3.6.2. You can fix this by changing line 1440 to " $DB->delete_records_select('offlinequiz_choices', 'id ' .$querysql, \$queryparams);"