pygiftgenerator: a python module designed to prepare Moodle-based quizzes
Abstract
We present pygiftgenerator, a python module for systematically preparing a large number of numerical and multiple-choice questions for Moodle-based quizzes oriented to students' formative evaluation. The use of the module is illustrated by means of examples provided with the code and drawn from different topics, such as mechanics, electromagnetism, thermodynamics and modern physics. The fact that pygiftgenerator relies on a well-established computer language, which allows functions to be combined and reused in order to solve complex problems, makes it a very robust tool. Simply by changing the input parameters, a large question bank with solutions to complex physical problems, can be generated. Thus, it is a powerful alternative to the calculated and multiple-choice questions which can be written directly in the Moodle platform. The module writes questions to be imported into Moodle and produces simple and human-readable ASCII output using the GIFT format, which enables html definitions for URLs for importing figures, or for simple text formatting (sub/superindices or Greek letters) for equations and units. This format also allows LaTeX and MathJax typing for complex equations.
- Publication:
-
European Journal of Physics
- Pub Date:
- January 2021
- DOI:
- 10.1088/1361-6404/abb114
- arXiv:
- arXiv:2005.00910
- Bibcode:
- 2021EJPh...42a5702S
- Keywords:
-
- STEM;
- physics;
- active learning;
- Moodle;
- formative evaluation;
- Physics - Physics Education
- E-Print:
- 15 pages, 5 figures