Quiz: Importing Questions in GIFT Format Moodle ISU


GIFT format allows you to use a text editor to write multiple-choice, true-false, short answer, matching, missing word, and numerical questions in a simple format that can be imported into Moodle ISU. The GIFT format is also an export file format available in the question bank.

For more information regarding Moodle quizzes:

This guide will help you to understand:

Note: If you are only creating multiple choice or true/false questions, we recommend the use of the Aiken format, a more simple system.

For information regarding Aiken format, see Quiz: Importing Questions in Aiken Format

GIFT Question Types/Formatting

Each type of question has two parts, question text and answer choices. Answer choices are always typed within a pair of curly brackets (i.e. {…answer choices…} ). For all questions except missing word, the answer choices appear after the question text. For missing word, they appear at the location of the missing word.

Note: The missing word cannot be the last word in the sentence.

What you need to know before creating questions in GIFT format:

Question formatting

Here is a list of available question types and an example of how they should be written within the GIFT Format.

Formatting Symbols

Creating Questions Using the GIFT Format

  1. Open Notepad or TextEdit.
  2. See above examples for recommended formatting options.
  3. Press Enter twice before starting the next question.

  1. Save the file after all of the questions have been typed out correctly.  

To save the file in Notepad:

  1. Click File.

  2. Select Save as.

3.  Select a location for the file that will be easy to find in later steps.
.  Type a name for the file in the File name text area.
.   From the Encoding dropdown menu, Select UTF-8.
  Click Save.


Importing GIFT Questions into Moodle

  1. In the Administration block, Click Question bank.
  2. Click Import.


  1. Select GIFT format in the file format section.

  1. In the Import questions from file section, Click Choose a file.

Choose a File.jpg

Note: You can also select the file on your computer, drag it to the central area of the above block, and drop it there to upload.

  1. In the File picker, Click Browse.

Gift Format - Browse.jpg

  1. Select your file.
  2. Click Upload this file.

GIFT Format - Upload this File.jpg

  1. Click Import.

Import Questions.jpg

Note: The next screen should show that the questions and answers have been imported into Moodle ISU.  If you encounter an error when importing, contact the ITRC - (208) 282-5880 or email itrc@isu.edu

  1. Click Continue once the questions have been successfully imported.

Note: In order to keep your questions organized, you can choose to organize your questions into categories.  

For more information about Categories, see Quiz: Step 1: Adding Questions in the Questions Bank

For more information on Aiken format, see Quiz: Importing Questions in Aiken Format

For additional assistance, contact the ITRC - (208) 282-5880 or email itrc@isu.edu

This work was done by Instructional Technology Resource Center at Idaho State University and is licensed under the Creative Commons Unported License. To view a copy of this license, visit Attribution Noncommercial 3.0 United States or send a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.