Offline Quiz icon

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.
Price option: Free

Supports Moodle 2.6-5.1 See all versions
Latest release: 1 month ago
Installations: 2179
Downloads (last 90 days): 1018

Frankenstyle name: mod_offlinequiz
Activities

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

We just published bug fix version 4.5.3 of the Offline Quiz for Moodle 4.5, see the change log.
Ramon, please use GitHub for support questions (see the description):
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,
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.
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).
We just published bug fix version 4.5.1 of the Offline Quiz for Moodle 4.5, see the change log.
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..
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.
After upgrading to "4.5.0", I´ve got this message "offlinequiz_regrade missing from disk"
Any idea?
We just published version 4.5.0 of the Offline Quiz for Moodle 4.5. – have fun.
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.
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?
We just published version 4.4.0 of the Offline Quiz for Moodle 4.4. – have fun.
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.
Hello. When will version 4.4 be released? Thank you