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.
Learn more about how to create tests in your platform.
Importing Tests as GIFT Files
Once you've created the test in your platform and you're on the test's Edit page, select the Import as GIFT button in the action bar on the top of the page. When you're 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.
Please note that the platform upload procedure can manage up to 1000 questions per GIFT file. If you need to upload more than 1000 questions, we suggest you split them into more than one file for a smooth upload.
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 for the GIFT File
In order for your questions to appear properly in 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 answers 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 answeras 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. The following section will show you how.
If the test includes more than one correct answer, according to the GIFT standard, all of the correct answers must be identified by the ~ symbol and must be associated with a score.