插件活动模块稳定版

Individual ZIP Download Activity

mod_zipdownloadTangat

  • Moodle 4.1–5.0
  • 更新 2025-07-31

This Moodle plugin generates personalized zip templates by automatically replacing @author and student ID placeholders in C code with individual student data. It also modifies makefiles automatically based on the selected operating system.
Key Features
Personalized Code Distribution: Automatically generates a ZIP file for each student by replacing placeholders in C source files and the Makefile with their own name, student ID, and selected platform (Lab, Windows, Mac).
Template-Based: Teachers upload a ZIP template containing .c , .h files and Makefile s (including subfolders). The plugin handles all replacements automatically.
Easy Platform Selection: Students choose their platform on first click (Lab, Win, or Mac). The plugin updates the PORT= line in each Makefile accordingly.
Smart Naming: Output ZIP files are named with student ID and platform for easy identification, e.g., Template-12345-Win.zip .
Makefile Auto-Adaptation
Supports common serial port definitions:
Lab: /dev/ttyUSB_MySmartUSB
Win: COM3
Mac: /dev/tty.SLAB_USBtoUART
Why This Stands Out
Effortless Automation: Eliminates manual editing — every student gets a fully personalized and platform-ready ZIP instantly.
Seamless Integration: Functions as a standard Moodle activity with intuitive setup.
Consistent Results: Reduces errors and confusion about setup or configuration in lab-based coding environments.
Example Use Cases
Programming, embedded systems, or robotics courses requiring individualized starter code.
Lab assignments needing personalized serial ports or author information.
Any C-based coursework with structured templates across multiple exercises.
Usage & Settings

返回插件目录