Note: You are currently viewing documentation for Moodle 3.0. Up-to-date documentation for the latest stable version of Moodle may be available here: Glossary export to quiz.

Glossary export to quiz

From MoodleDocs


For more information see Installing plugins.


A block to export a Glossary's entries to the Quiz Questions bank. Exports concepts & definitions to SHORTANSWER or MULTICHOICE questions.

Export entries from Glossary to moodle quiz XML file

  1. Go to your course's front page and go into Edit mode and click on the Configuration icon to configure the Export Glossary to Quiz block.
  2. Use the dropdown list to select the glossary that you want to use to export its entries to the quiz questions bank. If that glossary contains categories, you can select only one category to export its entries. To cancel your choice or to reset the block, simply leave the dropdown list on the Choose... position.
  3. Maximum number of entries to export. Leave empty to export all entries from selected Glossary or Category. This option can be useful for exporting a limited number of entries from very large glossaries.
  4. Glossary entries can be exported to the Quiz Questions bank either as multiple choice or short answer questions.
    1. Multiple choice questions will consist of the following elements:
      1. question text = glossary entry definition
      2. correct answer = glossary entry concept
      3. distracters = 3 glossary entry concepts randomly selected from the glossary (or glossary category) that you have selected.
      4. You have a choice of 4 types of numbering for the exported multiple choice questions:

        • a. b. c. (the default numbering type)
        • A. B. C. D.
        • 1. 2. 3.
        • no numbering

    2. Short answer questions
      1. Case insensitive. Student responses will be accepted as correct regardless of the original glossary entry concept case (uppercase or lowercase).

        Example: original entry "Moodle". Accepted correct responses: "Moodle", "moodle".

      2. Case sensitive. Student responses will be only be accepted as correct it the case of the original glossary entry concept is used.

        Example: original entry "Moodle". Accepted correct response: "Moodle".

  5. When done, click OK.
  6. You are back in the course homepage, but now the block displays the settings you have selected.
  7. Click on the [Export n entries] link.
  8. Now you are on page Your course -> Glossaries -> (e.g.) Demo -> Glossary -> Export entries to Quiz (XML)
  9. Click on the Export entries to file button.
  10. At the prompt, save file to your computer. Its name is e.g. Demo_Glossary.xml.
  11. Go back to the course's homepage. You see that the the Export Glossary to Quiz block has been reset.

Import to the quiz questions bank

  1. Turn editing on
  2. In Administration block, click Questions
  3. On the Edit questions page, Click the Import tab
  4. Set these settings:

    • File format : Moodle XML format
    • General
    • Category Default
    • Get category from file (check it)
    • Import from file upload...

  5. Go to the file you saved to your computer in step A 10 (Demo_Glossary.xml. and click Upload this file button.
  6. If all goes well, the imported questions should get displayed on the next screen.
  7. Click Continue.
  8. On the next page, the Question bank displays the new category name (formed on the name of the exported Glossary, plus the name of its category if you selected one of the glossary's categories) and of course all the questions that were imported (of the SHORTANSWER type).
  9. You can use the SHORTANSWER or the MULTICHOICE questions in a quiz.

You can use the SHORTANSWER questions to create one or more Random Short-Answer MATCHING questions.