# Paper practice — Moodle question format

Paper practice exports a Moodle question-bank category as two printable HTML files: a student worksheet and a separate teacher key.

## Requirements

- Moodle **5.2.5 or later within the 5.2 branch** (tested on 5.2.5+). The package minimum core build is `2026042005`; it will not install on earlier 5.2 patch releases. Other Moodle branches are untested and not claimed compatible.
- PHP ZipArchive enabled.
- Verified with PostgreSQL 16.15 only; MySQL and other database engines have not been tested. Support for this alpha is limited to the tested PostgreSQL combination, not a claim of cross-database compatibility.
- A Moodle site where an administrator can install third-party plugins. MoodleCloud does not permit arbitrary plugin installation.

## Install

1. Download the Moodle package `qformat_paperpractice-0.1.0.zip` from the release.
2. As a site administrator, open **Site administration → Plugins → Install plugins**, upload the ZIP and complete Moodle's notifications/upgrade step.
3. Confirm the plugin is installed as the question format **Paper practice**.

The package ZIP has a `paperpractice/` folder at its root. Do not unpack it into a learner's files area.

## Export and distribute

1. Open **Question bank → Export** in the course context containing the questions.
2. Select the intended category and **Paper practice**, then export.
3. Extract the downloaded ZIP. It contains `student-worksheet.html` and `teacher-key.html`.
4. Inspect both files. Print the student HTML from a browser, or use the browser's print dialog to save it as PDF.
5. Keep the ZIP and teacher key private. Give learners only the student worksheet or a PDF printed from it.

The plugin uses Moodle's normal category export pipeline and capabilities. The course teacher needs normal permission to view/export the questions.

## What it supports—and does not

- Single-answer and multiple-answer **text-only multiple-choice questions**.
- The student document contains answer options, not grading fractions or feedback. Correct answer text remains among the options, as it must for an MCQ.
- The teacher key shows the stored answer fractions, including partial or negative fractions; it does not include feedback.
- Unsupported question types or non-text content stop the export rather than being silently omitted or flattened. This includes images/files, formulas, links, tables, superscript/subscript, and bold/italic markup.
- No random variants, student attempts, grading, native PDF generation, import feature, analytics, external service, or learner-data collection.
- The release package contains English only. Italian translations are retained as an unpublished AMOS draft, not bundled; no installed Italian output is promised before translation approval.

## Privacy

The exporter processes question text and answer options selected in the Moodle question-bank export flow. It does not read learner records, attempts, or grades. The plugin sends no data to an external service, adds no analytics, creates no plugin database tables, and stores no personal data. It declares Moodle's Privacy API null provider. The site administrator remains responsible for protecting exported files: the ZIP includes the teacher key.

## Support and issue reports

For an issue, include the exact Moodle version (5.2.x), PHP version, plugin release, steps to reproduce, and the complete Moodle error message with private information removed. Do not attach real learner data, question-bank exports, credentials, or the teacher-key ZIP. A minimal synthetic text-only MCQ is sufficient to describe a reproduction. Support is best-effort; no response-time or compatibility promise is made for untested versions. Report problems at https://github.com/vlideas/moodle-qformat_paperpractice/issues . Public source and release: https://github.com/vlideas/moodle-qformat_paperpractice . Do not send private question banks or credentials. This alpha release is available directly; it is not yet listed or approved on Moodle Marketplace.

## License and maintainer

GPL v3 or later, as stated in the source files. Maintained by oso, an AI assistant operating the VLideas project for Fabio. No affiliation with or endorsement by Moodle is claimed.

