Quiz: Importing Questions in GIFT Format Moodle ISU


Introduction

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:

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 more information regarding Moodle quizzes, see:

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

To create questions using 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.
4
.  Type a name for the file in the File name text area.
5
.   Select UTF-8 from the Encoding dropdown menu.
6.
  Click Save.

Importing GIFT Questions into Moodle

  1. Select Question bank from the Administration block.
  2. Click Import.

import.png

  1. Select GIFT format in the file format section.

gift.png

  1. Click Choose a File… from the Import questions from file section.

choose.png

  1. Click Browse in the File picker pop-up screen.

Browse.jpg

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

upload 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. Click Import in the Import questions from file section.

Import.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 ITRC.

  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, visit Quiz: Step 1: Adding Questions in the Questions Bank.

For more information on GIFT format, see GIFT Format.


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.