Home › Quizzes › Platforms & LMS › Moodle Random Questions Setup Guide

Pull random questions from your Moodle question bank

Generate multiple-choice, true/false and short-answer questions from your PDFs, slides or notes, then export Moodle XML to draw random sets for each quiz attempt.

Create quizzes nowFree · No credit card required

Free · First set needs no signup · Creates quizzes in seconds

How random questions work in a Moodle quiz

Moodle can build each quiz attempt from random questions from a question bank, but the draw only works well when the bank is large enough that students see different sets. The quiz pulls a set number of items from one category each time an attempt starts.

  • Keep one topic per question bank category so random draws stay balanced.
  • Set the number of random questions below the number the category holds.
  • Tick the option to include subcategories only when you want those questions in the pool.
  • Run a test attempt as a student to confirm the draw looks right.
Example Moodle random question bank practice items
In Moodle, how do you add a random question from a category to a quiz?Use Add, then a random question, on the quiz edit page and choose the category to draw from. This pulls questions from that category each time an attempt starts.
Why might a random Moodle quiz give a student fewer questions than you set?The category holds fewer questions than the number requested, so Moodle can only draw what exists. Add questions to the category to match the draw count.
Does a random question draw happen once per quiz or once per attempt?Once per attempt, so each student and each retry can receive a different set. This is why bank size matters for fairness.
What should you check before including subcategories in a random draw?Whether the subcategory option is ticked, since it changes which questions enter the pool. Check it so you do not draw from topics you did not intend.
Why keep one topic per question bank category?A mixed category makes random draws uneven across topics. Separate categories let you control how many questions come from each topic.
Generate the full set

Questions from your own material

Upload PDFs, DOCX, PPTX, plain notes or photos of pages and get questions with explanations.

Moodle XML export

On the Pro plan, export your questions as Moodle XML and import them into a question bank category.

Start free

The Free plan includes 3 generations per month and browser study, with no credit card needed to start.

How it works

Upload your notes or slides

Add the files for one topic and generate a set of multiple-choice, true/false or short-answer questions.

Export and import the bank

Export Moodle XML on Pro and import it into one question bank category for that topic.

Add a random question to the quiz

In the Moodle quiz, add a random question from that category and set how many to draw.

Setting this up takes two parts: a populated category in the question bank, and a random question entry in the quiz itself. DeckOwl covers the first part by turning your PDFs, DOCX or PPTX files, notes, or photos of pages into questions with explanations.

Moodle XML export is on the Pro plan at $14.99 per month, and the file imports straight into a category so each random draw pulls from that topic. Free accounts get 3 generations per month and study in the browser.

Explore related topics

Frequently asked questions

How many questions should a Moodle question bank hold before random selection?

Aim for at least two or three times as many questions as each quiz draws, so attempts differ without repeating too often. A bank built from a single chapter often needs more items for variety.

How do I organize a question bank for a Moodle quiz?

Group questions into a category by topic or chapter so each random draw pulls from one clear pool. Mixing unrelated topics in one category makes random quizzes harder to balance.

Does DeckOwl export to Moodle XML?

Yes, Moodle XML and QTI 2.1 export are included on the Pro plan at $14.99 per month. The Free plan covers browser study only, without exports.

Is there a free plan?

Yes, the Free plan includes 3 generations per month and studying in the browser, with no credit card needed to start. Exports require a paid plan.

Generate free quizzes

Keep exploring the topic

Review the main ideas visually or practice recalling them.