Overview:
This guide will show you how to import questions through a GIFT format importing file.
What to know:
GIFT format enables multiple choice, true/false, short answer, matching, missing word, numerical and essay questions to be imported or exported via text file.
It is recommended to write one or two questions in the GIFT format and import them into the Learning Mall Core (LM Core) to check if they can be displayed properly before you write a large number of questions in this format. In this way, you can ensure that the questions that you write will work well when they are imported into the LM Core. Alternatively, you can write a question in the LM Core, export it into the GIFT format, and follow the format of the exported file to write your remaining questions.
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).
After you finish writing the questions, save the file by following the steps below:
Please see the article Import quesitons from word file to upload the file and import the questions.
For the first step of importing a file, choose the file format 'GIFT format', and then follow the article to finish the rest of the steps.
Then, follow the format that each question type uses and write the questions.
An example of multiple choice question with multiple right answers
Answers in Short Answer questions are typed by students. So it sometimes needs to allow several answers as the correct answer.
Hints: The answers must not contain a tilde '~'.
An example of the short answer question
Matching questions allow students to drag and drop the answers to match the question options.
Hints: The answers must not contain a tilde '~'.
An example of the matching question
The Missing Word format automatically inserts a fill-in-the-blank line (like this _____) in the middle of the sentence. To use the Missing Word format, place the answers where you want the line to appear in the sentence.
If the answers come before the closing punctuation mark, a fill-in-the-blank line will be inserted for the "missing word" format. All question types can be written in the Missing Word format.
There must be a blank line (double carriage return) separating questions. For clarity, the answers can be written on separate lines and even indented. Some examples:
An example of the missing word question
The answer section for Numerical questions must start with a number sign (#). Numerical answers can include an error margin, which is written following the correct answer, separated by a colon. For example, if the correct answer is anything between 1.5 and 2.5, then it would be written as follows {#2:0.5}. This indicates that 2 with an error margin of 0.5 is correct (i.e., the span from 1.5 to 2.5). If no error margin is specified, it will be assumed to be zero.
Here is a simple numerical format question. It will accept a range of 5 years.
It is a good idea to check the margins of the range, 3.141 is not counted as correct and 3.142 is considered in the range.
Optionally, numerical answers can be written as a span in the following format {#MinimumValue..MaximumValue}.
Moodle's browser interface does not support multiple numerical answers, but Moodle's code can and so does GIFT. This can be used to specify numerical multiple spans and can be particularly useful when combined with percentage weight grades. If multiple answers are used, they must be separated by an equal sign, like short answer questions.
Essay questions allow students to write an essay in the text box.
An example of the Essay question
Tips:
Please view the guide for further information, such as adding inline comments, feedback, etc.
Article Number: 25
Author: Thu, Aug 13, 2020
Last Updated: Tue, Nov 7, 2023
Author: Yezi Yang
Online URL: https://knowledgebase.xjtlu.edu.cn/article/importing-questions-through-gift-format-25.html