Skip to content
Tutorial

How to Create a Quiz in Moodle, Step by Step

Published · Updated 7 minSimpleQuizMaker Editorial Team
A box of question cards, a graduation cap, a blank laptop and a pencil

At a glance

Moodle splits question writing from quiz assembly

  1. 1

    Question Bank

    Questions live in categories, so one bank can feed many quizzes.

  2. 2

    Random questions

    Pull a random subset from a category each time a student opens the quiz.

  3. 3

    GIFT import

    Bulk-import plain-text questions instead of typing each one in the UI.

  4. 4

    Draft outside Moodle

    Generate questions from your material first, then import them.

Takeaway: Drafting outside Moodle turns a 45-minute authoring session into a short copy job.
Share:XLinkedIn

TL;DR. Moodle separates question authoring (the Question Bank) from quiz assembly (the Quiz activity), which makes it more flexible than most LMS quiz tools but also more steps to get a quiz live. Draft your questions outside Moodle first, then import or type them into the Question Bank.

Step 1 — Add a Quiz activity

  1. Turn editing on in your Moodle course.
  2. Click Add an activity or resource.
  3. Select Quiz.
  4. Name it, set a description, and configure timing (open/close dates, time limit).
  5. Save and return to course.

Step 2 — Build questions in the Question Bank

Moodle stores questions separately from the quiz itself, organized into categories you control. This means one question bank can feed multiple quizzes.

  1. From the quiz, click Questions → Question bank.
  2. Click Create a new question.
  3. Choose a type: Multiple Choice, True/False, Short Answer, Matching, Numerical, Essay, Cloze (embedded answers), and more.
  4. Write the question text, answer options, correct answer(s), and feedback per option.
  5. Save to the category.

Moodle's Cloze format lets you embed multiple question types inline in a single passage — useful for fill-in-the-blank sets, but it uses its own syntax and has a learning curve.

Step 3 — Add questions to the quiz

  1. Back in the quiz, click Add → from question bank.
  2. Select the questions to include, or use add a random question to pull a random subset from a category each time a student opens the quiz.
  3. Set point values per question.

Step 4 — Configure grading and attempts

Under quiz settings, set the grading method (highest, average, first, or last attempt), number of allowed attempts, and whether to shuffle question and answer order. Moodle auto-grades objective question types instantly; Essay and some short-answer variants need manual grading.

Step 5 — Preview and publish

Use the Preview tab to take the quiz as a student would before releasing it. Once satisfied, make sure the quiz is visible to students (not hidden) and confirm the open date.

The faster path: draft questions before you touch Moodle

The Question Bank is powerful but slow for writing questions from scratch — there's no way to paste a lecture or textbook chapter and get questions out. Paste your source material into SimpleQuizMaker's AI quiz generator instead, review the generated multiple-choice and short-answer items, then re-type or import them into Moodle's Question Bank. It turns a 45-minute authoring session into a 5-minute copy job.

GIFT format: importing questions in bulk

Moodle supports bulk question import via the GIFT format (a plain-text syntax) under Question bank → Import. If you're generating many questions elsewhere, formatting them as GIFT text and importing in one pass is faster than typing each one through the UI individually.

Which import format to use

Moodle's question bank accepts several import formats. Three cover almost every case:

FormatQuestion types it carriesBest for
AikenMultiple choice with one correct answer, nothing elseGetting a batch of multiple-choice questions in quickly
GIFTMultiple choice, true/false, short answer, matching, missing word, numerical, essayMixed question sets, and questions that need feedback text
Moodle XMLEvery Moodle question type, plus categories and embedded imagesMoving questions between Moodle courses or sites

Aiken is the one to learn first, because the whole format fits in four rules:

  1. The question goes on a single line.
  2. Each option goes on its own line, starting with a capital letter, then a full stop or a closing bracket, then a space.
  3. The last line reads ANSWER: followed by the letter of the correct option, in capitals.
  4. Leave a blank line between questions.

Save the file as plain text, not as a Word document, then choose Aiken on the question bank's import page and pick the category the questions should land in. Imported questions arrive with no feedback text, so add any feedback inside Moodle afterwards.

Moving a SimpleQuizMaker draft into Moodle

SimpleQuizMaker has no Moodle integration and does not export GIFT or Moodle XML, so the transfer is manual. In practice it goes like this:

  1. Generate the quiz and fix the wording there first. Editing a question is quicker before it is in the question bank than after.
  2. Copy the multiple-choice questions into a plain text file and arrange them in the Aiken layout above. On a paid plan the DOCX export gives you an editable document to copy from.
  3. Import the file into a category named after the unit.
  4. Type true/false and short-answer questions straight into Moodle. Each one has only a few fields, so importing saves little.
  5. Rebuild fill-in-the-blank items as Moodle short-answer questions, or as Cloze if one passage has several gaps.

If you are unsure which Moodle type suits a question, quiz question types explained covers what each format is good at.

Settings that change how the quiz feels to students

  • Question behaviour. Deferred feedback means students submit the whole quiz before they see any result, which suits a graded test. Immediate feedback lets them check each question once as they go. Interactive with multiple tries lets them retry after a wrong answer, normally for fewer marks, which suits practice quizzes.
  • Review options. These control what students can see (their attempt, whether each answer was correct, marks, the right answer, feedback) at four moments, from during the attempt to after the quiz closes. For a graded quiz that stays open for several days, hide the right answer until after the quiz closes.

Common mistakes

  • Changing the question list after students have started. Once a quiz has attempts, Moodle stops you adding or removing questions. Preview the whole quiz before it opens.
  • Random questions from a mixed category. If one category holds both easy and hard questions, students get quizzes of unequal difficulty. Split categories by topic and by difficulty, then draw a set number from each. More on this in how to randomize quiz questions.
  • Short-answer questions with one accepted spelling. Moodle marks only the answers you list. Add the common variants, or use an asterisk as a wildcard for the part that can vary.

Frequently Asked Questions

Can Moodle generate quiz questions automatically from my notes?

No — Moodle's Question Bank requires manual entry or a bulk import file (GIFT, Aiken, or XML format). Use an AI quiz generator to draft the content first.

What's the difference between the Question Bank and the Quiz activity?

The Question Bank stores reusable questions organized by category. The Quiz activity is the actual assessment students take — it pulls questions from the bank, either fixed or randomized.

Does Moodle support randomized quizzes per student?

Yes — use "add a random question" from a category so each student gets a different subset, reducing the value of shared answers.

Can I import questions in bulk into Moodle?

Yes, via GIFT, Aiken, Moodle XML, or other supported formats under Question bank → Import.

Can I export a quiz from SimpleQuizMaker straight into Moodle?

No. SimpleQuizMaker does not produce GIFT or Moodle XML files and has no Moodle integration. Copy the questions into an Aiken text file for multiple choice, and type the other question types into the question bank.

Why did my Aiken import fail?

The usual causes are a question that runs over two lines, option letters or the word ANSWER in lower case, a missing space after the option letter, or a file saved as a Word document instead of plain text.

Try SimpleQuizMaker free and build your Moodle quiz in minutes.

Get weekly study & quiz tips

Join teachers and students who get practical tips on quizzing, active recall, and AI-powered learning.

Share:XLinkedIn

Questions or a quiz of your own on this? Discuss this on r/SimpleQuizMaker

SimpleQuizMaker Editorial Team

Editorial team

How we create and review guides →

Try it

Free quiz maker →

Make a quiz from a topic, your notes or a PDF and share it with a link.

Try it on your own material

SimpleQuizMaker turns what you are already teaching or studying into practice questions. The free plan includes 5 quiz generations a month and needs no card.

Sign up free — no card required