PySourceCloze: Source Files Decorator and Source Codes Clozes Generator for Moodle Quizzes
Description
PySourceCloze helps you generate cloze questions in an easy, fast, and efficient way from source files for programming quizzes and exams on Moodle learning management system. Moodle clozes customized by PySourceCloze are easy to fill and easy to read for source code filling. To do so, PySourceCloze uses a simple source code decoration syntax that helps you decorate your source code manually or automatically from your custom lexicons and get the HTML code or XML file needed by Moodle.
Source cloze quiz preview: pysourcecloze_preview.png
PySourceCloze overview: pysourcecloze_overview.png
Optimize correction time; offer more training sessions to your students beyond multiple choice questions!
Prerequisites
-
Python ≥ 3.7 is required (downloads):
- PySourceCloze has been tested on Python versions 3.7, 3.8, 3.9, and 3.10.
-
Editing access to Moodle 3 or Moodle 4:
- PySourceCloze has been tested on Moodle versions 3.1 LTS, 3.5 LTS, 3.6, 3.9 LTS, and 4.0 beta.
-
Firefox or Safe Exam Browser:
- PySourceCloze has been tested on Firefox 78 and 98.
Installation
If you move or link 'pysoclz.py', set the environment variable PYSOCLZ_INSTALL_DIR to the installation directory.
Quick Start
Seven steps are detailed on the Quick Start Guide (doc/quick_start_guide.md) to create your first source cloze quiz.
Help
Print general help page: python3 pysoclz.py -h
Print a command's help page: python3 pysoclz.py <command> -h
License
Source code is released under the GPL v3.0 license.
Documentation is released under the CC BY-SA 4.0 license.
Versions History
- 1.0.0 (2022-04-01)
- Initial release
- Commands: enclose, fill, clean, sum, generate, init, updates
- Instructions' languages: EN, FR
- Samples: C, PHP-HTML, SQL
- Initial release
Files
pysourcecloze-1.0.0.zip
Files
(615.1 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:0ffd5537a76995eca391d22164adf8d9
|
297.0 kB | Download |
|
md5:3b2e75f2e98225a34a185bb68f53a21f
|
318.1 kB | Preview Download |
Additional details
Related works
- Is supplemented by
- https://github.com/gurivier/pysourcecloze (URL)