How to Import Quiz Questions in Moodle

How to Import Quiz Questions in Moodle

» Technology » Tools » Moodle Tools » How to Import Quiz Questions in Moodle

If your subject matter expert has a quiz already written for the course in a Word document, you can modify it into a format that you can upload to Moodle. Though it is possible to import a variety of question formats, the easiest questions to import are multiple choice questions, which you can do using Aiken format

To import multiple choice questions, format each question in a Word document like this:

What color is the sky?
A. Red
B. Green
C. Orange
D. Blue

The ocean is blue.
A. True
B. False

You can have as many choices as you want, but you need to have capital letters for each choice (A, B, C, etc.). Following the last choice, type ANSWER in all capital letters, followed by a colon, followed by the letter of the correct answer. You can include as many questions in the document as you want.

TIP: The one drawback to the Aiken format is that it does not accept quotation marks or apostrophes in any of the questions that you import. As an alternative solution, if you have a question that contains a single or double quote, you can replace it with a different character in the import file and then change it back to a quotation mark after you have imported the question into Moodle. Here are a couple of examples:

The snow*s color is:
A. White
B. Red
C. Blue
D. Green
E. Purple

Marie asked, **What color is the grass?** How would you answer her?
A. Orange
B. Green
C. Purple
D. Black

After you have formatted all of the questions in your file and deleted or replaced all quotation marks, you are ready to save the file as a text file. If you started with a Word document, select “Save As” and change the file format to Plain Text (.txt). 

Then open Moodle, turn editing on, and click on the “Administration” tab. Click on the arrow icon to the left of “Question Bank” to expand the question bank options, and choose “Import.”

Select “Aiken format,” upload your .txt file, and click “Import.” The next page will tell you how many questions were imported. If there were no quotation marks or other errors in your text file, the number of questions imported should be the same as the total number of questions in your file. If not, you will be able to see which questions were imported and which were not. When you are finished, click “Continue.”

The next page is the question bank where you will be able to edit the questions you just imported. If you had any questions with quotation marks, you will now be able to put them back into your questions. Click on the “Edit” icon next to each question that included a quotation mark and change whatever character you substituted for it back into a quotation mark.

TIP: You will notice in the question bank that the default name of each question is the text of the question. You will also notice that the questions are alphabetized by the question name. If you want to keep your questions in the same order as they were in the original quiz, you can number the questions in your text document. They will then be numbered in the Moodle question bank and will alphabetize accordingly. It can be helpful to have the number as part of the question name, but you will likely want to delete the number at the beginning of the question text so that your quiz questions are not numbered twice (once in the question text and once by Moodle as part of the quiz).

If you have questions to import that are not multiple choice or true/false, you can use an alternate format called GIFT format.

Video Recording Tools
How to Set Up Moodle Q&A Forums