How to Import Question to Quiz in Moodle v2

How to Import Question to Quiz in Moodle v2

Note:  You need Teacher or Manager access before you can perform this action.

Import Quiz Questions to Moodle Using the Aiken Format

The Aiken format lets you create multiple-choice or true-false questions using a simple, human readable format that you can save as a plain text file and import into a Moodle.

Write Questions in the Aiken Format

1. Write your questions in a word-processing application (e.g., MS Word) or a text editor such as Notepad (Windows) or Text Edit (Mac OS X), and format as follows: 
  1. The question must be all on one line.
  2. Each answer must start with a single uppercase letter, followed by a period "." or a right parenthesis ")", then a space.
  3. The answer line must immediately follow, starting with "ANSWER: " (with a space after the colon) and then giving the letter for the correct answer. Note: The word "ANSWER" and the answer letters (A,B,C etc.) must be capitalized as shown, otherwise the import will fail.

2. Use Save As to save your questions as a .txt (plain text) file in UTF-8 format.

Example:



Import Questions into the Moodle Question Bank

Once you have saved your text file, you can import your questions into the Moodle Question Bank:

Step 1: Log into Moodle and open the course where you would like to add questions.

Step 2: In the Course Administration menu bar, click More then Question Bank. 


Step 3: On the next page then click Import from the drop down. The Import questions from file page will open.

Step 4: For File format, select Aiken Format or if you exported from the questions and used Moodle XML, select that format as well.

(Note: To learn more about the other quiz formats, click the question button  below/beside a specific file format)


Step 5: Click the General heading to expand the settings and for Import category, select a Category (or use Default for course). 

Under Import questions from file, drag and drop your .txt file onto the blue arrow in the Import box, or alternately, click Choose a file.... to browse for the .txt file on your computer. 

Step 6: Click Import. You will see a page with the message "importing (# of) question(s) from file," with a list of the questions.



Step 7: Click Continue. Your Question Bank will open. You can now further edit the questions or include the questions in a quiz.

    • Related Articles

    • Types of Quiz Activities

      Note: You need Teacher or Manager access before you can perform this action. There are a number of available question types that can be employed. Currently, there are 16 types of quizzes that may be used to test and gauge the student's knowledge on ...
    • How to Setup a Quiz Activity v2

      Note: You need Teacher or Manager access before you can perform this action. To create a quiz activity within a course page follow the steps below: Step 1: To start making changes on your course page, toggle the Edit Mode on. Step 2: Once the edit ...
    • How to Add Group Overrides for Quiz v2

      Note: You need Teacher or Manager access before you can perform this action. It’s easy to configure your Moodle quizzes to allow individuals or groups to access them at different times or for different amounts of time. This can be useful in several ...
    • How to Add User Overrides for Quiz v2

      Note: You need Teacher or Manager access before you can perform this action. It’s easy to configure your Moodle quiz to allow individual to access them at different time or for different amount of time. This can be useful in several ways, such as: to ...
    • How to Edit Your Moodle Profile v2

      Every user has a personal profile page in Moodle. This page allows you to post your picture, add a personal statement, and other information you would like your peers, students, or classmates to see. Adding a profile picture 1. In the upper right ...