Free Starter Question Packs
Import tested, ready-to-grade programming questions into your Moodle Question Bank in 30 seconds. Every pack includes model solutions, visible and hidden test cases, and showcases native CodeLab features.
Python Fundamentals
Input/output, conditionals, loops, lists, functions, floating-point tolerance, regex matching, a Parsons problem, and static code constraints (forbidding max/sort).
C Pointers, Arrays & Unit Tests
Classic C tasks plus function-only questions graded with CodeLab's built-in TEST / ASSERT_EQ unit tests and pointer/array exercises ready for Safe mode (ASan/UBSan).
SQL & Databases
SELECT, WHERE, GROUP BY, HAVING, JOIN and subqueries with hidden table setups, unordered row comparison, and instant Tables schema preview.
Java & C# OOP Basics
Beginner statement tasks using hidden prefix/suffix wrappers alongside full class and method exercises — all compatible with the Java & C# Step debugger.
How to import into Moodle
Download a pack
Pick any XML file above (licensed CC BY-SA 4.0 for free classroom use and adaptation).
Import in Moodle
Open your course Question bank → Import → Moodle XML format and upload the downloaded file.
Verify & teach
Run More → Check CodeLab solutions to verify every model solution on your server, then add the questions to any quiz.
Already have a CodeRunner question bank? Use our CodeRunner XML converter or the built-in importer in qtype_codelab.