Introduction
If you already have a test in a GIFT file format, you can directly import the file into your platform without having to manually create questions and answers. You can also export your tests as GIFT files. This article will show you the import and export processes. Find out more information about GIFT files (opens in a new tab).
Learn more about creating tests in your platform.
Requirements and limitations
- You cannot assign categories to questions in tests imported using the GIFT format, as this format does not support categories.
Importing tests as GIFT files
Once you have created the test in your platform and you are on the test's Edit page, select the Import as GIFT button in the action bar on the top of the page. When you are redirected to the Upload page, select the Choose file button, then set the file charset as necessary using the text box below. The default charset is UTF-8. When you're finished, press Save changes.
The platform upload procedure can manage up to 1,000 questions per GIFT file. If you need to upload more than 1,000 questions, we suggest you split them into more than one file for a smooth upload.
Please note: You cannot import break pages elements.
Exporting tests as GIFT files
To export your test as a GIFT file, press the Export as GIFT button in the action bar at the top of your test's Edit page. The file should automatically begin downloading.
Please note that you cannot export the following elements in GIFT format:
- the Fill in the blank question types
- the Upload files question types
- the Break pages
- the scores of the Association question types
- the scores of the Extended text question types
Checking the syntax of the GIFT file
For your questions to appear properly on your platform, you should confirm that the syntax is correct:
- The first row beginning with // is a comment
- The next row should be the question type
- The row below should be the question itself
- All of the available answer choices are listed inside a { } interval
- The = symbol represents a correct answer
- The ~ symbol represents an incorrect answer
- All answers end with the # symbol
Example:
// question: 1
:::: [choiche]
The last element of a WBS, the work package, is:
{
=%100%A finished product#
〜%0%A sub-goal#
}
// question: 2
:::: [choiche_multiple]
There are 2 correct answers here {
~%-50%Wrong one
~%50%Correct one
~%50%Correct two
~%-50%Wrong two }
If you need to check the syntax after you've imported the test, you can export the test to view the GIFT file from the platform.
Please note! If the test includes more than one correct answer, according to the GIFT standard (opens in a new tab), all of the answers must be identified by the ~ symbol and must be associated with a score.