Tests for Moodle
This section covers generating test questions with AI for import into Moodle and other virtual classroom platforms.
Formats importable to Moodle
Aiken format
- ✅ Simple and interpretable
- ❌ Limited to multiple choice questions
- ❌ No penalty for wrong answer
Example:
What is the capital of France?
A. London
B. Paris
C. Berlin
D. Madrid
ANSWER: B
GIFT format
- ✅ More versatile
- ✅ Allows different scores per answer
- ✅ Supports various question types
- ⚠️ More complex syntax
Example:
::Capital of France::What is the capital of France?{
=Paris
~London
~Berlin
~Madrid
}
Generation with AI
Base prompt to generate tests
Generate 10 multiple choice questions in [GIFT/Aiken] format about the following topic: [TOPIC].
Requirements:
- 4 options per question
- Only one correct answer
- Variety of difficulty (easy, medium, hard)
- Incorrect options must be plausible
Custom GPT for tests
chatGPT | GPT's
Utility
This prompt has been used to create a public custom GPT that generates test questions.
How to create a test wizard
Custom wizards allow complex prompts to be reused:
In ChatGPT (GPTs):
- Go to ChatGPT GPTs
- Create a new GPT
- In "Instructions", define the prompt to generate tests
- Save and share the link
In Gemini (Gems):
- Access Gemini Gems
- Create a new Gem
- Define similar instructions
- Available for users with Gemini Advanced
Careful with the prompt
In the wizard instructions, DO NOT write "Create a test question generator...". Directly type the prompt that you want to be added to each conversation, such as: "You are an expert in educational evaluation. When the user provides you with a topic, generate test questions in GIFT format..."
Import to Moodle
- Prepare the file with the questions in Aiken or GIFT format
- Go to your course's question bank
- Select "Import"
- Choose the format (Aiken or GIFT)
- Upload the file
- Check that the questions have been imported correctly
Good practices
- Always check: AI can generate questions with errors or ambiguities
- Difficulty varies: Explicitly ask for easy, medium and difficult questions
- Plausible distractors: Incorrect options must be credible
- Avoid denials: Questions with "NO" or "EXCEPT" confuse more than they evaluate
- Test before use: Import and review in Moodle before using in a real exam